ops-ci-fix

ops-ci-fix is a skill for Claude Code from christopherlouet/claude-base. It costs 46 tokens per session (1,373 once invoked), scanned C, original, MIT.

A troubleshooting guide for broken CI/CD pipelines, which are automated checks and deployments for a software project.

In plain words
What is it for?
Use it to inspect GitHub Actions workflows, read failed-run logs, check runners, classify failures, and repair pipeline problems.
Why use it?
It helps find why a workflow failed, became stuck, or stopped running successfully, then apply a safe fix.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Good fit Use it to inspect GitHub Actions workflows, read failed-run logs, check runners, classify failures, and repair pipeline problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/christopherlouet/claude-base/ops-ci-fix
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.

Any agent
npx skills add christopherlouet/claude-base --skill 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/skills/christopherlouet/claude-base/ops-ci-fix.svg)](https://agentmods.dev/skills/christopherlouet/claude-base/ops-ci-fix)
Your own site
<a href="https://agentmods.dev/skills/christopherlouet/claude-base/ops-ci-fix"><img src="https://agentmods.dev/badge/skills/christopherlouet/claude-base/ops-ci-fix.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,373 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00046 $0.01373
Opus 5 $0.00023 $0.00687
Sonnet 5 $0.00009 $0.00275
Haiku 4.5 $0.00005 $0.00137

Measured 4d ago against content hash 789fd68bc1f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade C, and why

ops-ci-fix scanned grade C with 1 finding 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 4d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

3. **Fix deps**: corrupted lockfile → `rm -rf node_modules package-lock.json && npm install`
.claude/skills/ops-ci-fix/SKILL.md · 173 lines

How it starts

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

CI Fixer — CI/CD Diagnosis and Repair

Goal

Diagnose failing CI/CD pipelines, identify the root cause, and apply automatic fixes when safe.

Phase 1: Discovery and workflow state

Scan the workflows

# List recent runs
gh run list --limit 20 --json databaseId,status,conclusion,name,createdAt,headBranch

# Identify workflow files
ls -la .github/workflows/

Classify the state

State Criterion Urgency
Failed conclusion = failure High
Stuck status = in_progress for > 30 min High
Cancelled conclusion = cancelled (recurring) Medium
Stale No successful run for 7+ days Low

Check the runners (if self-hosted)

# Runner status
gh api repos/{owner}/{repo}/actions/runners --jq '.runners[] | {name, status, busy}'

Phase 2: Failure diagnosis

For each failing workflow:

2.1 Extract the logs

# Logs of the failed run
gh run view <run-id> --log-failed

2.2 Classify the cause

Category Patterns in logs Typical fix
Test failure FAIL, AssertionError, expect( Fix the test or the code
Build error error TS, SyntaxError, cannot find Fix the compilation error
Dep install npm ERR!, ERESOLVE, peer dep Fix package.json / lockfile
Auth/secrets 401, 403, secret not found Check the configured secrets
Timeout timed out, exceeded deadline Increase timeout or optimize
Disk space no space left, ENOSPC Clean caches / reduce artifacts
Rate limit rate limit, 429 Add retry / space out the requests
Runner offline no runner matching, offline Check self-hosted runners
Flaky test Sometimes passes, sometimes fails Identify the flaky test, stabilize it
Config error invalid workflow, syntax error Fix the workflow YAML

2.3 Distinguish local error vs CI-only

Read the full file on GitHub · 173 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. 4d ago First seen · 173 lines · 46 tokens per session scan C 789fd68bc1f3

Subscribe to this mod's changes

ops-ci-fix is a skill published in the GitHub repository christopherlouet/claude-base (5 stars, last pushed today), licensed MIT. It adds 46 tokens to every session and 1,373 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

devops-cloud

DevOps, cloud infrastructure, and platform engineering. Use when working with AWS, GCP, Azure, Kubernetes, Terraform, CI/CD pipelines, or infrastructure as code.

travisjneuman/.claude · 38 tokens

debug-systematic

Systematic 4-phase debugging methodology for complex, intermittent, or mysterious issues. Use when investigating bugs, race conditions, or unexplained failures.

travisjneuman/.claude · 33 tokens

claude-md-drift-check

Use when detecting drift between CLAUDE.md (or AGENTS.md, the Codex CLI alias) / meta narrative and live repository state. Ten checks: absolute-path resolution, 01-projects/ count claims, issue-reference freshness, session-file existence, command-count sync, session-config-parity (mandatory template keys = error…

Kanevry/session-orchestrator · 190 tokens

discovery

Use this skill when running systematic quality discovery and issue detection. Runs modular probes adapted to the project's tech stack, presents findings interactively for user triage, and creates VCS issues for confirmed problems. Invoked standalone via /discovery or embedded in session-end.

Kanevry/session-orchestrator · 56 tokens

test-runner

Use this skill when orchestrating agentic end-to-end tests. Resolves target + profile, dispatches the right driver(s) (playwright for web today, peekaboo for macOS (issue #381)), invokes the ux-evaluator agent (opus, read-only) against driver artifacts, reconciles findings with the open issue tracker via…

Kanevry/session-orchestrator · 124 tokens

tmux-layout

Use this skill when the operator wants a prepared tmux visualization layout for the session's side-channels (STATE.md tail, CI-watch, events.jsonl tail). Renders a 4-pane default layout or debug layout. Read-only side-channel observability — the coordinator chat stays in the operator's original terminal. Trigger…

Kanevry/session-orchestrator · 99 tokens