Recovers working context from the journal after /clear or at session start
View on GitHubchrismbryant/claude-journal-mcp
claude-journal
January 15, 2026
Select agents to install to:
npx add-skill https://github.com/chrismbryant/claude-journal-mcp/blob/main//skills/context-recovery/SKILL.md -a claude-code --skill context-recoveryInstallation paths:
.claude/skills/context-recovery/# Context Recovery Skill You have the ability to recover working context from the journal to restore continuity after context loss. ## When to Use This Skill Use this skill **automatically and proactively** when: 1. **After `/clear` command** - User cleared conversation history - Need to restore what they were working on - Should happen immediately without asking 2. **Session start questions** - "What was I working on?" - "Where did we leave off?" - "What did I do yesterday?" - "Catch me up" 3. **Context seems lost** - User references past work you don't have context for - Conversation appears to resume mid-task - User seems to expect you to remember something 4. **Beginning of new work** - User wants to continue previous project - Need to understand recent changes - Planning next steps based on past work ## How to Recover Context **Step 1: Fetch recent entries** ``` journal_list_recent( limit=10 # Adjust based on need ) ``` **Step 2: Analyze and summarize** - Identify the most recent project - Determine what was accomplished - Note any in-progress work - Highlight blockers or open questions **Step 3: Present concisely** Show the user: - What they were working on (project/feature) - What was completed recently - What might be next - Key context or decisions ## Presentation Format ``` **Recent Work Context** You were working on [project name], focusing on [main task]. Recent accomplishments: - [Most recent significant work] - [Previous work] - [Earlier work] Last activity: [What happened most recently] Ready to continue? [Natural follow-up question] ``` ## Examples **Example 1: After /clear** ``` [User runs /clear command] → journal_list_recent(limit=10) → "You were working on my-api, implementing OAuth2 authentication. Last thing was configuring JWT token expiration. Ready to continue with the auth flow?" ``` **Example 2: Session start** ``` User: "What was I doing yesterday?" → journal_time_query(t