cf-handoff

cf-handoff is a skill for Claude Code from QBall-Inc/clear. It costs 28 tokens per session (1,759 once invoked), scanned A, original, Apache-2.0.

A session-handoff skill that creates a document summarizing the current work session. The document records progress, decisions, important context, and what should happen next.

In plain words
What is it for?
Use it when ending a session, approaching a token limit, or previewing the handoff information before continuing later.
Why use it?
It prevents the next session or person from having to reconstruct what was done and why.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the clear plugin — 15 skills, 3 agents, 7 hooks shipped together

Good fit Use it when ending a session, approaching a token limit, or previewing the handoff information before continuing later.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add QBall-Inc/clear
Claude Code
/plugin install clear

Made for: Claude Code.

Or install clear, the plugin that ships this one along with the rest of its 15 skills, 3 agents, 7 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 cf-handoff

README.md
[![agentmods](https://agentmods.dev/badge/skills/qball-inc/clear/cf-handoff.svg)](https://agentmods.dev/skills/qball-inc/clear/cf-handoff)
Your own site
<a href="https://agentmods.dev/skills/qball-inc/clear/cf-handoff"><img src="https://agentmods.dev/badge/skills/qball-inc/clear/cf-handoff.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,759 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.00028 $0.01759
Opus 5 $0.00014 $0.00879
Sonnet 5 $0.00006 $0.00352
Haiku 4.5 $0.00003 $0.00176

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

Security

Grade A, and why

cf-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 7d 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.

skills/cf-handoff/SKILL.md · 167 lines

How it starts

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

CLI Usage: When unsure about a CLI's interface or flags, run it with --help first. Do NOT attempt to discover functionality by reading plugin source code — doing so leads to incorrect execution from assumptions made without context of the holistic flow.

Session Handoff

Generate or preview the session handoff document for the current CLEAR session. Captures metrics, decisions, progress, and priorities for the next session.

Plugin Root Resolution

CLI commands in this skill reference $CLEAR_PLUGIN_ROOT — a .claude/settings.json env var the shell expands. The SessionStart hook persists it, but settings env vars load at session launch, so on a brand-new consumer's first session (before its next restart) the variable is empty and node "$CLEAR_PLUGIN_ROOT/build/..." fails with MODULE_NOT_FOUND.

First-session bootstrap — if $CLEAR_PLUGIN_ROOT is empty, set it inline in the same Bash call as the CLI (each Bash call is a fresh shell, so a separate export would not carry over):

export CLEAR_PLUGIN_ROOT="${CLEAR_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}"

Prepend it to the CLI in one shell line: export CLEAR_PLUGIN_ROOT="${CLEAR_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}"; <node "$CLEAR_PLUGIN_ROOT/build/..." command>. ${CLAUDE_PLUGIN_ROOT} resolves in this SKILL.md body to the actually-loaded plugin path; once the consumer restarts, $CLEAR_PLUGIN_ROOT is populated and the assignment is a harmless no-op.


When to Use This Skill

Trigger Pattern Example User Request
Session ending or wrapping up "Create a session handoff"
Token budget checkpoint reached "Generate handoff, I'm at 75%"
Preview handoff contents "What would be in the handoff?"

DO NOT use for:

  • Initializing a new session (use /cf-init instead)
  • Viewing session status without generating a handoff (use /cf-status instead)

Usage

  • /cf-handoff -- Generate the handoff document
  • /cf-handoff --preview -- Preview contents without creating a file

Read the full file on GitHub · 167 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. 7d ago First seen · 167 lines · 28 tokens per session scan A dbb1fb974cbc

Subscribe to this mod's changes

cf-handoff is a skill published in the GitHub repository QBall-Inc/clear (3 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 28 tokens to every session and 1,759 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

session-handoff

Create consistent session handoff documents for context transfer between sessions. Use when closing a session, reaching 75% token consumption, or when user requests handoff. Ensures proper YAML headers for metrics collection, LF line endings, and complete documentation of progress, decisions, and next steps.

QBall-Inc/the-bulwark · 61 tokens

penfield

Persistent memory management with Penfield. Activate when the task involves: remembering past work, recalling previous decisions, storing important context, building knowledge graphs, saving/restoring session context, reflecting on recent activity, managing artifacts, or any situation where cross-session memory would…

penfieldlabs/claude-penfield · 77 tokens

weekly-digests

Generate a serial week-by-week narrative digest of a project's full claude-mem timeline. Splits the timeline into per-ISO-week files, then runs one consecutive subagent per week — each receiving the prior week's carry-forward block — to produce one chapter per ISO week of data. Use when asked for "weekly digests"…

thedotmack/claude-mem · 93 tokens

hivemind-memory

Global team and org memory powered by Activeloop. ALWAYS check BOTH built-in memory AND Hivemind memory when recalling information.

activeloopai/hivemind · 33 tokens

hivemind-memory

Global team and org memory powered by Activeloop. ALWAYS check BOTH built-in memory AND Hivemind memory when recalling information.

activeloopai/hivemind · 33 tokens

dream

Prunes and consolidates the project's auto-memory to keep it minimal — deletes stale, wrong, or redundant memories, merges overlapping ones into existing files, and trims the index. Strong bias against growth: never creates new memory files and never stores new facts. Verifies staleness against the current codebase…

oprogramadorreal/optimus-claude · 85 tokens