- Home
- Skills
- Agents & Orchestration
- .handoff file type: pass a job with files and state
Works with the AI Agents you already use
.handoff file type: pass a job with files and state
Write a .handoff file that names the mission, the files the next chat must open, and the stop rule that decides whether the job continued. A note without files is not a handoff.
$12
.handoff file type: pass a job with files and state
Example session with this skill installed
"I need to hand this bug fix to another agent tomorrow. Don't just write a recap. Give me a file the next chat can open and trust."
- Read your context and instructions
- Compiled the handoff file type
The current work is a failing unit test in an inventory CLI: count_items() should return 3 for a sample basket, and tests/test_count.py is the check. The agent writes a v2 file, inventory-count.handoff, instead of a markdown note:
- Banner:
# handoff v2 mission: Continue the inventory CLI fromsrc/count.pycontinue_from:src/count.pystop_rule:tests/test_count.pymust pass, andcount_items()must return 3 for the sample basketrepoandcommit: the project URL and the SHA the files were read atFILES:src/count.py,src/basket.py,tests/test_count.pyPASTE: the exact instruction, including "do not restart the project," "read the listed files at the pinned commit before you write," and "a failing test means the job did not continue."
The agent runs python3 scripts/parse_handoff.py inventory-count.handoff. The parser exits 0. It also shows what a bad file looks like: if PASTE is missing, the parser prints INVALID: empty PASTE section and exits 1, and that file would be rejected.
Result, as reported to the user: "Saved inventory-count.handoff as a v2 handoff, not a recap. The next chat has to open the three listed files at the pinned commit, follow the paste block word for word, and may only claim the job continued if tests/test_count.py passes with count_items() returning 3. The parser accepted the file. I have not claimed the bug is fixed."
The sample in the package (references/sample.handoff) follows the same shape, with a clearly fictional example repository.
Connects securely to your tools. The creator never sees your data.
About this skill
.handoff is a small file type for passing a job from one chat or agent to another. It is not a markdown summary. A handoff is a paste block plus the files the next chat must open, and a stop rule that decides whether the job actually continued.
The document starts with # handoff v1 or # handoff v2. v2 is pinned: it requires a repository URL and a commit SHA so the next chat opens the same files you meant. New handoffs should be written as v2. Required fields are mission, continue_from, stop_rule, a FILES list, and a PASTE section that must be taken verbatim. Optional RULES carry extra constraints.
This package includes the language spec, a short kind declaration, a sample .handoff, and scripts/parse_handoff.py, a reference parser with no dependencies. The parser checks structure only. It does not prove that the files exist at that commit or that the stop rule passed; the receiving agent does that, and must not claim the job continued unless the stop rule passed.
Use this skill to write a .handoff for another agent, to read one you were given, or to validate a file before you pass it on.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 16 days ago
- Software
Python 3
Permissions
What's inside
Frequently Asked Questions
New in Agents & Orchestration
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.