setup
Skill4 starsChanged 5 months agoMITView on GitHub
Scaffold the handoff project-memory system into THIS repository (new or existing) — copies the template tree into .handoff/, then runs a guided discovery pass that drafts a real STATUS, MAP, TECH_STACK, and PRODUCT from the actual codebase and confirms with the user before saving. Use when the user says "set up handoff", "initialize handoff", "add project memory", or when a repo has no .handoff/ and the user wants one. Run once per repo.
193 other projects use a version of this.
Adopted by
Most recently taken up by
- onetapstudiogames/1f3d9-citylifetheir own version, first seen Oct 7, 2026
- prathish-ks/isthmustheir own version, first seen Oct 6, 2026
- michielvandermeer/skillstheir own version, first seen Oct 4, 2026
- qbeka/jev-job-searchtheir own version, first seen Oct 4, 2026
- ProjectAJ14/eklavyatheir own version, first seen Oct 4, 2026
- nanocoai/nanoclawtheir own version, first seen Oct 4, 2026
Used with
Projects with it also use add-slack, add-parallel and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkilladd-slack
Add Slack channel integration via Chat SDK.
Also in 6 projects that use this
MicrosoftSkilladd-parallel
Also in 5 projects that use this
sskarzSkilladd-telegram-swarm
Add Agent Swarm (Teams) support to Telegram. Each subagent gets its own bot identity in the group. Requires Telegram channel to be set up first (use /add-telegram). Triggers on "agent swarm", "agent teams telegram", "telegram swarm", "bot pool".
Also in 5 projects that use this
- +9 more from microsoft
Other versions193 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 193
- feder-cr/invisible_playwright_mcp★ 32ksame name
- nanocoai/nanoclaw★ 31ksame name
- anthropics/knowledge-work-plugins★ 26ksame name
- Q00/ouroboros★ 6.2ksame name
- agenticnotetaking/arscontexta★ 3.5ksame name
- aws/agent-toolkit-for-aws★ 2.8ksame name
- Shpigford/chops★ 1.9ksame name
- skyllwt/AutoSci★ 1.7ksame name
- microsoft/power-platform-skills★ 961same name
- SethGammon/Citadel★ 922same name
183 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- architectureSkill
- briefSkill
- browser-qaSkill
- debugSkill
- delegateSkill
- designSkill
- grill-meSkill
- learnSkill
- planSkill
- securitySkill
- shipSkill
- tddSkill
- verify-doneSkill
- workflowSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 2 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 171 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 15
Check whether .handoff/ already exists in the project root:
- Very specific: line 25
Do not edit RULES' universal section.
- Very specific: line 26
Write the current plugin version into .handoff/VERSION (single line) — the SessionStart hook uses it for template-drift detection.
- Distinctive: line 30
Read what actually exists, quietly:
- Distinctive: line 62
If CLAUDE.md exists, append (don't duplicate) a short block.
- Very specific: line 87
Add a dated line to .handoff/CHANGELOG.md: "Project initialized with handoff."
“Common” is measured: kept by at least 6 in 10 of the 171 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Set up handoff in this repo
Scaffold the durable project-memory system, then populate it from the real codebase so it ships useful — not blank. Discovery drafts; the user confirms before anything is saved. Never invent project facts (RULES rule 5).
0. Locate templates & detect existing install
- The template tree is bundled with this plugin at
../../templates/relative to this skill file (i.e.<plugin-root>/templates/). Resolve that absolute path. - Check whether
.handoff/already exists in the project root:- Exists → do NOT overwrite. Tell the user it's already set up; offer to refresh specific files (e.g. re-run discovery for STATUS/MAP/TECH_STACK) or seed a CONTEXT.md. Stop here unless they choose a refresh.
- Absent → continue.
1. Copy the template tree
Copy the bundled templates/ into the project as .handoff/, preserving
structure (BOOT, RULES, STATUS, MAP, CHANGELOG, context/, docs/ with
SKILL-WORKFLOW.md, tasks/ with inbox/now/done). Keep the .gitkeep files.
Do not edit RULES' universal section.
Write the current plugin version into .handoff/VERSION (single line) — the
SessionStart hook uses it for template-drift detection.
2. Guided discovery (read the repo — do not guess)
Read what actually exists, quietly:
- Build/manifest files:
package.json,pyproject.toml,go.mod,Cargo.toml,composer.json,Gemfile, Makefile, CI config, framework config files. - Top-level directory layout and the largest/most-central source folders.
git log --oneline -20and current branch for recent direction.- Any existing README for product intent. Derive: project name, type, primary stack, common commands (build/dev/test/lint), deploy target, and the verify commands for RULES rule 10.
3. Draft, then CONFIRM before saving
Present concise drafts for the user to correct:
- STATUS.md — Current State (where the repo stands now), Active Work (none unless evident), Blockers (none unless evident). Keep ≤ 25 lines.
- context/TECH_STACK.md — stack, commands, env vars, deploy, verify commands.
- MAP.md — entry points, key directories, where to make common changes.
- context/PRODUCT.md — only if a README/product intent is discoverable; otherwise leave the template prompts and say so.
- Replace the
<PROJECT_NAME>/<PROJECT_TYPE>/<PRIMARY_STACK>placeholders in BOOT.md. Wait for the user's confirmation/edits. Only then write the files. For anything you cannot determine from the repo, leave the template prompt in place rather than inventing — and tell the user what you left blank.
4. Seed folder-level CONTEXT.md (offer, then confirm)
Identify the 1–3 folders with the most local architecture or conventions a future session should read before editing (e.g. a design-system dir, a core domain module). Propose a short CONTEXT.md for each (structure, conventions, gotchas — not a file listing). Save only the ones the user approves. These are auto-injected by the PreToolUse hook on first edit in that folder.
5. Thin-fallback CLAUDE.md
The plugin's hooks load full state when installed, but a clone opened WITHOUT the plugin needs a minimal fallback. In the project root:
- If
CLAUDE.mdexists, append (don't duplicate) a short block. If it doesn't, create one. Never createAGENTS.mdifCLAUDE.mdexists, or vice versa — edit whichever is present. - The block:
## Project memory (handoff)
This repo uses handoff. With the plugin installed, the SessionStart hook
auto-loads `.handoff/STATUS.md` + `RULES.md`. If hooks are off, read those
two first. Hard rules (always apply):
- Preserve user work; never delete/overwrite/revert changes unless asked.
- Never `git add -A` / `git add .` for a scoped commit — stage only what you changed.
- Verify with the commands in `.handoff/context/TECH_STACK.md` before claiming done.
- Update `.handoff/STATUS.md` + `CHANGELOG.md` whenever code or config changes —
before committing, in the same commit as the change.6. Finish
Tell the user: setup is complete; the SessionStart hook will load STATUS+RULES
from the next session; the PreToolUse hook injects any folder's CONTEXT.md on
edit; the Stop hook nudges state updates. They can edit .handoff/* directly
anytime. Re-run this skill only to refresh discovery or start over.
Also tell them the repo now has a tiered 6-phase workflow — point them at
.handoff/docs/SKILL-WORKFLOW.md and the workflow skill.
Add a dated line to .handoff/CHANGELOG.md: "Project initialized with handoff."
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

