ci

ci is a command for Claude Code from coleam00/Archon. It costs 0 tokens per session (2,688 once invoked), scanned A, original, MIT.

A pull-request command that marks a change ready, waits for its continuous integration checks, and interprets the result. Continuous integration is the automated build and test process run by a project after changes are submitted.

In plain words
What is it for?
Use it after review to prepare a pull request for merging, wait for checks on the current commit, and respond to their outcome.
Why use it?
It avoids treating a change as complete before the project's full automated validation has finished. It also records whether the checks passed, failed, or could not be completed.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it after review to prepare a pull request for merging, wait for checks on the current commit, and respond to their outcome.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/coleam00/archon/ci
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,701 stars · on GitHub · archon.diy

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.

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 ci

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/coleam00/archon/ci"><img src="https://agentmods.dev/badge/commands/coleam00/archon/ci.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,688 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.00000 $0.02688
Opus 5.5 $0.00000 $0.01075
Sonnet 5.5 $0.00000 $0.00538
Haiku 4.5 $0.00000 $0.00269

Measured today against content hash c798c617541d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ci 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 today.

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.

.archon/workflows/sdlc/deliver/commands/ci.md · 56 lines

How it starts

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

Wait for CI and judge it

The pull request's review has passed. CI is the project's full validation: the implementer checked only what it changed. Mark the pull request ready, wait for its CI to conclude on the current head, judge what the result means, and act on it. No one watches this run; your structured answer and $ARTIFACTS_DIR/ci.md are all the next node reads.

The pull request is the one this round published: $INPUTS.pr. That record names its repository (repo.host, repo.path), number, head branch and base; act on exactly that pull request, never one found from the checkout's remotes or branch. Every forge read and write goes through the source this run selected, $INPUTS.source:

  • forge: the Archon CLI, whose argv is the JSON string array in $ARCHON_CLI_COMMAND, run as <argv...> forge <op> --json --data '<request>'. With <ref> = {"repo":{"host":…,"path":…},"number":…} from the record: pr.view takes {"selector":{"kind":"number","ref":<ref>}}; pr.ready, pr.draft and checks.state take {"ref":<ref>}; checks.rerun takes {"ref":<ref>,"revision":…,"units":[…]}. A checks.state answer carries the revision it evaluated, each unit's conclusion, and a summary whose counts give the number of units in each state and whose state (none, pending, green, red, gated or unknown) is the worst unit's: one red unit makes it red while others are still pending. A failed operation is the answer: report it, and never repeat it through gh.
  • gh: the GitHub CLI, every command naming the repository with --repo <host>/<path>: in a clone of a fork, gh otherwise resolves the upstream parent.

Mark it ready, then wait

If the pull request is merged, declare green: there is nothing to mark. If it is closed without a merge, declare other and say so. Otherwise confirm the pull request's head is this checkout's HEAD: CI is never judged against a stale head. When the pull request's head is an ancestor of HEAD (a commit was made here but not pushed), push HEAD to the pull request's head branch by name (git push <remote> HEAD:refs/heads/<branch>; never force, never let git pick an upstream) and read the remote head back. If the push fails, or the two heads have diverged, declare other with the evidence. When the pull request's head carries commits this checkout's HEAD does not, someone pushed after this round's review and no review covered them: do not mark it ready, put it back to draft if it is ready, and declare other naming those commits. A continuation delivery reviews them before the pull request counts as ready again.

Read the full file on GitHub · 56 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. today Changed · +3 lines c798c617541d
  2. yesterday Changed · +2 lines fa3f4bd09e71
  3. 2d ago First seen · 51 lines · 0 tokens per session scan A 8aeeb6eefc41

Subscribe to this mod's changes

ci is a command published in the GitHub repository coleam00/Archon (23,701 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,688 tokens. 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-10-15.