.claude/skills/session-resume/SKILL.md
Resume a worktree session — sync master, read handoff, check dispatches, report state
npx skillsauth add the-agency-ai/the-agency .claude/skills/session-resumeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Full session startup for worktree agents. Syncs with master, reads your handoff, checks for dispatches, and reports session state.
On SessionStart, Steps 1-2 run automatically via hooks (worktree-sync + session-handoff). Step 3 (dispatch check) requires manual invocation. Use this skill for full mid-session sync including dispatches.
$ARGUMENTS: Optional. No arguments needed.bash ./claude/tools/worktree-sync --auto
This stashes dirty work if needed, merges master, copies settings, runs sandbox-sync, and unstashes. If on master, it silently skips.
bash ./claude/tools/handoff read
Display the handoff contents. This is your context for what was happening before this session.
bash ./claude/tools/dispatch check
Surface any unread dispatches. If found, list them with dispatch list and read with dispatch read <id>.
Report to the user:
./claude/tools/git-safe branch --show-current./claude/tools/git-safe log --oneline -1./claude/tools/git-safe status --porcelain (0 lines = clean)bash ./claude/tools/session-preflight
This runs the preflight checklist: clean tree, synced with main, handoff loaded, dispatches processed, dispatch monitor running. If any check fails, fix it before proceeding. Do not skip failures.
If the dispatch monitor is not running, start it now:
Monitor dispatches using ./claude/tools/dispatch-monitor --include-collab (persistent, session-length)
The session is not ready until preflight passes.
On master, Step 1 silently skips — the rest still runs. This skill works on any branch.
OFFENDERS WILL BE FED TO THE — CUTE — ATTACK KITTENS!
business
Sync worktree with master — merge, copy settings, run sandbox-sync, report changes
tools
List all git worktrees with status info (branch, clean/dirty, deps)
tools
Remove a git worktree and optionally delete its branch
development
Create a new git worktree with dedicated branch and bootstrapped dev environment