rpi-fix-ci

rpi-fix-ci is a skill for Claude Code from juan294/cc-rpi. It costs 28 tokens per session (826 once invoked), scanned A, original, MIT.

A workflow for finding the root causes of existing continuous-integration failures and repairing them locally. Continuous integration is the automated process that builds and checks changes; the workflow also verifies the repair before publication.

In plain words
What is it for?
Use it to inspect a failed run, group failures by cause, repair test, type-check, lint, or build problems, and verify the result locally.
Why use it?
It prevents developers from treating individual failed checks as separate problems or relying on incomplete logs, and keeps hosted jobs from being rerun just to collect evidence.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions Codex.

Part of the cc-rpi plugin — 36 skills, 19 commands, 2 hooks shipped together

Good fit Use it to inspect a failed run, group failures by cause, repair test, type-check, lint, or build problems, and verify the result locally.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/juan294/cc-rpi/rpi-fix-ci
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 juan294/cc-rpi --skill rpi-fix-ci
Clone the repo
git clone --depth 1 https://github.com/juan294/cc-rpi

Made for: Claude Code.

Or install cc-rpi, the plugin that ships this one along with the rest of its 36 skills, 19 commands, 2 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/juan294/cc-rpi/rpi-fix-ci"><img src="https://agentmods.dev/badge/skills/juan294/cc-rpi/rpi-fix-ci.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 826 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.00028 $0.00826
Opus 5 $0.00014 $0.00413
Sonnet 5 $0.00006 $0.00165
Haiku 4.5 $0.00003 $0.00083

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

Security

Grade A, and why

rpi-fix-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 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.

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.

generated/claude/skills/rpi-fix-ci/SKILL.md · 64 lines

How it starts

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

The request is supplied as literal arguments: $ARGUMENTS

Repair Existing CI Failures

Use the failed run/candidate and authorized repair scope in the request. Read controlling instructions, test contracts and the durable handoff completely. Revalidate the actual worktree, branch and failed commit before reusing prior diagnoses or check results. Keep repairs in an owned local branch/worktree.

Process

  1. Identify the exact failed run and candidate. Inspect existing runs with gh run list --branch <branch> --commit <sha> --json databaseId,headSha,conclusion,status,name. Missing or pending checks are not passes. If there is no failure, report and stop.
  2. Read existing failure logs with gh run view <run-id> --log-failed. Locate the failed command and enough surrounding output to explain it; a truncated tail alone may omit the cause. Do not rerun hosted jobs to collect evidence.
  3. Inventory test, typecheck, lint and build failures, then group them by likely root cause and affected file ownership. One cause breaking many tests is one investigation, with every affected test retained in its verification scope.
  4. Keep narrow repairs with the parent. Delegate useful independent local work only within the current authorized phase. Each assignment states objective, permitted actions/files, evidence/output, resource constraints and completion condition. Keep at most three simultaneous implementers; available slots and tool contention may require fewer. One integration owner inspects every result; a missing or failed assignment remains an explicit unresolved gap.
  5. Reproduce each cause locally. Read the failing test and relevant implementation to the depth needed; reuse valid prior reads. For behavioral defects, first confirm an existing regression fails or write and run a failing regression that captures the invariant, then make the minimum correct fix. Executable CI/config behavior needs a regression oracle too. Never weaken or delete a valid test to obtain a pass. Use appropriate deterministic checks for non-behavioral edits.
  6. Run targeted checks sequentially after each fix. Preserve every command's status. A flaky failure remains unresolved until evidence explains it; a local pass alone cannot erase the reported CI failure.
  7. Obtain independent review of cause, changes, regression coverage and all known failure dispositions. Inspect every required reviewer result; missing review blocks acceptance. Repair confirmed findings, record false-positive evidence and surface only unresolved architecture/new-scope decisions for a new decision.
  8. Run the native simplify pass or Codex simplify helper on changed files, then the complete local CI-equivalent gate, including applicable tests, coverage, typechecks, lint and build. Sequence resource-intensive checks and preserve all exits. Repeat diagnosis for new failures while meaningful local progress is possible; if an external dependency or new decision blocks progress, report the concrete unresolved cause and next action instead of claiming completion.
  9. Save the durable handoff with every failure's disposition, changed scope and exact check/candidate identity. Commit with a factual conventional message and integrate the completed verified change locally. Verify branch identity first. Inspect hosted triggers before any single authorized integration push; never create Previews, publish working branches, rerun hosted jobs or use a fix-and- repush debugging loop. Production publication needs its own explicit authority.

Read the full file on GitHub · 64 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 64 lines · 28 tokens per session scan A 40b110d225ac

Subscribe to this mod's changes

rpi-fix-ci is a skill published in the GitHub repository juan294/cc-rpi (5 stars, last pushed 5d ago), licensed MIT. It adds 28 tokens to every session and 826 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-09-06.

Related

Other skills, from other repositories

ci-repair

Fix CI failures by fetching GitHub Actions logs, dispatching dev to fix, verifying locally, and pushing.

yimwoo/codex-agenteam · 26 tokens

autonomous-loops

Patterns and architectures for autonomous Claude Code loops — from simple sequential pipelines to RFC-driven multi-agent DAG systems.

affaan-m/ECC · 26 tokens

deployment-patterns

Deployment workflows, CI/CD pipeline patterns, Docker containerization, health checks, rollback strategies, and production readiness checklists for web applications. Use when setting up deployment infrastructure or planning releases.

affaan-m/ECC · 41 tokens

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

affaan-m/ECC · 46 tokens

meta-long-running-build-watchdog

Watches a long-running command via tmux, lets sub-agent diagnose failures and propose a fix, and records the diagnosis to memory. Designed for overnight model fine-tunes, CI image builds, or repeated regression suites that may fail intermittently.

opensquilla/opensquilla · 131 tokens

ci-debug

Diagnose a failing CI run against an 11-pattern playbook. Classifies the failure, cites the relevant memory entry, proposes the exact fix command — but NEVER applies without explicit user approval. Use when a specific PR check or GitHub Actions run failed and you want a diagnosis instead of speculation. Don't use for…

yonatangross/orchestkit · 92 tokens