with one click
continue
Pick up unfinished work from where the last session left off
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Pick up unfinished work from where the last session left off
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | continue |
| description | Pick up unfinished work from where the last session left off |
| argument-hint | [task description or context] |
Reconstruct context from the last session and continue unfinished work. Use when a previous session ended mid-task due to context limits, interruption, or session timeout.
DO NOT STOP UNTIL THE RECONSTRUCTED TASK IS COMPLETE.
$ARGUMENTS - Optional context about what was being done. If empty, reconstruct from git state.Launch four agents in parallel to gather all state simultaneously:
Agent 1 — Git State:
git status
git branch --show-current
git stash list
BASE=$(gh repo view --json defaultBranchRef -q .defaultBranchRef.name 2>/dev/null || git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@')
echo "BASE=$BASE"
git log $BASE..HEAD --oneline 2>/dev/null || git log --oneline -10
Agent 2 — Uncommitted Work:
git diff --stat
git diff --cached --stat
git diff
git diff --cached
Agent 3 — Recent Changes:
git log --oneline -10 --all
git diff $BASE...HEAD --name-only 2>/dev/null
git diff $BASE...HEAD --stat 2>/dev/null
Agent 4 — Failing State:
Run the project's test/build/lint commands to find what's currently broken:
# Auto-detect and run
if [ -f "composer.json" ]; then composer test 2>&1 | tail -30; fi
if [ -f "build.gradle" ] || [ -f "build.gradle.kts" ]; then ./gradlew test 2>&1 | tail -30; fi
if [ -f "package.json" ]; then npm test 2>&1 | tail -30; fi
if [ -f "Cargo.toml" ]; then cargo test 2>&1 | tail -30; fi
if [ -f "go.mod" ]; then go test ./... 2>&1 | tail -30; fi
From Phase 1 results, determine:
Search for incomplete markers:
grep -rn "TODO\|FIXME\|HACK\|XXX\|PLACEHOLDER\|NotImplemented\|throw.*not.*implement" --include="*.php" --include="*.kt" --include="*.java" --include="*.ts" --include="*.js" --include="*.rs" --include="*.go" --include="*.py" . 2>/dev/null | grep -v node_modules | grep -v vendor | head -20
If $ARGUMENTS is provided, use it to narrow focus. Otherwise, infer the task from:
feat/add-auth tells you what was being built)Based on the diagnosis, create a plan:
Based on complexity of remaining work:
If simple (1-2 files, clear fix): Fix directly, verify, commit.
If moderate (multiple files, one domain): Launch an architect agent to complete the work, then verify.
If complex (cross-cutting, multiple domains):
Invoke the consolidation skill (Skill(skill="skills:consolidation", args="...")) with the remaining work plan. You become the conductor and dispatch the planner → verifier → parallel architects → consolidator → reviewer → verifier cycle.
Skill(skill="skills:commit-all")
## Continuation Summary
- **Picked up from:** <branch name, last commit>
- **State found:** <clean/dirty/failing>
- **Work completed:**
- <item 1>
- <item 2>
- **Tests:** pass
- **Build:** pass
- **Commits created:** N
Build the project (auto-detects build system)
Find and remove dead code, unused imports, and technical debt
Create git commits in logical groups for all current changes
Create a git commit with conventional commit message
Debug and fix failing tests or errors
Search Claude Code conversation history on disk for a given query. Use when the user asks to find something from a previous conversation, check what was discussed before, or recover lost context.