Hamza-Abili

Handoffmd — Git skill for Claude Code

Git community

Verified session handoffs for any coding agent: one HANDOFF.md, grounded in git evidence, checked for freshness and secrets, loadable by Claude Code, Codex or OpenCode.

How to install Handoffmd

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Hamza-Abili/handoffmd and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Handoffmd does

Verified session handoffs for any coding agent: one HANDOFF.md, grounded in git evidence, checked for freshness and secrets, loadable by Claude Code, Codex or OpenCode.

Alternatives in Git

  • Memorix — Open-source cross-agent memory layer for coding agents via MCP 392 ★
  • Hermes IDE — One console for every coding agent 333 ★
  • Diri — Native macOS orchestrator for coding agents — run Claude Code, Codex, Cursor, Gemini and shells in parallel ac 272 ★

README

handoffmd

**Your agent forgets. Hand off anyway.**

Verified session handoffs for any coding agent. One `HANDOFF.md`, grounded in git evidence, checked for freshness and secrets, loadable by Claude Code, Codex, OpenCode, or any agent that can read a file.

[![CI](https://github.com/Hamza-Abili/handoffmd/actions/workflows/ci.yml/badge.svg)](https://github.com/Hamza-Abili/handoffmd/actions/workflows/ci.yml) [![npm](https://img.shields.io/npm/v/%40hamzaabili%2Fhandoffmd)](https://www.npmjs.com/package/@hamzaabili/handoffmd) [![npm downloads](https://img.shields.io/npm/dt/%40hamzaabili%2Fhandoffmd)](https://www.npmjs.com/package/@hamzaabili/handoffmd) [![GitHub Marketplace](https://img.shields.io/badge/Marketplace-handoffmd%20check-blue?logo=github)](https://github.com/marketplace/actions/handoffmd-check) [![license](https://img.shields.io/badge/license-MIT-blue)](LICENSE)

The problem

You switch from Claude Code to Codex because a quota ran out, open a fresh session after compaction, move to another machine, or hand the work to a teammate. The next agent starts with none of your context. So you write a `HANDOFF.md` by hand — and it is stale, incomplete, too long, or contains a token you forgot to remove.

Native handoff exists, but it is single-vendor. Memory tools remember everything; they do not tell the next agent what is true **right now**.

`handoffmd` does one job: turn the current session and repository into a handoff that the next agent can trust.

Quick start

npx @hamzaabili/handoffmd init
npx @hamzaabili/handoffmd save --from claude
# review HANDOFF.md, then:
npx @hamzaabili/handoffmd save --lock
npx @hamzaabili/handoffmd check --strict

# in the next agent:
npx @hamzaabili/handoffmd load --for codex

`init` creates `HANDOFF.md`, `.handoff/config.json` and the agent skill. `save` collects the session and git evidence. `check` verifies structure, freshness, secrets, links and token budget. `load` prints a compact brief for the next agent