set-core: Skill for Claude Code

.claude/skills/handoff/SKILL.md

handoff is a skill for Claude Code from tatargabor/set-core. It costs 68 tokens per session (4,366 once invoked), scanned B, original, MIT.

A session handoff record that writes one thread of unfinished work, measured state, and the next step to an ID-tagged file. A session is one assistant work period, and the next session can load that record.

In plain words
What is it for?
Use it before switching sessions, nearing a context limit, or compacting work so the successor can resume from a written state.
Why use it?
It prevents important context from being lost when a session is cleared, shortened, or handed to another worker. Separate files also reduce conflicts between parallel sessions.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: reads .claude/ paths; mentions subagents.

This is tatargabor/set-core's own configuration. It tells Claude Code how to work on set-core 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 set-core configures →

Reuse

Borrowing it

Nothing to install: this file belongs to tatargabor/set-core. 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/tatargabor/set-core/main/.claude/skills/handoff/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/tatargabor/set-core

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 handoff

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tatargabor/set-core/handoff"><img src="https://agentmods.dev/badge/skills/tatargabor/set-core/handoff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,366 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 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.00068 $0.04366
Opus 5.5 $0.00027 $0.01746
Sonnet 5.5 $0.00014 $0.00873
Haiku 4.5 $0.00007 $0.00437

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

Security

Grade B, and why

handoff scanned grade B 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 9d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

ls -lt <memory-dir>/*.md 2>/dev/null | head # e.g. ~/.claude/projects/<slug>/memory/
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • handoff — 100% identical, 0 lines differ
.claude/skills/handoff/SKILL.md · 359 lines

How it starts

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

handoff — hand one work thread to a successor with a clean context

The goal: make /clear + a fresh session cheaper and cleaner than a compact — which it only is if the state is written down, not held in the context.

Why this exists (measured in the project this skill was extracted from): over two days, 62 forced compacts; 69% of the token budget went into re-reading accumulated context rather than into the work.


The model — stated explicitly

A handoff is not a repo artifact, it is a message between sessions. Therefore:

where .set/handoff/<ID>--<slug>.md — gitignored, never committed
ID <MMDD>-<4 hex>, e.g. 0726-3f9a — writing it prints the ID; that is what the successor gets
loading by hand only: /handoff <ID>. No SessionStart auto-injection
end of life a manual rm, or it just sits there — nothing references it

One thread = one file = one writer. Parallel sessions on one working tree are normal (measured: five at once). A single shared file is structurally wrong — whoever writes second silently overwrites the first. A separate ID means no race, and no lockfile.

Why not auto-injected into every session: if every session gets everything, nobody carries the thread, and you then need collision signalling, staleness measurement and archiving — an apparatus whose only cause is that the file outlives the read. Loading by ID makes all of it moot.


The project profile — where the project-specific part lives

This skill is deliberately generic. What "state" means differs per repo: a green test suite in one, which client document has been generated and sent in another.

Read .claude/handoff.profile.md if it exists. It carries, written by the project:

  • What "state" means here — one paragraph
  • Probes — the commands worth running in this repo, with what each tells you
  • Never lose — runtime scratch, untracked drafts, anything gitignored that would vanish silently
  • Parallel sessions — which paths belong to other threads
  • Template extras — optional: extra columns/sections for the skeleton below

Read the full file on GitHub · 359 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. 9d ago First seen · 359 lines · 68 tokens per session scan B 69acd5b70984

Subscribe to this mod's changes

handoff is a skill published in the GitHub repository tatargabor/set-core (36 stars, last pushed yesterday), licensed MIT. It adds 68 tokens to every session and 4,366 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-26.

Related

handoff compared with skills from other repositories

handoff next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
handofftatargabor/set-coreSkill36yesterdayMITB68Claude Code
handoffterva-sh/tervaSkill5yesterdayMITA56Claude Code, Codex
openrig-herdrmvschwarz/openrigSkill9.0ktodayApache-2.0A132Claude Code, Codex
context-engineeringmvschwarz/openrigSkill9.0ktodayApache-2.0A142Claude Code, Codex
claude-compaction-restoremvschwarz/openrigSkill9.0ktodayApache-2.0A60Claude Code
retiring-and-inheriting-a-seatmvschwarz/openrigSkill9.0ktodayApache-2.0A145Claude Code
mission-slice-sopmvschwarz/openrigSkill9.0ktodayApache-2.0A30Claude Code