ops-ci-fix

ops-ci-fix is a command for Claude Code from christopherlouet/claude-base. It costs 0 tokens per session (326 once invoked), scanned A, original, MIT.

A CI/CD troubleshooting command for automated build and test pipelines. CI/CD is the system that checks, builds, and sometimes deploys code whenever changes are made.

In plain words
What is it for?
Use it to inspect GitHub Actions workflows, analyse logs, fix safe configuration problems, rerun checks, and list remaining manual tasks.
Why use it?
It helps find why a pipeline failed, became stuck, or stopped updating, while separating safe fixes from risky ones.

Command for Claude Code

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/christopherlouet/claude-base/ops-ci-fix
Clone the repo
git clone --depth 1 https://github.com/christopherlouet/claude-base

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 ops-ci-fix

README.md
[![agentmods](https://agentmods.dev/badge/commands/christopherlouet/claude-base/ops-ci-fix.svg)](https://agentmods.dev/commands/christopherlouet/claude-base/ops-ci-fix)
Your own site
<a href="https://agentmods.dev/commands/christopherlouet/claude-base/ops-ci-fix"><img src="https://agentmods.dev/badge/commands/christopherlouet/claude-base/ops-ci-fix.svg" alt="Measured on agentmods" 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 326 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.1 $0.00000 $0.00326
Opus 5 $0.00000 $0.00163
Sonnet 5 $0.00000 $0.00065
Haiku 4.5 $0.00000 $0.00033

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

Security

Grade A, and why

ops-ci-fix 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.

.claude/commands/ops/ops-ci-fix.md · 51 lines

What it actually says

OPS-CI-FIX Agent

Diagnose and repair failing CI/CD pipelines.

Request context

$ARGUMENTS

Objective

Scan GitHub Actions workflows, identify failure causes, and apply automatic fixes when safe.

Use the ops-ci-fix skill for the detailed methodology.

Workflow

  • Scan workflows and classify their state (failure, blocked, stale)
  • Extract failure logs and diagnose the root cause
  • Classify: test failure, build error, deps, auth, timeout, config
  • Apply safe fixes (re-run, cancel stuck, fix YAML)
  • Propose without applying risky fixes (source code, secrets)
  • Verify the fixes (local tests + CI re-run)
  • Generate a report with remaining manual actions

Expected output

  1. Diagnosis: table of workflows with identified cause
  2. Applied fixes: list of corrections made
  3. Manual actions: checklist for the user (secrets, runners)
  4. Recommendations: long-term improvements (cache, flaky tests)
Agent Usage
/ops:ops-ci Configure new CI pipelines
/ops:ops-standup View the global state of the repos
/dev:dev-debug Debug a specific test

IMPORTANT: Always diagnose BEFORE fixing.

IMPORTANT: Never modify secrets — guide the user.

YOU MUST show the diff before modifying a workflow file.

NEVER force-push or modify git history.

Think hard about the root cause — a re-run is not a fix.

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 · 51 lines · 0 tokens per session scan A b3f42cff7679

Subscribe to this mod's changes

ops-ci-fix is a command published in the GitHub repository christopherlouet/claude-base (5 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 326 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-09-03.