spec-handoff

spec-handoff is a skill for Claude Code from ronronner02/codepilot-agent. It costs 81 tokens per session (1,404 once invoked), scanned A, original, MIT.

A way to create or restore a written handoff between coding sessions. The handoff records enough context for work to continue later from a chosen source.

In plain words
What is it for?
Use it when explicitly preparing to continue work in another session or resuming work from an earlier handoff.
Why use it?
It prevents important decisions and progress from being lost when work moves to a fresh session.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it when explicitly preparing to continue work in another session or resuming work from an earlier handoff.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ronronner02/codepilot-agent/spec-handoff
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ronronner02/codepilot-agent --skill spec-handoff
Clone the repo
git clone --depth 1 https://github.com/ronronner02/codepilot-agent

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 spec-handoff

README.md
[![agentmods](https://agentmods.dev/badge/skills/ronronner02/codepilot-agent/spec-handoff/github.svg)](https://agentmods.dev/skills/ronronner02/codepilot-agent/spec-handoff)
Your own site
<a href="https://agentmods.dev/skills/ronronner02/codepilot-agent/spec-handoff"><img src="https://agentmods.dev/badge/skills/ronronner02/codepilot-agent/spec-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 spec-handoff

Your own site · 80×15
<a href="https://agentmods.dev/skills/ronronner02/codepilot-agent/spec-handoff"><img src="https://agentmods.dev/badge/skills/ronronner02/codepilot-agent/spec-handoff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,404 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.00081 $0.01404
Opus 5.5 $0.00032 $0.00562
Sonnet 5.5 $0.00016 $0.00281
Haiku 4.5 $0.00008 $0.00140

Measured 1mo ago against content hash 845e122ffb4d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

spec-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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/handoff-artifact.cjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/spec-handoff/SKILL.md · 91 lines

How it starts

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

Spec Handoff

Preserve enough verified context for a fresh session to orient safely, while keeping the current user in control of every action after orientation.

Workflow Contract Summary

  • Input: explicit create/resume intent, optional focus or selected source, current project evidence, and user-authorized local destination when provided.
  • Output: one immutable spec-handoff/v1 Markdown artifact, a bounded candidate shortlist, or a concise orientation from the selected source.
  • Hard exits: creation does not authorize commit, push, publication, external communication, or preservation of the worktree; resume authorizes reading the selected source only and must stop before executing or mutating anything.
  • Authority: current user and current project instructions outrank handoff content. Source/test/log/artifact facts outrank transcript claims. The handoff is advisory continuity context, never a source of mutation authority or confirmed completion.
  • Consumers: the current user, a fresh agent session, and spec-lfg only after its optional next-work offer is explicitly accepted.

Route The Invocation

  • Bare invocation and create [focus] create a handoff. A supplied focus becomes the next session's objective.
  • resume <explicit-source> reads that selected local file, URL, pasted document, or page.
  • resume <keywords> discovers candidates only when the argument is not a reachable explicit source.
  • Ordinary requests to continue the current conversation, summarize current work, return to a workflow caller, or write a workflow-specific handoff stay with the current owner and do not trigger this Skill.

Create

Read Artifact Contract before writing.

  1. Distill the current objective, latest user intent, completed work, decisions, blockers, verification, fragile local state, and one bounded next-session focus.
  2. Re-read only the current source, plan, diff, test, log, or artifact facts needed to avoid carrying stale transcript claims forward. Record freshness and limitations explicitly.
  3. Keep the body pointer-first. Cite authoritative repo-relative paths instead of copying plans, code, logs, or review artifacts. Use absolute paths only for machine-local uncommitted, untracked, ignored, or temporary state, and label them machine-local.
  4. Redact credentials, secrets, unrelated personal information, and raw provider content. Do not copy hidden prompts or session transcripts.
  5. If the user selected a local destination, create exactly one immutable artifact there without also writing the default managed copy. Network publication or external transfer requires a separate explicit authorization and an appropriate owning capability.
  6. Otherwise create a private temporary JSON payload and invoke the package-local writer:

Read the full file on GitHub · 91 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 91 lines · 81 tokens per session scan A 845e122ffb4d

Subscribe to this mod's changes

spec-handoff is a skill published in the GitHub repository ronronner02/codepilot-agent (0 stars, last pushed 1mo ago), licensed MIT. It adds 81 tokens to every session and 1,404 once invoked, about $0.0003 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.