pchalasani/claude-code-tools/recover-context

Claude Code and agent skill by pchalasani/claude-code-tools

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Extract full context of the last task from the most recent parent session

Install

npx vskill@latest install pchalasani/claude-code-tools/recover-context

SKILL.md

The same SKILL.md was published earlier as pchalasani/claude-code-tools/recover-context.

recover-context

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).

Instructions

  1. Identify the most recent parent session from the lineage chain (the last

file in the chronological list).

  1. Use sub-agents to explore (to avoid bloating your own context):
  • If you have the Task tool with subagent support, use the session-searcher

subagent (subagent_type: session-searcher) to analyze the most recent session

  • If sub-agents are NOT available, use the aichat:session-search skill instead
  1. Extract the following from the most recent session:
  • What was the last task being worked on?
  • What was the current state of that task (completed, in-progress, blocked)?
  • Any pending items or next steps mentioned?
  • Key decisions made or approaches chosen
  1. Also check for associated documents:
  • Issue specs or task descriptions referenced in the session
  • Any markdown files created during that session (check WORKLOG/, issues/, etc.)
  • Code files that were being modified
  1. Report back concisely:
  • State your understanding of the task context
  • List any files you found that are relevant
  • Ask the user how they'd like to proceed

Example Sub-agent Prompt

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.

Constraints

  • Do NOT read large session files directly into your own context
  • ALWAYS delegate to sub-agents or the session-search skill
  • Keep your summary concise - the user knows what they were working on
  • Focus on the LAST task, not the entire session history

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
2,031
Repository forks
134
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/pchalasani/claude-code-tools/recover-context/badge)](https://verified-skill.com/skills/pchalasani/claude-code-tools/recover-context)

Something wrong with this skill or its page? Tell us.