Archon: Command for Claude Code

.claude/commands/commit.md

commit is a command for Claude Code from coleam00/Archon. It costs 7 tokens per session (579 once invoked), scanned A, original, MIT.

A command that creates one atomic Git commit containing the relevant current changes. An atomic commit groups one coherent change so it can be reviewed or reverted as a unit.

In plain words
What is it for?
Use it to inspect the working tree, select appropriate files, stage them, and create a conventional commit such as a feature, fix, test, or documentation change.
Why use it?
It helps separate unrelated work, avoid committing credentials or large binaries, and use a consistent commit-message format.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions AGENTS.md.

This is coleam00/Archon's own configuration. It tells Claude Code how to work on Archon 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 Archon configures →

About the project

Archon is a workflow engine for AI coding agents that turns development processes into YAML-defined sequences with phases, validation gates, and artifacts. Developers use it to run repeatable processes such as planning, implementation, testing, code review, and pull-request creation across projects. The catalogue entries provide commands, agents, skills, hooks, instructions, and settings for working with Archon.

coleam00/Archon · 23,704 stars · on GitHub · archon.diy

Reuse

Borrowing it

Nothing to install: this file belongs to coleam00/Archon. 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/coleam00/Archon/dev/.claude/commands/commit.md
Clone the repo
git clone --depth 1 https://github.com/coleam00/Archon

Made for: Claude Code.

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 commit

README.md
[![agentmods](https://agentmods.dev/badge/commands/coleam00/archon/commit/github.svg)](https://agentmods.dev/commands/coleam00/archon/commit)
Your own site
<a href="https://agentmods.dev/commands/coleam00/archon/commit"><img src="https://agentmods.dev/badge/commands/coleam00/archon/commit/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 commit

Your own site · 80×15
<a href="https://agentmods.dev/commands/coleam00/archon/commit"><img src="https://agentmods.dev/badge/commands/coleam00/archon/commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 579 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.00007 $0.00579
Opus 5.5 $0.00003 $0.00232
Sonnet 5.5 $0.00001 $0.00116
Haiku 4.5 $0.00001 $0.00058

Measured 12d ago against content hash 765309931fe1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 12d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • commit — 100% identical, 2 lines differ
.claude/commands/commit.md · 87 lines

How it starts

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

Commit Changes

Process

1. Review Changes

git status
git diff HEAD
git diff --stat HEAD

Check for new untracked files:

git ls-files --others --exclude-standard

2. Stage Files

Add the untracked and changed files relevant to the current work.

Do NOT stage:

  • .env or credential files
  • Large binary files
  • Files unrelated to the current task

3. Create Commit

Write an atomic commit message with a conventional commit tag:

  • feat: — New capability or feature
  • fix: — Bug fix
  • refactor: — Code restructure without behavior change
  • docs: — Documentation only
  • test: — Test additions or fixes
  • chore: — Build, CI, tooling changes
  • perf: — Performance improvement

For monorepo changes spanning multiple packages, note the primary package in the scope:

feat(workflows): add DAG condition evaluator
fix(web): resolve SSE reconnection on navigation
refactor(isolation): simplify worktree resolution order

Commit message format:

tag(scope): concise description of what changed

[Optional body explaining WHY this change was made,
not just what changed. Include context that isn't
obvious from the diff.]

[Optional: Fixes #123, Closes #456]

4. Capture AI Context Changes

If any AI context assets were modified in this commit, add a Context: section to the commit body:

feat(orchestrator): add retry logic for session recovery

Added exponential backoff when SDK subprocess crashes mid-session.
Previously a single crash would fail the entire workflow.

Context:
- Updated .claude/rules/orchestrator.md with retry conventions
- Added .claude/commands/debug-session.md for session state inspection
- Surfaced issue: mock.module() in retry tests needs isolated batch

Fixes #482

What counts as AI context changes:

  • .claude/rules/ — on-demand conventions added, updated, or removed
  • .claude/commands/ — slash commands created or modified
  • .claude/docs/ — reference docs added or updated
  • AGENTS.md — global rules changes
  • .archon/workflows/ or .archon/commands/ — workflow or command definitions

Read the full file on GitHub · 87 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. 12d ago Changed 765309931fe1
  2. 1mo ago First seen · 87 lines · 7 tokens per session scan A f98227f52ed9

Subscribe to this mod's changes

commit is a command published in the GitHub repository coleam00/Archon (23,704 stars, last pushed today), licensed MIT. It adds 7 tokens to every session and 579 once invoked, about $0.0000 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-30.