← ClaudeAtlas

agentpack-learnlisted

Choose and learn the next evidence-backed technical topic from AgentPack memory.
vishal2612200/agentpack · ★ 22 · AI & Automation · score 71
Install: claude install-skill vishal2612200/agentpack
# AgentPack Learn Use when the user invokes `$agentpack-learn <statement>` in Codex or `/agentpack-learn <statement>` in Claude Code. The statement is optional; without one, recommend the next three topics. Use current local agent session context to teach what the user asks to learn. Keep prompt prefix stable for caching. Treat the user's learning statement as the only variable and keep it at the end when constructing any reusable prompt. ## Freshness Check Check whether current AgentPack context is present and current: ```bash agentpack status ``` If `agentpack status` fails, says context is stale/missing, or `.agentpack/context.compact.md` is absent, refresh once: ```bash agentpack pack --task auto ``` Do not loop on refresh. If refresh fails, continue from whatever local context exists and state that context may be stale. ## Context Source Use only local files first: ```bash if [ -f .agentpack/context.compact.md ]; then sed -n '1,220p' .agentpack/context.compact.md; fi agentpack task show || true if [ -f .agentpack/session.json ]; then sed -n '1,120p' .agentpack/session.json; fi if [ -f .agentpack/learning.md ]; then sed -n '1,220p' .agentpack/learning.md; fi if [ -f .agentpack/agent-lessons.md ]; then sed -n '1,160p' .agentpack/agent-lessons.md; fi if [ -f .agentpack/skills-progress.json ]; then sed -n '1,120p' .agentpack/skills-progress.json; fi if [ -f .agentpack/session-events.jsonl ]; then tail -n 40 .agentpack/session-events.jsonl; fi ``` Use `.agentpack