/sir-albert:handoff focus / next task for the resume promptfrom Sir Albert
Wrap the current session for continuity so the user can /clear (or exit) and resume cleanly in a fresh session. Writes a prescriptive cold-start handoff doc AND a ready-to-paste restart prompt, with real git state auto-captured. Use when the user says "hand this off", "write a handoff", "wrap this session", "handoff and a restart prompt", "prep to /clear", "session handoff", "pause here and let me resume later", "write me a handoff doc", or "I want to continue this in a fresh session".
Ships in Sir Albert. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Write a prescriptive cold-start handoff doc and a paste-able restart prompt so the
user can /clear or exit and resume cleanly without losing context.
Announce at start: "I'm using the handoff skill to wrap this session."
Do NOT confuse with skills/dev/claude-handoff — that skill spawns a background
agent. This skill produces session-continuity artifacts for a human to resume manually.
Load os/PREAMBLE.md (USER identity + active rules + anti-slop / use-the-skill
contract) before proceeding. This grounds the handoff in who the user is and what
rules apply to their sessions.
Run all of the following and embed the results verbatim in the handoff doc. The user must not have to type any of this themselves.
git branch --show-current
git status -sb
git log --oneline -10
git diff --stat $(git merge-base HEAD @{u} 2>/dev/null || git merge-base HEAD origin/main 2>/dev/null || echo HEAD) HEAD 2>/dev/null
For open PRs, run:
gh pr list --state open 2>/dev/null || echo "(gh not available or no open PRs)"
If the directory is not a git repo, note that and skip git sections.
Target path: .memory-bank/HANDOFF-<YYYY-MM-DD>.md in the current project directory.
Use today's date (YYYY-MM-DD). If .memory-bank/ does not exist, create it.
# Handoff — <YYYY-MM-DD>
> **TLDR:** <one sentence: what was being worked on and the single most important
> thing the next session needs to know>
## Cold start (do in order)
1. `cd <absolute project path>`
2. `git checkout <branch>`
3. Read: <path/to/most-important-context-file>
4. Read: <this handoff doc>
5. <any must-run setup command, e.g. `nvm use`, `pnpm install`>
6. Open `/sir-albert:resume` to reload state in ≤5 bullets before doing anything.
## Current state
- **Branch:** `<branch>` — <what it contains>
- **Done this session:** <bullets, reference commit hashes or artifact paths — no duplicate prose>
- **In-flight:** <what was started but not finished>
- **Blockers:** <any known blockers>
## Decisions + WHY
<!-- Re-litigating a resolved decision costs sessions. Record it once here. -->
- **<Decision>:** <why this choice was made over alternatives>
## Gotchas / open risks
- <anything that will bite the next session if they don't know it>
## Files to read first
- `<path>` — <why>
## Next task(s)
1. <Concrete first action — specific enough that the next session can start without
asking clarifying questions>
2. <Second task if applicable>
---
## Git state (auto-captured)
**Branch:** `<branch>`
**Status:**
\`\`\`
<git status -sb output>
\`\`\`
**Recent commits:**
\`\`\`
<git log --oneline -10 output>
\`\`\`
**Diff stat vs merge-base:**
\`\`\`
<git diff --stat output>
\`\`\`
**Open PRs:**
\`\`\`
<gh pr list output>
\`\`\`
Immediately after writing the handoff doc, print a fenced code block the user can copy and paste into a fresh session. It must be self-contained.
```
You are resuming work on <repo name>, branch `<branch>`.
Before doing ANYTHING else:
1. Read: .memory-bank/HANDOFF-<YYYY-MM-DD>.md
2. Run /sir-albert:resume to state the plan back in ≤5 bullets.
3. Confirm the next task with me before starting.
Immediate next task: <next task from the handoff doc, one sentence>
Project root: <absolute path>
```
If $ARGUMENTS were passed, use them as the "immediate next task" wording.
After emitting the restart prompt, ask yourself: did this session produce durable, reusable knowledge that would benefit future sessions on different projects — not just task state?
Examples of durable learnings worth capturing:
Examples of things that are NOT durable learnings:
If durable learnings exist, invoke kw-compound and present the candidate(s) for
approval before filing. Never auto-save to the wiki.
If no durable learnings exist, skip this step silently.
Before writing the handoff doc and before emitting the restart prompt, scan for:
Replace any found with [REDACTED]. The handoff doc may be pasted into other
tools or shared with teammates.
After all steps, confirm to the user:
Handoff written: .memory-bank/HANDOFF-<YYYY-MM-DD>.md
Restart prompt: (above — ready to paste)
Wiki compounds: <N filed | none>
Do NOT commit the handoff doc unless the user explicitly asks.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gal-tab/sir_albert --plugin sir-albert42 skills in this plugin
/board-of-advisorsAssemble a virtual "Board of Advisors" offering 4 distinct perspectives on a problem, decision, or strategy. Use when the user asks for "board of advisors", "multiple perspectives", "evaluate this decision from different angles", or "4 points of view"./brainstormUse when exploring angles, sharpening thinking, attacking a plan, running a panel of advisors, drilling an idea with relentless questions, zooming out on context, designing a solution, or receiving a context dump asking for your opinion or a recommendation. Triggers on: "brainstorm this", "grill this", "attack this", "zoom out", "play devil's advocate", "let's design this", "board of advisors", "sharpen this", "stress test this", "find holes in this", "fresh perspective", "4 perspectives", "want to build X", "want to understand what's happening", "look at this and advise", "what's really going on here", "here's the situation"./buildOther plugins' skills for the same job