agentrig: Skill for Claude Code

.agents/skills/fix-ci/SKILL.md

fix-ci is a skill for Claude Code from doidor/agentrig. It costs 21 tokens per session (219 once invoked), scanned A, original, MIT.

A coding-agent workflow for finding why the current branch’s automated checks fail, fixing the underlying cause, and checking the result again.

In plain words
What is it for?
Use it to inspect failed job logs, reproduce the smallest failing command locally, fix the code or configuration, and rerun verification up to three times.
Why use it?
It turns scattered CI logs and local debugging into a repeatable process. It helps avoid hiding failures by disabling tests or fixing only symptoms.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is doidor/agentrig's own configuration. It tells Claude Code how to work on agentrig itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agentrig configures →

Reuse

Borrowing it

Nothing to install: this file belongs to doidor/agentrig. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/doidor/agentrig/main/.agents/skills/fix-ci/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/doidor/agentrig

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/doidor/agentrig/fix-ci"><img src="https://agentmods.dev/badge/skills/doidor/agentrig/fix-ci.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 219 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.00021 $0.00219
Opus 5.5 $0.00008 $0.00088
Sonnet 5.5 $0.00004 $0.00044
Haiku 4.5 $0.00002 $0.00022

Measured 29d ago against content hash a9bad173b6c6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 29d 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.

.agents/skills/fix-ci/SKILL.md · 19 lines

What it actually says

Fix CI

  1. Inspect logs for the failing run and confirm they belong to the current branch and commit. Capture the failing command and output before editing.
  2. Reproduce with the smallest relevant check from AGENTS.md Commands; distinguish a code failure from an unrelated environment or infrastructure failure.
  3. Fix the root cause without disabling tests or weakening checks. Use self-verify to run relevant commands and compare the before and after states, including any asynchronous CI result for the new commit. Stop after three unsuccessful iterations and report the blocker.
  4. Record a newly discovered gotcha in an existing wiki or knowledge base; if none exists, report the failing command, observed output, and prevention to the human instead. Do not install a wiki just for this. Sharpen an existing instruction if it would have prevented the failure.
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. 29d ago Changed · +1 lines a9bad173b6c6
  2. 2mo ago First seen · 18 lines · 21 tokens per session scan A 25582128126f

Subscribe to this mod's changes

fix-ci is a skill published in the GitHub repository doidor/agentrig (5 stars, last pushed 28d ago), licensed MIT. It adds 21 tokens to every session and 219 once invoked, about $0.0001 per session on Opus 5.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-31.

Related

Other skills, from other repositories

chinese-git-workflow

A reference for configuring Git with Chinese code-hosting services such as Gitee, Coding.net, GitLab China, and CNB, including SSH, HTTPS, credentials, CI, and repository mirroring.

jnMetaCode/superpowers-zh · 69 tokens

atmos-profiles

Atmos profiles: profile directories, --profile and ATMOSPROFILE activation, profile merge behavior, environment switching, and routing profile-specific auth/toolchain/config overrides.

cloudposse/atmos · 35 tokens

webhook-management

Configure and validate CCAM webhook targets across supported chat, incident, automation, and generic providers. Use when listing provider requirements, creating or updating a target, scoping it to alert rules, sending a test notification, reviewing delivery history, or deleting a target.

hoangsonww/Claude-Code-Agent-Monitor · 56 tokens

managing-github-actions-secrets

Creates and updates GitHub Actions secrets for PostHog workflows. Use when adding a new CI secret, rotating an existing secret, wiring a workflow to an API token, package registry credential, deploy key, or any value referenced via ${{ secrets. }} in .github/workflows/.

PostHog/posthog-foss · 67 tokens

monorepo-management

Master monorepo management with Turborepo, Nx, and pnpm workspaces to build efficient, scalable multi-package repositories with optimized builds and dependency management. Use when setting up monorepos, optimizing builds, or managing shared dependencies.

wshobson/agents · 54 tokens

deployment-engineer

Expert deployment engineer specializing in modern CI/CD pipelines, GitOps workflows, and advanced deployment automation. Masters GitHub Actions, ArgoCD/Flux, progressive delivery, container security, and platform engineering. Handles zero-downtime deployments, security scanning, and developer experience optimization.…

rmyndharis/antigravity-skills · 77 tokens