Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Context Transfer?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/gord1y-context-transfer)
---
name: context-transfer
description: "Save this conversation as a handoff file for a new session: at most 2 KB in seven capped sections, checked by handoff-lint."
when_to_use: "Use for a handoff, a context transfer, or a next-session prompt, and when a Countersign context note asks for a handoff or tells the session to stop."
---
# Context Transfer
Your one job: save a handoff file that a new session continues from without asking what was settled.
The next session loads CLAUDE.md, rules, memory and skills on its own, and a hook prints its git state.
The handoff carries only what none of those can show: the goal in the user's words, decisions with
reasons and rejected options, traps, open questions with a recommendation, numbered next steps, and
pointers a search cannot find.
## Output contract
- Save the handoff once to `~/.claude/plans/context-transfer-<repo>-<yyyy-mm-dd>-<topic>.md`, never
inside a repo. Reply with that path and one line saying how to start the next session with it:
in Claude Code, "Read <path> and continue"; in a new T3 thread, the file's text is its first prompt.
Never paste the block into the chat as well.
- Write to the next model, in the second person: "You are continuing...".
- Hard cap 2,048 bytes, target 1,200. Use these `## ` headings in this order, each within its cap. Leave
out a section with nothing to say, except Goal and Next steps, which are required.
| Section | Cap | Holds | Never holds |
| --- | --- | --- | --- |
| Goal | 300 B | End state, scope fence, the user's decisive words | Project path, branch, HEAD, date |
| Decisions | 600 B | Each decision, who made it, why, rejected options | A decision already in a plan file's Answer line: point to it |
| State delta | 300 B | What git cannot show: half-written intent in uncommitted files, why a worktree exists, what not to touch | `git status`, worktree or stash lists, SHA lists (give `base..head` once) |
| Traps | 300 B | Failures hit this session that no repo doc records, one line each | Anything in a rule file, skill or CLAUDE.md |
| Open questions | 300 B | Each with options and a recommendation worded so "yes" accepts it | Questions already answered |
| Next steps | 300 B | At most 4, numbered; step 1 executable with no reading | "Re-check state" boilerplate, commands that follow from names |
| Pointers | 150 B | Path plus heading or line range | Copies of plan content, whole plan files |
- Never write git state, SHAs beyond one `base..head` range, gate stamps, timestamps, the saved path,
rules or skill procedures, commands that follow from branch names, or copies of plan files.
- Arguments narrow it: `/context-transfer <focus>` limits the handoff to that thread of the conversation.
- When the next chat is not Claude Code or Codex on this machine, nothing loads there on its own. Add the
rules the work depends on; the caps then do not apply, and `handoff-lint` takes `--external` to skip the
rule-copy and size checks.
## When Countersign asks for the handoff
A message opening "Context note from Countersign, the user's approval app" that asks for a handoff or a
stop is served here. Finish the step in hand and start nothing new. Save to the plans path even when the
note names another file. Leave worktrees, branches and uncommitted work as they are, and name them in
State delta only when git alone would mislead.
## Check, don't recall
- Every claim of progress comes from a command run now or a file read now, never from memory.
- Read the whole conversation, first turn to last, for the user's decisions and corrections.
- Define every name at first use: "B13 (the CSP nonce change)".
- Exact over approximate: a paraphrased command, path or error is a wrong one.
- No secrets: name the variable and where it lives.
- Mark what you did not verify as `(unverified)`.
- No parked defects: fix a bug found in this session, or make it a next step with the fix spelled out.
## Lint before you reply
Run `<this skill's folder>/scripts/handoff-lint <file>` and fix every problem it prints, then reply. The
folder is `${CLAUDE_SKILL_DIR}` for Claude Code and `~/.agents/skills/context-transfer` for Codex.
If `local.md` exists next to this file, read it; where it disagrees with this file, it wins.