ci

ci is a command for coding agents from ilyasibrahim/claude-agents-coordination. It costs 16 tokens per session (1,424 once invoked), scanned A, original, Unlicense.

A command that runs a project's local continuous-integration checks. Continuous integration, or CI, automatically checks code changes; these checks include formatting, type checking, building, testing, and security gates.

In plain words
What is it for?
Use it to run all available checks, run a quicker lint-and-build pass, or include extra security checks for JavaScript, Python, or Go projects.
Why use it?
It lets you find problems before pushing code or opening a pull request. The checks run in order and stop when one fails, making the first issue easier to locate.

Command

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 commands/ilyasibrahim/claude-agents-coordination/ci
Clone the repo
git clone --depth 1 https://github.com/ilyasibrahim/claude-agents-coordination

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/ilyasibrahim/claude-agents-coordination/ci.svg)](https://agentmods.dev/commands/ilyasibrahim/claude-agents-coordination/ci)
Your own site
<a href="https://agentmods.dev/commands/ilyasibrahim/claude-agents-coordination/ci"><img src="https://agentmods.dev/badge/commands/ilyasibrahim/claude-agents-coordination/ci.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,424 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.00016 $0.01424
Opus 5 $0.00008 $0.00712
Sonnet 5 $0.00003 $0.00285
Haiku 4.5 $0.00002 $0.00142

Measured 5d ago against content hash 9117631ae029, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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.

claude-user/commands/ci.md · 233 lines

How it starts

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

Local CI Pipeline

Run comprehensive CI gates locally before pushing code.

Usage

/ci                    # Run all gates
/ci --quick           # Lint + build only
/ci --security        # All gates + extra security

Pipeline Gates

Execute gates sequentially. Stop on first failure.

Gate 1: Lint & Format

# Detect project type and run appropriate linter
if [ -f "package.json" ]; then
    npm run lint 2>/dev/null || npx eslint . --ext .js,.ts,.tsx
    npm run format:check 2>/dev/null || npx prettier --check .
fi

if [ -f "pyproject.toml" ] || [ -f "setup.py" ]; then
    ruff check . 2>/dev/null || python -m flake8 .
    black --check . 2>/dev/null || true
fi

if [ -f "go.mod" ]; then
    go fmt ./...
    golangci-lint run 2>/dev/null || true
fi

Pass criteria: No lint errors, code formatted

Gate 2: Type Check

# TypeScript
if [ -f "tsconfig.json" ]; then
    npx tsc --noEmit
fi

# Python
if [ -f "pyproject.toml" ]; then
    mypy . 2>/dev/null || pyright . 2>/dev/null || true
fi

Pass criteria: No type errors

Gate 3: Build

# Node.js
if [ -f "package.json" ]; then
    npm run build
fi

# Python
if [ -f "setup.py" ] || [ -f "pyproject.toml" ]; then
    pip install -e . 2>/dev/null || python -m build
fi

# Go
if [ -f "go.mod" ]; then
    go build ./...
fi

# Docker
if [ -f "Dockerfile" ]; then
    docker build -t ci-test .
fi

Pass criteria: Build succeeds without errors

Gate 4: Test

# Node.js
if [ -f "package.json" ]; then
    npm test -- --coverage --passWithNoTests
fi

# Python
if [ -f "pytest.ini" ] || [ -f "pyproject.toml" ]; then
    pytest --cov --cov-fail-under=80 2>/dev/null || pytest
fi

# Go
if [ -f "go.mod" ]; then
    go test -cover ./...
fi

Pass criteria: Tests pass, coverage >= 80% (if enforced)

Gate 5: Security Scan

# Node.js dependencies
if [ -f "package-lock.json" ]; then
    npm audit --audit-level=high
fi

# Python dependencies
if [ -f "requirements.txt" ]; then
    pip-audit 2>/dev/null || safety check 2>/dev/null || true
fi

# Secret detection
npx secretlint "**/*" 2>/dev/null || \
    gitleaks detect --source . 2>/dev/null || \
    trufflehog filesystem . 2>/dev/null || \
    echo "No secret scanner available - manual review required"

Read the full file on GitHub · 233 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. 5d ago First seen · 233 lines · 16 tokens per session scan A 9117631ae029

Subscribe to this mod's changes

ci is a command published in the GitHub repository ilyasibrahim/claude-agents-coordination (83 stars, last pushed 3mo ago), licensed Unlicense. It adds 16 tokens to every session and 1,424 once invoked, about $0.0001 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-30.