/grey-matter:handoff What will the next session be used for?from grey-matter
Compact the current conversation into a handoff document for another agent to pick up.
Ships in grey-matter. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Write a handoff document summarising the current conversation so a fresh agent can continue the work. Save it to .scratch/ in the project (the gitignored, project-local scratch dir, one consistent place the next agent knows to look), and report the path you wrote.
Cover, each briefly:
For concurrent work, distinguish observed shared-checkout writes from a remote branch
advance. A dirty tree or commit author does not establish a live session; if no current
host roster or dispatch binding identifies a writer at this checkout, mark liveness unknown.
Recommend per-session worktrees for overlapping local edits and upstream reconciliation for
remote advances. Worktrees do not prevent push races. Name a worktree path only when one
has actually been selected or created; never invent a placeholder as evidence.
When useful, run the orient concurrency helper
from the target repository root with node "<absolute directory containing installed orient SKILL.md>/scripts/classify-checkout-concurrency.mjs", and include its observed classification in the handoff. Keep the shell working directory at the target repository root.
In Codex desktop, list_threads({ mode: "history", source: "codex", limit: 50 }) can surface
active peers and their reported cwd; exclude the current thread and follow nextCursor
before claiming full coverage. A matching reported cwd indicates possible overlap only:
it does not establish where tool calls ran or that a peer is writing. For delegated agents,
pair list_agents status with the parent dispatch ledger's checkout/branch binding. If chat
cwd differs from the actual tool working directory, record both and leave liveness unknown
unless a current dispatch/root binding confirms a writer.
Include a suggested skills section naming which skills the next agent should call the Skill tool for.
Do not duplicate content already captured in other artifacts (specs, plans, ADRs, tickets, commits, diffs). Reference them by path, slug, or URL instead; the artifact is the source of truth, the handoff just points at it.
If an artifact remains after the active assignment, include its accountable retention owner, purpose and end condition, or mark those details unknown, using artifact hygiene's lifecycle rule. A handoff points to retained originals and evidence; it does not replace them.
Redact any sensitive information (API keys, passwords, PII): the handoff becomes the next agent's prompt, so a secret in it is a leak.
If the user passed arguments, treat them as a description of what the next session will focus on and tailor the doc accordingly.
The next session reads this doc with orient (the session-start bookend), which treats it as pickup context alongside the live frontier and in-progress threads. Write it to be read that way: the frontier and commits are the source of truth, this doc points at them.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub smileynet/grey-matter --plugin grey-matterOther plugins' skills for the same job
51 skills in this plugin
/adopt-projectAdopt a brownfield repo into grey-matter: characterize its as-is model, subsume existing agent config, seed a triaged board, and wire plumbing./changelogMaintain CHANGELOG.md in Keep a Changelog format with user-facing entries. Use when recording what changed for a release, updating the Unreleased section, or asked to write/update the changelog./cheat-sheetList every skill in this set by category with a one-line description. Use when the user wants a quick reference card of available skills, asks "what skills are there", or "list all commands".