commit

A structured Git commit workflow. Git is a version-control system, and a commit is a saved set of staged changes with a message describing them.

In plain words
What is it for?
Creating commits when changes are already staged, using progress notes, relevant feedback, the staged diff, and the project’s memory files to prepare the commit record.
Why use it?
It checks that the session context and staged changes are ready, then preserves the reasoning and project state connected to the commit.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/jonny981/claude-tandem/commit
Any agent
npx skills add jonny981/claude-tandem --skill commit
Clone the repo
git clone --depth 1 https://github.com/jonny981/claude-tandem

Made for: Claude Code, Codex.

Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 914 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00039 $0.00914
Opus 5 $0.00019 $0.00457
Sonnet 5 $0.00008 $0.00183
Haiku 4.5 $0.00004 $0.00091

Measured 2d ago against content hash d158384cd633, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

commit 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 2d 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.

plugins/tandem/skills/commit/SKILL.md · 63 lines

How it starts

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

Tandem Commit

Orchestrate a structured commit and run the full memory pipeline. The commit body is the primary, permanent epistemic record. After the commit, progress.md is compacted into MEMORY.md and reset.

Prerequisites

Files must already be staged (git add). If nothing is staged, tell the user and stop.

Step 1: Gate on progress.md

Read progress.md from .claude/progress.md at the repo root (or ~/.tandem/progress/<slug>/ if not in a git repo).

  • If progress.md is missing or template-only (Working State fields are still placeholders): STOP. Write your Working State first (current task, approach, blockers, key files). Then continue. A commit without session context produces a weak epistemic record.
  • If progress.md has content: proceed.

Step 2: Read context

  1. Read progress.md (full session state)
  2. Scan your auto-memory directory for feedback_*.md files. Read any whose description suggests relevance to the staged changes. These capture user corrections and preferences that shaped the approach, exactly the kind of context the commit body should preserve.
  3. Run git diff --cached --stat to see what is staged
  4. Run git diff --cached for the full diff

Step 3: Author the commit

Write the commit following the conventions in tandem-commits.md (the rules file, not this skill). The rules file defines the subject format and body structure. This skill orchestrates, the rule defines format.

Key principles from the rules:

  • The subject uses Conventional Commits format
  • The body is the permanent epistemic record, structured with section headers
  • Write for machine comprehension: explicit intent, reasoning, epistemic state
  • The diff shows what changed; the body captures what the diff cannot

Condensing progress.md into the commit body: The session log is raw material, not the final product. Apply reasoning when distilling it:

  • Include only what is relevant to the staged changes. Tangents, unrelated investigations, and dead-end explorations that didn't affect the final code should be omitted.
  • Identify the coherent narrative: what problem was being solved, what iterations occurred, what the user's corrections were, what constraints shaped the final design.
  • If the session covered multiple unrelated topics, only capture the thread that produced the staged changes.
  • Prioritise reasoning that would be hard to reconstruct from the diff alone: the why behind a design choice, constraints that aren't visible in code, alternatives that were rejected and why.

Read the full file on GitHub · 63 lines

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. 2d ago First seen · 63 lines · 39 tokens per session scan A d158384cd633

Subscribe to this mod's changes

commit is a skill published in the GitHub repository jonny981/claude-tandem (6 stars, last pushed 4mo ago), licensed MIT. It adds 39 tokens to every session and 914 once invoked, about $0.0002 per session on Opus 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.