recover-context

Extract the most recent parent session context and summarize task state and next steps.

2.0k|126|Updated Jul 30, 2025
One-click install
npx skills add https://github.com/pchalasani/claude-code-tools --skill recover-context
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: recover-context
Source: https://github.com/pchalasani/claude-code-tools/tree/main/plugins/aichat/skills/recover-context
Command: npx skills add https://github.com/pchalasani/claude-code-tools --skill recover-context

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps AI quickly access the most relevant context by extracting the most recent parent session information from the session lineage, enabling more informed next steps.

Core Features & Use Cases

  • Context extraction: Identify and summarize the last task, its state (completed, in-progress, blocked), and any pending items.
  • Sub-agent orchestration: Use a sub-agent to analyze the most recent session when available, or fall back to alternate methods.
  • Concise reporting: Return a compact briefing of the context and next steps to inform the current task.

Quick Start

Invoke recover-context when a session lineage exists to retrieve the latest task context and related documents for the next actions.

Frequently Asked Questions about recover-context

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I recover context from a previous AI chat session?

Recovering context from a previous AI chat session involves extracting the most recent parent session data from the session lineage. This skill summarizes the last task, its current state, relevant documents, and next steps.

How does sub-agent session lineage analysis work for context extraction?

Sub-agent session lineage analysis works by deploying a sub-agent to examine the most recent parent session. It identifies the last task state and relevant documents, falling back to alternate methods when no sub-agent is available.

When do I need to extract parent session context for AI agents?

You need to extract parent session context when a session lineage exists and sub-agents are available. It enables quick access to relevant task history for informed next steps without manually reviewing past logs.

Can I use sub-agents to summarize in-progress task states from a session lineage?

Yes, you can use sub-agents to summarize in-progress task states from a session lineage. The skill extracts whether the last task is completed, in-progress, or blocked, along with any pending items.

What are the limitations of recovering context from parent sessions?

A limitation of recovering context is that it requires an existing session lineage to function. Additionally, sub-agent orchestration depends on sub-agent availability, requiring fallback methods when absent.