Install
$ agentstack add skill-davidondrej-skills-handoff ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ● Environment & secrets Used
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Handoff
Write a complete handoff that lets a fresh agent — with zero memory of this session — continue the work without re-asking, re-discovering, or repeating mistakes.
Output the entire handoff as a single fenced code block in the chat so the user can copy it in one click. Also save a copy to a file (see "File Output").
Core Principles
- State, not instructions. Describe what is true, not what the next agent should do. Write "Auth endpoint is implemented; logout is not yet started" — never "Implement logout next." The fresh agent decides actions; you give it ground truth.
- Reference, don't duplicate. Do not paste content already captured in other artifacts (PRDs, plans, ADRs, issues, commits, diffs, design docs). Point to them by path or URL. Handoffs that re-embed everything become bloated and stale.
- Capture the "why". Decisions and rejected approaches are the most valuable and least recoverable information. Code shows what; only you remember why and what failed.
- Trust nothing blindly. Frame all claims as context to verify against the actual code, not facts to accept.
- Redact secrets. Strip API keys, tokens, passwords, and PII. Reference where credentials live (e.g. ".env.local, not committed") — never their values.
- Be ruthless. Every line must be something the next agent cannot trivially get by reading the code or project config. Cut anything obvious, redundant, or explanatory.
Procedure
- If a project config file exists (CLAUDE.md / AGENTS.md / equivalent), read it first. Do not restate anything already covered there — the handoff is session-specific only.
- If a prior handoff file already exists, read it and update rather than starting from scratch.
- If the user passed arguments, treat them as the focus for the next session and tailor the handoff toward that goal.
- Fill in every section of the template below. Omit a section only if it is genuinely empty (e.g. no blockers) — mark it
None. - Output the filled template inside one fenced code block in the chat.
- Save the same content to the file path described below and tell the user that path.
Output Format
Output exactly this, inside a single fenced code block:
# HANDOFF:
Generated: · Session focus:
## 1. Goal
## 2. Why This Matters / Background
## 3. Current State
## 4. Key Decisions (and why)
## 5. Traps & Dead Ends
## 6. Relevant Files & Pointers
## 7. Open Work (status, with dependencies)
---
## Prompt for the Fresh Agent
Before responding, read every file listed under "Relevant Files & Pointers" above.
Do not summarize, paraphrase, or claim you already have context — actually read each
file. Treat every claim in this handoff as context to verify against the code, not
facts to trust blindly. Then wait for my instructions before taking any action.
File Output
Save the handoff to a temporary location outside the working tree so it does not pollute the repo:
- Preferred: the OS temp directory, e.g.
$TMPDIR/handoff-.md(macOS/Linux) or the system temp dir equivalent. - If the user prefers an in-repo record, save to
HANDOFF.mdin the project root instead.
After saving, tell the user the absolute path. The user can then start a fresh session with just:
Read the file to get the context, then wait for instructions.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: davidondrej
- Source: davidondrej/skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.