server: Skill for Claude Code

.claude/skills/aide-handoff/SKILL.md

aide-handoff is a skill for Claude Code from aidemd-mcp/server. It costs 243 tokens per session (1,301 once invoked), scanned A, original, MIT.

A handoff process that records the current work state in .aide/session.aide so another session or agent can resume it.

In plain words
What is it for?
Use it when pausing or transitioning work, especially across sessions or between agents, to record progress and the next safe step.
Why use it?
It preserves the current pipeline position, decisions, and safeguards instead of making the next session reconstruct them.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is aidemd-mcp/server's own configuration. It tells Claude Code how to work on server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to aidemd-mcp/server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/aidemd-mcp/server/main/.claude/skills/aide-handoff/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/aidemd-mcp/server

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for aide-handoff

README.md
[![agentmods](https://agentmods.dev/badge/skills/aidemd-mcp/server/aide-handoff/github.svg)](https://agentmods.dev/skills/aidemd-mcp/server/aide-handoff)
Your own site
<a href="https://agentmods.dev/skills/aidemd-mcp/server/aide-handoff"><img src="https://agentmods.dev/badge/skills/aidemd-mcp/server/aide-handoff/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for aide-handoff

Your own site · 80×15
<a href="https://agentmods.dev/skills/aidemd-mcp/server/aide-handoff"><img src="https://agentmods.dev/badge/skills/aidemd-mcp/server/aide-handoff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 243 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,301 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00243 $0.01301
Opus 5.5 $0.00097 $0.00520
Sonnet 5.5 $0.00049 $0.00260
Haiku 4.5 $0.00024 $0.00130

Measured 4d ago against content hash 5cbfbf5be8aa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aide-handoff scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/aide-handoff/SKILL.md · 57 lines

How it starts

The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/aide:handoff — Session Handoff

Record current pipeline state to .aide/session.aide. This skill owns the orchestration; the aide-spec-writer agent owns the actual file write (it transcribes orchestrator-supplied state into the canonical format). Nothing deletes session.aide; it is long-lived and rewritten as features close. See session.aide spec for the file format.

Hard constraints

  • You do NOT write .aide/session.aide yourself. The actual file write belongs to aide-spec-writer. This skill describes the orchestration that surrounds the delegation.
  • You do NOT invent content. The invoking agent (orchestrator or other) holds the conversation context — current stage, settled decisions, where work paused, anti-regression invariants. That context is the content source. Write what it supplies; leave the rest empty — never fabricate state, and never hold the write back for content you don't have.
  • You do NOT delete .aide/session.aide. Nothing does. This skill is exclusively for create/update.

Checklist

  • Make sure the file exists. It always should — aide_init and the /aide boot create the empty placeholder with aide_scaffold type=session. If .aide/session.aide is missing anyway, call aide_scaffold({ directory: ".", type: "session" }) first — the placeholder's single source; it never overwrites. Then continue.

  • Gather content from conversation context. Every handoff is an UPDATE. Supply whatever you have, section by section:

    • the change description (what happened)
    • section-targeted edits, e.g. "fill the intent with: ...", "append decision #4: ...", "rewrite ## Where this cycle stopped to: ..."
    • numbered references to preserve (decision #N stays stable across edits)
    • when a task was created, moved, finished, or newly tied to the work, the matching ## Kanban edit

    The first handoff after the placeholder fills in whatever is known: the one-line intent, the state summary, where the cycle stopped and the next steps, what is done, decisions, invariants, open questions. A missing piece is not a reason to wait. Write what you have now; empty sections stay empty until there is something true to put in them.

  • Keep it the full session record. session.aide holds what was done, every decision, what is validated and what comes next, in full. A fresh agent reading only this file must know where everything stands. Stashing into the task through the kanban skill still happens alongside, but never in place of the detail here.

  • Link tasks when there are tasks. Every task tied to the work goes into ## Kanban by slug, column and what it covers. The slug is the stable link — the kanban skill finds the task by slug in whatever column it sits. Work with no task is still recorded: never hold a handoff back until a task exists. If it is trackable work, ask the user whether to create a task for it, and link it once it exists.

  • Delegate to aide-spec-writer via the Agent tool (subagent_type: aide-spec-writer). The delegation prompt MUST:

    • Name the operation type explicitly — session.aide UPDATE. The spec-writer's default operation is .aide frontmatter; naming the operation is mandatory for correct dispatch.
    • Quote all supplied content verbatim — the spec-writer transcribes; it never invents.
  • Receive the verdict — UPDATED. A REFUSED only means the prompt was ambiguous about which section an edit belongs to; clarify and re-delegate.

  • Confirm completion and continue with whatever pipeline work was in flight before the handoff was invoked.

Read the full file on GitHub · 57 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago Changed · +11 tokens per session 5cbfbf5be8aa
  2. 19d ago Changed · -1 lines · +12 tokens per session 6bc858d02720
  3. 20d ago Changed · +2 lines · -6 tokens per session 02717cb51be8
  4. 2mo ago First seen · 56 lines · 226 tokens per session scan A 8b8c4d63d271

Subscribe to this mod's changes

aide-handoff is a skill published in the GitHub repository aidemd-mcp/server (4 stars, last pushed 2d ago), licensed MIT. It adds 243 tokens to every session and 1,301 once invoked, about $0.0010 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.