Skip to content
Productivity
Command

/recover-context

Strategically explore the most recent parent session from the session lineage (shown in the first user message) to extract the full context of the last task.

From plugin
claude-code-tools
2k4 skills2 agents4 commands
Install
> /plugin marketplace add pchalasani/claude-code-tools

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/recover-context

Context preview

What this command does when you run it.

Strategically explore the most recent parent session from the session lineage (shown in the first user message) to extract the full context of the last task.

Command definition

recover-context.md

Strategically explore the most recent parent session from the session lineage (shown in the first user message) to extract the full context of the last task.

Use the `session-searcher` sub-agent (if sub-agents are available) so that you do not bloat your own context. If sub-agents are not available, use the `aichat:session-search` skill instead.

You may also look at any associated markdown files that were created during that most recent session (e.g., issue specs, work logs, design docs).

After recovering the context, report back: 1. What was the last task being worked on? 2. What was its current state (completed, in-progress, blocked)? 3. Any relevant files or documents found 4. Ask how the user would like to proceed

Ships withclaude-code-tools

Practical productivity tools for Claude Code, Codex-CLI, and similar CLI coding agents.

Get the whole plugin