ops-ci-fix

ops-ci-fix is a skill for Claude Code from christopherlouet/claude-base. It costs 46 tokens per session (1,332 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: argument-hint 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/github.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/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 ops-ci-fix

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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,332 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.01332
Opus 5.5 $0.00018 $0.00533
Sonnet 5.5 $0.00009 $0.00266
Haiku 4.5 $0.00005 $0.00133

Measured 25d ago against content hash 3b0db5a2198d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 25d 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 · 163 lines

How it starts

The opening of the file, as written. The whole thing — 163 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 · 163 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. 25d ago Changed · -3 lines 3b0db5a2198d
  2. 26d ago Changed · -6 lines b22eb24ca345
  3. 27d ago Changed · -1 lines 0e1755c88cc1
  4. 1mo 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 4d ago), licensed MIT. It adds 46 tokens to every session and 1,332 once invoked, about $0.0002 per session on Opus 5.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

monitoring-observability

OpenTelemetry, structured logging, distributed tracing, alerting, and dashboards. Use when instrumenting services, designing logs/traces/metrics, defining SLOs and alerts, or debugging production behavior from telemetry.

travisjneuman/.claude · 48 tokens

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

agent-mobile-release-manager

Specialist subagent: App store submissions, mobile CI/CD, ASO, code signing, and beta distribution specialist. Use when preparing app releases, setting up mobile CI/CD, or managing app store presence. Trigger phrases: app store, Play Store, TestFlight, release, code signing, provisioning profile, Fastlane, ASO, beta…

travisjneuman/.claude · 83 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

agent-devsecops-engineer

Specialist subagent: CI/CD security, SAST/DAST pipelines, supply chain security, container scanning, and security automation specialist. Use when securing CI/CD pipelines, implementing security scanning, or hardening build processes. Trigger phrases: DevSecOps, SAST, DAST, supply chain security, container scanning…

travisjneuman/.claude · 89 tokens

mobile-cicd

Fastlane, GitHub Actions for mobile, code signing (iOS provisioning, Android keystores), beta distribution (TestFlight, Firebase App Distribution), and app store submissions. Use when setting up mobile build pipelines, automating releases, or managing signing.

travisjneuman/.claude · 57 tokens