codex-harness: Skill for Claude Code

.codex/skills/handoff/SKILL.md

handoff is a skill for Claude Code, Codex from Chachamaru127/codex-harness. It costs 76 tokens per session (1,157 once invoked), scanned A, original, MIT.

A handoff workflow for reporting completed work to a project manager or passing it to another coding agent.

In plain words
What is it for?
Use it to hand work to Cursor or OpenCode, report completion, include the git diff and tests, or automatically fix approved review findings.
Why use it?
It gives the next person a clear summary of the completed tasks, changes, and test results, after review approval.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also installed under .codex/. Also seen: mentions OpenCode.

This is Chachamaru127/codex-harness's own configuration. It tells Claude Code and Codex how to work on codex-harness 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 codex-harness configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Chachamaru127/codex-harness. 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/Chachamaru127/codex-harness/main/.codex/skills/handoff/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Chachamaru127/codex-harness

Made for: Claude Code, Codex.

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/chachamaru127/codex-harness/handoff/github.svg)](https://agentmods.dev/skills/chachamaru127/codex-harness/handoff)
Your own site
<a href="https://agentmods.dev/skills/chachamaru127/codex-harness/handoff"><img src="https://agentmods.dev/badge/skills/chachamaru127/codex-harness/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/chachamaru127/codex-harness/handoff"><img src="https://agentmods.dev/badge/skills/chachamaru127/codex-harness/handoff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 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.00076 $0.01157
Opus 5.5 $0.00030 $0.00463
Sonnet 5.5 $0.00015 $0.00231
Haiku 4.5 $0.00008 $0.00116

Measured 1mo ago against content hash 5233f9466c6b, 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.

.codex/skills/handoff/SKILL.md · 158 lines

How it starts

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

Handoff Skill

PM-実装役間のハンドオフとワークフロー遷移を管理するスキル。

機能詳細

機能 詳細
PM→実装役 See references/handoff-to-impl.md
実装役→PM See references/handoff-to-pm.md
レビュー指摘自動修正 See references/auto-fixing.md
コミット実行 See references/execute-commit.md

Quick Reference

  • "Cursor に完了報告を書いて" → /handoff cursor
  • "OpenCode にハンドオフ" → /handoff opencode
  • "レビュー指摘を自動修正" → /handoff auto-fix
  • "変更内容とテスト結果を含めて" → Includes git diff and test results

Prerequisites

This command should only run after harness-review APPROVE

Condition Required Check Method
harness-review completed Yes Review result is APPROVE
No Critical/High issues Yes All fixed
Implementation complete Yes Plans.md tasks completed

Why handoff requires review approval:

  • PM receives unreviewed changes otherwise
  • Quality not assured
  • Breaks /work flow (implement → review → fix → OK → handoff)

Usage

/handoff cursor     # Handoff to Cursor
/handoff opencode   # Handoff to OpenCode

Execution Flow

Step 1: Identify Completed Tasks

  • Check Plans.md checkboxes
  • Summarize work done

Step 2: Update Plans.md

# Before
- [ ] Task name `pm:依頼中`

# After
- [x] Task name `cc:完了` (YYYY-MM-DD)

Step 3: Gather Changes

git status -sb
git diff --stat

Step 4: Check CI/CD (if applicable)

gh run list --limit 3

Step 5: Generate Report

Output Format

## Completion Report

### Summary
- (1-3 lines describing what was done)

### Completed Tasks
- **Task Name**: [Task description]

### Changed Files
| File | Changes |
|------|---------|
| `path/to/file1` | [Summary] |
| `path/to/file2` | [Summary] |

### Verification Results
- [x] Build success
- [x] Tests passed
- [x] Manual verification complete

### Risks / Notes
- (If any)

### Next Actions (for PM)
1. [ ] [What PM should do next]
2. [ ] [Optional items]

Read the full file on GitHub · 158 lines

Files

What ships with it

5 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 · 158 lines · 76 tokens per session scan A 5233f9466c6b

Subscribe to this mod's changes

handoff is a skill published in the GitHub repository Chachamaru127/codex-harness (2 stars, last pushed 8mo ago), licensed MIT. It adds 76 tokens to every session and 1,157 once invoked, about $0.0003 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-08-31.