handoff-context

handoff-context is a command for Claude Code from TechNickAI/ai-coding-config. It costs 22 tokens per session (1,188 once invoked), scanned A, original, MIT.

A session handoff command that records the task, decisions, verified work, unfinished work, and failed approaches, then copies the summary to the clipboard.

In plain words
What is it for?
Use it before changing sessions to pass progress and next steps to another assistant or developer.
Why use it?
It prevents important context from being lost when you start a new conversation or coding session. Evidence requirements also distinguish completed work from attempts that were not confirmed.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ai-coding-config plugin — 15 skills, 21 commands, 28 agents, 3 hooks shipped together

Good fit Use it before changing sessions to pass progress and next steps to another assistant or developer.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/technickai/ai-coding-config/handoff-context
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.

Clone the repo
git clone --depth 1 https://github.com/TechNickAI/ai-coding-config

Made for: Claude Code.

Or install ai-coding-config, the plugin that ships this one along with the rest of its 15 skills, 21 commands, 28 agents, 3 hooks.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/technickai/ai-coding-config/handoff-context/github.svg)](https://agentmods.dev/commands/technickai/ai-coding-config/handoff-context)
Your own site
<a href="https://agentmods.dev/commands/technickai/ai-coding-config/handoff-context"><img src="https://agentmods.dev/badge/commands/technickai/ai-coding-config/handoff-context/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 handoff-context

Your own site · 80×15
<a href="https://agentmods.dev/commands/technickai/ai-coding-config/handoff-context"><img src="https://agentmods.dev/badge/commands/technickai/ai-coding-config/handoff-context.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,188 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00022 $0.01188
Opus 5.5 $0.00009 $0.00475
Sonnet 5.5 $0.00004 $0.00238
Haiku 4.5 $0.00002 $0.00119

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

Security

Grade A, and why

handoff-context scanned grade A with 1 finding 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 25d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl returned 200 / visible in Supabase / Postman response attached." Without evidence,
plugins/core/commands/handoff-context.md · 129 lines

How it starts

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

Handoff Context

Do not ask for permission - execute immediately.

<context_handoff>

<original_task> [State the original, specific request or task] </original_task>

<decisions_made> [Architecture choices, tradeoffs accepted, approaches chosen — with the reason each was picked over alternatives. Prevents the next session from relitigating settled calls.]

  • [decision] — reason: [why this over alternatives] </decisions_made>

<work_completed> [Every item here MUST include evidence. "Confirmed by: test passed / curl returned 200 / visible in Supabase / Postman response attached." Without evidence, move the item to work_remaining as "Attempted, unconfirmed: [what was tried and why verification was unclear]."]

  • [thing that works] — confirmed by: [specific evidence] </work_completed>

<work_remaining> [Work that still needs to be done, in priority order. Distinct from blockers (these are doable now). Include "Attempted, unconfirmed: [description]" for work that was tried but whose completion couldn't be verified.] </work_remaining>

<failed_approaches> [Approaches tried that did NOT work. Pair each with the EXACT failure reason so the next session does not retry blindly. "Threw X error because Y" is useful; "didn't work" is not.]

  • [approach tried] — failed because: [exact reason / error message] </failed_approaches>

<untried_approaches> [Promising ideas that have NOT yet been attempted. Distinct from failed — these are still open. Be specific enough that the next session knows exactly what to try.]

  • [approach / idea] </untried_approaches>
  • [blocker] — waiting on: [who/what] — unblocked when: [condition]

<critical_context> [Essential technical, project, and business context the next session needs but can't derive from the code. Git branch, env state, related PR numbers, stakeholder constraints, time-sensitive notes. Also include overall system state: services running or broken, migrations applied, feature flags set, env vars required.] </critical_context>

<exact_next_step> [The ONE most important action to take on resume. Precise enough that starting requires zero thinking. Singular and concrete, e.g., "In auth/login.ts line 42, add httpOnly flag to the session cookie configuration, then test with curl to verify the Set-Cookie header includes HttpOnly."] </exact_next_step>

</context_handoff>

</handoff-format>

<honesty-requirement>
Write "N/A" or "None" in sections that genuinely have no content — incomplete is worse
than honest empty. Skipping a section is indistinguishable from forgetting to fill it,
which leaves the next session guessing. An empty `<blockers>None</blockers>` is a
positive signal; a missing `<blockers>` tag is ambiguous.

If `work_completed` has no evidence-backed items yet, write "Nothing confirmed working
yet — all approaches still in progress or untested."
</honesty-requirement>

Read the full file on GitHub · 129 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. 25d ago First seen · 129 lines · 22 tokens per session scan A bd1728cfd012

Subscribe to this mod's changes

handoff-context is a command published in the GitHub repository TechNickAI/ai-coding-config (24 stars, last pushed 26d ago), licensed MIT. It adds 22 tokens to every session and 1,188 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-22.