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 226 tokens per session (1,161 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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 226 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,161 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00226 $0.01161
Opus 5 $0.00113 $0.00580
Sonnet 5 $0.00045 $0.00232
Haiku 4.5 $0.00023 $0.00116

Measured 6d ago against content hash 8b8c4d63d271, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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 · 56 lines

How it starts

The opening of the file, as written. The whole thing — 56 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). The aide-maintainer agent (NOT this skill) owns deletion at feature 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. If the conversation doesn't supply it, ask before invoking the skill — never fabricate state.
  • You do NOT delete .aide/session.aide. That belongs to aide-maintainer at feature close. This skill is exclusively for create/update.

Checklist

  • Detect operation mode. Read whether .aide/session.aide exists:
    • File missing → CREATE mode (first handoff for the in-flight feature)
    • File exists → UPDATE mode (apply a surgical diff to the existing log)
  • Gather content from conversation context. Before delegating, identify the specific pieces aide-spec-writer needs:
    • For CREATE: feature intent (one line for the frontmatter intent: field); state summary (current stage + what was just done + what's blocked); ## Where this cycle stopped content (the next agent's instructions); architectural decisions settled (numbered list, if any); anti-regression invariants (bullet list, if any); process discipline notes (optional); open questions (optional)
    • For UPDATE: change description (what transition occurred); section-targeted edits (e.g. "append decision #4: ...", "rewrite ## Where this cycle stopped to: ..."); numbered references to preserve (decision #N stays stable across edits)
  • Delegate to aide-spec-writer via the Agent tool (subagent_type: aide-spec-writer). The delegation prompt MUST:
    • Name the operation type explicitlysession.aide CREATE or 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 — CREATED, UPDATED, or REFUSED.
    • REFUSED on session.aide already exists → the orchestrator should have called UPDATE. Switch the operation type and re-delegate.
    • REFUSED on session.aide missing → the orchestrator should have called CREATE. Switch and re-delegate.
    • REFUSED on ambiguous prompt or missing load-bearing content (feature intent, ## Where this cycle stopped) → gather the missing content from conversation context (or ask the user if it's not in context) 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 · 56 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. 6d 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 (3 stars, last pushed 3mo ago), licensed MIT. It adds 226 tokens to every session and 1,161 once invoked, about $0.0011 per session on Opus 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.