Hypergraph-Coding-Agent-Framework: Skill for Claude Code

.agents/skills/hyper-handoff/SKILL.md

handoff is a skill for Claude Code from tjmustard/Hypergraph-Coding-Agent-Framework. It costs 46 tokens per session (1,157 once invoked), scanned A, original, MIT.

A tool that saves a summary of the current conversation as a handoff document in the operating system's temporary folder. The document helps a new coding agent continue without the earlier conversation.

In plain words
What is it for?
Use it when pausing work, switching sessions, or handing a task to another agent.
Why use it?
It preserves important context when a session ends or needs to move to a fresh agent.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is tjmustard/Hypergraph-Coding-Agent-Framework's own configuration. It tells Claude Code how to work on Hypergraph-Coding-Agent-Framework 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 Hypergraph-Coding-Agent-Framework configures →

Reuse

Borrowing it

Nothing to install: this file belongs to tjmustard/Hypergraph-Coding-Agent-Framework. 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/tjmustard/Hypergraph-Coding-Agent-Framework/main/.agents/skills/hyper-handoff/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/tjmustard/Hypergraph-Coding-Agent-Framework

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/tjmustard/hypergraph-coding-agent-framework/hyper-handoff/github.svg)](https://agentmods.dev/skills/tjmustard/hypergraph-coding-agent-framework/hyper-handoff)
Your own site
<a href="https://agentmods.dev/skills/tjmustard/hypergraph-coding-agent-framework/hyper-handoff"><img src="https://agentmods.dev/badge/skills/tjmustard/hypergraph-coding-agent-framework/hyper-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/tjmustard/hypergraph-coding-agent-framework/hyper-handoff"><img src="https://agentmods.dev/badge/skills/tjmustard/hypergraph-coding-agent-framework/hyper-handoff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,157 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.00046 $0.01157
Opus 5.5 $0.00018 $0.00463
Sonnet 5.5 $0.00009 $0.00231
Haiku 4.5 $0.00005 $0.00116

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

Security

Grade A, and why

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.

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.

.agents/skills/hyper-handoff/SKILL.md · 131 lines

How it starts

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

Hyper-Handoff

Write a handoff document summarising the current conversation so a fresh agent can continue the work without needing this conversation history.


Step 1 — Determine Output Path

Resolve the OS temp directory by running:

python3 -c "import tempfile; print(tempfile.gettempdir())"

Name the file: handoff_<YYYYMMDD>.md using the current date (date only — no time component). Save it in the temp directory resolved above — not in the current workspace.

Disambiguate same-day handoffs with a version suffix. If a file with that exact name already exists in the temp directory, append _v2, _v3, … to the end of the filename — before the .md extension — using the next unused number. The first handoff of the day carries no suffix:

tmp="$(python3 -c 'import tempfile; print(tempfile.gettempdir())')"
base="${tmp}/handoff_$(date +%Y%m%d)"
path="${base}.md"
n=2
while [ -e "$path" ]; do
  path="${base}_v${n}.md"
  n=$((n + 1))
done
# $path is now collision-free, e.g.
#   /tmp/handoff_20260606.md      (first of the day)
#   /tmp/handoff_20260606_v2.md   (second of the day)

Step 2 — Read Key Artifacts (Do Not Duplicate)

Before writing, read and note paths/URLs for any existing artifacts that capture ground truth. Reference them by path rather than reproducing their content:

  • spec/compiled/architecture.yml — hypergraph state
  • spec/active/ — any in-progress PRDs, Red Team reports, or draft specs
  • spec/compiled/ — finalized SuperPRDs and MiniPRDs
  • .agents/memory/activeContext.md — current sprint state and recent decisions
  • Recent git log (git log --oneline -5) — commit history

Step 3 — Write the Handoff Document

Structure the document as follows:

# Handoff: <brief title derived from conversation context>

**Generated:** <ISO 8601 timestamp>
**Next session focus:** <from $ARGUMENTS, or "general continuation" if none>

## Context Summary

<2–4 sentences: what problem is being solved and where the work stands.
No fluff. Written for an agent reading cold.>

## What Was Decided

<Bullet list of key decisions made this session. If a decision is captured in
a PRD or commit, reference the path — do not reproduce it.>

## What Was NOT Resolved

<Bullet list of open questions, blocked items, or deferred decisions.
Be specific — vague items like "needs more work" are not useful.>

## Current State of Artifacts

| Artifact | Path | Status |
|---|---|---|
| architecture.yml | spec/compiled/architecture.yml | <clean / has dirty nodes> |
| Active specs | spec/active/ | <list files or "empty"> |
| Compiled specs | spec/compiled/ | <list key files> |
| activeContext.md | .agents/memory/activeContext.md | <one-line summary> |

## Suggested Skills for Next Session

<List the HACF skills the next agent should invoke, in recommended order,
with a one-line reason for each. Choose from:>

- `/hyper-architect` — if requirements still need extraction
- `/hyper-redteam` — if a Draft PRD exists and needs adversarial review
- `/hyper-resolve` — if a Red Team report exists and needs trade-off resolution
- `/hyper-execute` — if a MiniPRD is ready to implement
- `/hyper-audit` — if code was just written and needs verification
- `/hyper-document` — if documentation is out of sync
- `/hyper-contextualize` — if agent files may have HACF framing issues
- `/hyper-status` — to reorient before any phase
- `/hyper-troubleshooting` — if something is broken or desynchronized

## Exact Next Action

<One sentence: the single most important thing the next agent should do first.
Example: "Run /hyper-redteam on spec/active/Draft_PRD.md in a new context window.">

Read the full file on GitHub · 131 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 · 131 lines · 46 tokens per session scan A 1a68103409f4

Subscribe to this mod's changes

handoff is a skill published in the GitHub repository tjmustard/Hypergraph-Coding-Agent-Framework (2 stars, last pushed 1mo ago), licensed MIT. It adds 46 tokens to every session and 1,157 once invoked, about $0.0002 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-09-28.

Related

Other skills, from other repositories

Migrate

Intakes external content (notes, CLAUDE.md, Cursor rules, Obsidian/Notion/Apple Notes exports), classifies chunks against the LifeOS taxonomy, and commits with provenance after confidence-tiered approval. USE WHEN /migrate, migrate content, import from other LifeOS, bring in old notes, import Cursor rules, import…

danielmiessler/LifeOS · 104 tokens

Cortex

LifeOS memory, prior-session recall, and learning capture. USE WHEN capture this learning, document this learning, what did we learn recently, recent learnings, cortex, knowledge, knowledge base, search knowledge, what do we know about, archive, harvest, knowledge status, develop note, add to knowledge, add a people…

danielmiessler/LifeOS · 184 tokens

Profile

View, edit, or clear the LifeOS User Model (PRINCIPALIDENTITY.md) — persistent identity context loaded at session startup. Three intents: View, Edit (identity, goals, constraints, preferences), Clear (reset). Read by Algorithm OBSERVE and skills for personalization. USE WHEN profile, show profile, view profile, who am…

danielmiessler/LifeOS · 108 tokens

wiki-dashboard

Create dynamic, queryable Obsidian dashboard views using Bases or Dataview. Use for auto-updating tables, indexes, or structured views of vault content; not for ordinary question answering.

Ar9av/obsidian-wiki · 42 tokens

session-compact

AI DevKit · Compact a historical AI coding session with Jev when context is long, work is handed off or resumed, or durable continuation facts and memory candidates need extraction.

codeaholicguy/ai-devkit · 39 tokens

daily-briefing

Proactive daily briefing that fires on a recurring schedule, pulls recent memory and workspace context, composes a structured summary (action items, progress, radar, next steps), and delivers it to all active channels. Enable with a time like "set up my daily briefing at 9am". Disable, reschedule, or check status at…

vellum-ai/vellum-assistant · 75 tokens