
Continue Claude Work
FreeSeamlessly recover and continue your Claude sessions.
Free · Opens the source repo
What Continue Claude Work does
Continue Claude Work is a specialized skill designed for developers and designers who use Claude Code for their projects. This skill allows users to recover actionable context from previous Claude sessions without the need to replay entire transcripts. Instead of using the claude --resume command, which can be inefficient for lengthy sessions, this skill selectively reconstructs only the relevant context needed to continue work effectively. It extracts the latest summaries, pending tasks, and known errors, providing a streamlined approach to resuming interrupted work.
The skill operates through a single extraction script that handles session discovery and context parsing in one go. Users can run the script to retrieve a structured Markdown briefing that includes essential session metadata, the last user requests, assistant responses, and any errors encountered. This briefing acts as a comprehensive guide to the previous session, enabling users to make informed decisions on how to proceed. The script also intelligently skips the current active session to avoid redundancy, ensuring that the context recovered is pertinent to the work at hand.
One of the key features of Continue Claude Work is its ability to classify the reason a session ended, whether it was a clean exit, an interruption, or an error cascade. This classification helps users determine the best strategy for continuing their work. Additionally, the skill can extract context from multi-agent workflows, making it particularly useful for complex projects involving multiple subagents. By providing a clear overview of what was accomplished and what remains to be done, this skill empowers users to resume their work with confidence and clarity.
Overall, Continue Claude Work is an essential tool for anyone looking to optimize their workflow with Claude Code, ensuring that they can efficiently recover from interruptions and maintain momentum in their projects.
When to use it
Use this skill when you need to recover context from a previous Claude session and continue your work without unnecessary overhead.
When not to use it
Avoid this skill if you are looking to resume a session without specific context or if you need to analyze the entire session history.
What you can build with it
Resuming Interrupted Work
After an unexpected interruption, use this skill to recover the context of your last session and continue working on pending tasks.
Analyzing Previous Sessions
When you need to inspect past sessions for insights, run the extraction script to get a concise summary and relevant details.
Handling Multi-Agent Projects
In complex projects with multiple agents, utilize this skill to understand the status of each agent and decide on the next steps.
How to install Continue Claude Work
View source1. Install with the skills CLI
npx skills add daymade/claude-code-skills/continue-claude-work --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by daymadeContinue Claude Work
Overview
Recover actionable context from a prior Claude Code session and continue execution in the current conversation. Use local session files as the source of truth, then continue with concrete edits and checks — not just summarizing.
Why this exists instead of claude --resume: claude --resume replays the full session transcript into the context window. For long sessions this wastes tokens on resolved issues and stale state. This skill selectively reconstructs only actionable context — the latest compact summary, pending work, known errors, and current workspace state — giving a fresh start with prior knowledge.
File Structure Reference
For directory layout, JSONL schemas, and compaction block format, see references/file_structure.md.
Workflow
Step 1: Extract Context (single script call)
Run the bundled extraction script. It handles session discovery, compact-boundary parsing, noise filtering, and workspace state in one call:
# Latest session for current project
python3 scripts/extract_resume_context.py
# Specific session by ID
python3 scripts/extract_resume_context.py --session <SESSION_ID>
# Search by topic
python3 scripts/extract_resume_context.py --query "auth feature"
# List recent sessions
python3 scripts/extract_resume_context.py --list
The script outputs a structured Markdown briefing containing:
- Session metadata from
sessions-index.json - Compact summary — Claude's own distilled summary from the last compaction boundary (highest-signal context)
- Last user requests — the most recent explicit asks
- Last assistant responses — what was claimed done
- Errors encountered — tool failures and error outputs
- Unresolved tool calls — indicates interrupted session
- Subagent workflow state — which subagents completed, which were interrupted, their last outputs
- Session end reason — clean exit, interrupted (ctrl-c), error cascade, or abandoned
- Files touched — files created/edited/read during the session
- MEMORY.md — persistent cross-session notes
- Git state — current status, branch, recent log
The script automatically skips the currently active session (modified < 60s ago) to avoid self-extraction.
Step 2: Branch by Session End Reason
The briefing includes a Session end reason. Use it to choose the right continuation strategy:
| End Reason | Strategy |
|---|---|
| Clean exit | Session completed normally. Read the last user request that was addressed. Continue from pending work if any. |
| Interrupted | Tool calls were dispatched but never got results (likely ctrl-c or timeout). Retry the interrupted tool calls or assess whether they are still needed. |
| Error cascade | Multiple API errors caused the session to fail. Do not retry blindly — diagnose the root cause first. |
| Abandoned | User sent a message but got no response. Treat the last user message as the current request. |
If the briefing has a Subagent Workflow section with interrupted subagents, check what each was doing and whether to retry or skip.
Step 3: Reconcile and Continue
Before making changes:
- Confirm the current directory matches the session's project.
- If the git branch has changed from the session's branch, note this and decide whether to switch.
- Inspect files related to pending work — verify old claims still hold.
- Do not assume old claims are valid without checking.
Then:
- Implement the next concrete step aligned with the latest user request.
- Run deterministic verification (tests, type-checks, build).
- If blocked, state the exact blocker and propose one next action.
Step 4: Report
Respond concisely:
- Context recovered: which session, key findings from the briefing
- Work executed: files changed, commands run, test results
- Remaining: pending tasks, if any
How the Script Works
Compact-Boundary-Aware Extraction
The script finds the last compact boundary in the session JSONL and extracts its summary. This is the single highest-signal piece of context in any long session -- Claude's own distilled understanding of the entire conversation up to that point. For details on compaction format and JSONL schemas, see references/file_structure.md.
Size-Adaptive Strategy
| Session size | Strategy |
|---|---|
| Has compactions | Read last compact summary + all post-compact messages |
| < 500 KB, no compactions | Read last 60% of messages |
| 500 KB - 5 MB | Read last 30% of messages |
| > 5 MB | Read last 15% of messages |
Subagent Context Extraction
When a session has subagent directories (<session-id>/subagents/), the script parses each subagent's JSONL to extract agent type, completion status, and last text output. This enables recovery of multi-agent workflows -- e.g., if a 32-subagent evaluation pipeline was interrupted, the briefing shows which agents completed and which need retry.
Session End Reason Detection
The script classifies how the session ended:
- completed -- assistant had the last word (clean exit)
- interrupted -- unresolved tool calls (ctrl-c or timeout)
- error_cascade -- 3+ API errors
- abandoned -- user sent a message with no response
Noise Filtering
These message types are skipped (37-53% of lines in real sessions):
progress,queue-operation,file-history-snapshot-- operational noiseapi_error,turn_duration,stop_hook_summary-- system subtypes<task-notification>,<system-reminder>-- filtered from user text extraction
Guardrails
- Do not run
claude --resumeorclaude --continue— this skill provides context recovery within the current session. - Do not treat compact summaries as complete truth — they are lossy. Always verify claims against current workspace.
- Do not overwrite unrelated working-tree changes.
- Do not load the full session file into context — always use the script.
Limitations
- Cannot recover sessions whose
.jsonlfiles have been deleted from~/.claude/projects/. - Cannot access sessions from other machines (files are local only).
- Edit tool operations show deltas, not full file content — use
claude-code-history-files-finderfor full file recovery. - Compact summaries are lossy — early conversation details may be missing.
sessions-index.jsoncan be stale (entries pointing to deleted files). The script falls back to filesystem-based discovery.
Example Trigger Phrases
- "continue work from session
abc123-..." - "don't resume, just read the .claude files and continue"
- "check what I was working on in the last session and keep going"
- "search my sessions for the PR review work"
Frequently asked questions about Continue Claude Work
Similar skills
Rhino 3D Scripting
Streamline your Rhinoceros 3D scripting tasks.
MVVM Toolkit
Streamline ViewModel development with source generators.
FreeCAD Scripts
Generate Python scripts for FreeCAD automation and modeling.
Azure Architecture Builder
Design and deploy Azure infrastructure using natural language.
Command Development
Streamline your command creation for Claude Code.
Create Cowork Plugin
Easily build and package plugins through guided sessions.
