From aichat
Extracts last task context from most recent parent session in lineage using sub-agents. Identifies task state, next steps, decisions, and related files without bloating context.
How this skill is triggered — by the user, by Claude, or both
Slash command
/aichat:recover-contextThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill to extract context from a parent session when a session lineage is
Use this skill to extract context from a parent session when a session lineage is present (shown in the first user message of this conversation).
Identify the most recent parent session from the lineage chain (the last file in the chronological list).
Use sub-agents to explore (to avoid bloating your own context):
session-searcher
subagent (subagent_type: session-searcher) to analyze the most recent sessionaichat:session-search skill insteadExtract the following from the most recent session:
Also check for associated documents:
Report back concisely:
If using the Task tool with session-searcher subagent:
Analyze the session file at [path from lineage] and extract:
1. The last task being worked on (look at the final 20-30 messages)
2. Current state of that task
3. Any referenced markdown files (issue specs, work logs, etc.)
4. Pending next steps or blockers
Return a concise summary.
npx claudepluginhub pchalasani/claude-code-tools --plugin aichatRestores context from a previous session so you can pick up where you left off, reading transcripts directly with no LLM calls or token cost.
Rebuilds context window from multiple sessions by dispatching subagents to analyze squirrel entries, files, logs, tasks, and merge conflicts. Use for resuming after breaks or parallel work.
Recalls project context via ctx CLI: loads context packet, reads TASKS.md/DECISIONS.md, lists recent sessions, presents structured readback of last session, active tasks, recent decisions, next steps. For memory questions or session starts.