Skip to content
Back to skills

Handoff Contracts

ASecurity

Use when composing any Codex or OpenCode handoff prompt (rescue task, review, browser test) - checks the target repo for handoff contract files and names the right one as binding in the prompt

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 29, 2026
ai-agentsgotesting

Security analysis

A100/100

Scanned October 4, 2026

npx -y skills add Fundryi/claude-codex-handoff --skill handoff-contracts --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Handoff Contracts?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Handoff Contracts
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fundryi-handoff-contracts/badge)](https://www.skillsdirectory.com/skills/fundryi-handoff-contracts)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: handoff-contracts
description: Use when composing any Codex or OpenCode handoff prompt (rescue task, review, browser test) - checks the target repo for handoff contract files and names the right one as binding in the prompt
---

# Handoff Contracts

Some repos keep per-task-type contract files for Codex handoffs, usually in `handoff/` or `codex-handoff/` at the repo root. A contract carries the standing rules (reading order, hard boundaries, self-check gate, return format) so the prompt only has to carry the task.

## What to do

Before composing a handoff prompt for a target repo:

1. Check whether the repo has `handoff/` or `codex-handoff/` containing `.md` contract files.
2. If it does, pick the file matching the task type:
   - implementation, bugfix, refactor: `coding.md`
   - review, diagnosis, root-cause investigation: `review.md`
   - browser or live verification: `browser-testing.md`
   - a file whose name obviously matches a more specific task type wins over the generic mapping
3. Put the contract line alone on the first line, then the four blocks (`<goal>`, `<rules>`, `<done_when>`, `<files>`) as the `codex-prompting` skill describes:

```
Follow handoff/coding.md (binding).
<goal>
What must be true when Codex is done.
</goal>
<rules>
Task-specific limits the contract does not already cover.
</rules>
<done_when>
The checks that prove it is done.
</done_when>
<files>
Paths that matter, and what is already known or tried.
</files>
```

   If the contract asks for its own return sections, Codex writes them; the companion's four headings still come last.

4. Do not restate rules the contract already covers. The prompt carries only what is task-specific.
5. If the contract and the prompt conflict, the prompt wins; Codex is expected to note the conflict in its report.

## When the repo has no contracts

Compose the prompt normally. If handoffs to this repo are becoming a regular thing, you may mention once that the plugin repo ships a ready-to-copy template folder (`handoff/` in claude-codex-handoff). Do not repeat the suggestion.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.