ci-fixer

ci-fixer is a skill for Claude Code, Codex from sipyourdrink-ltd/bernstein. It costs 15 tokens per session (377 once invoked), scanned A, original, Apache-2.0.

A focused workflow for diagnosing a continuous-integration failure, making the smallest code change that fixes it, and checking the result locally. Continuous integration is the automated process that runs checks such as tests, formatting, and linting when code changes.

In plain words
What is it for?
Use it to inspect CI error output, fix code or configuration issues, run the relevant checks, and commit the verified fix.
Why use it?
It keeps CI repairs targeted and avoids unrelated refactoring or changes to tests that are failing for valid reasons.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect CI error output, fix code or configuration issues…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sipyourdrink-ltd/bernstein/ci-fixer
About the project

Bernstein is an open-source governance layer for AI agents that applies written policies, schedules agent work deterministically, controls approvals, and records verifiable execution history. It is used to coordinate CLI coding agents and other agent workloads, including parallel runs and offline review, while the catalogue entries provide its agent workflows and controls.

sipyourdrink-ltd/bernstein · 1,108 stars · on GitHub · bernstein.run

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 sipyourdrink-ltd/bernstein --skill ci-fixer
Clone the repo
git clone --depth 1 https://github.com/sipyourdrink-ltd/bernstein

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/sipyourdrink-ltd/bernstein/ci-fixer.svg)](https://agentmods.dev/skills/sipyourdrink-ltd/bernstein/ci-fixer)
Your own site
<a href="https://agentmods.dev/skills/sipyourdrink-ltd/bernstein/ci-fixer"><img src="https://agentmods.dev/badge/skills/sipyourdrink-ltd/bernstein/ci-fixer.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 377 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.00015 $0.00377
Opus 5 $0.00008 $0.00188
Sonnet 5 $0.00003 $0.00075
Haiku 4.5 $0.00002 $0.00038

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

Security

Grade A, and why

ci-fixer 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 7d 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.

templates/skills/ci-fixer/SKILL.md · 47 lines

What it actually says

CI Fixer Skill

Your sole job: read a CI failure report, make the minimal targeted fix, verify locally, and commit.

Specialization

  • Diagnosing CI failures from error output.
  • Making minimal, targeted fixes.
  • Verifying lint, format, and test compliance.

Work style

  1. Read the failure context in the task description carefully.
  2. Identify the root cause from the error output and affected files.
  3. Make the smallest change that fixes the failure - no refactoring, no improvements.
  4. Verify locally before committing.

Rules

  • Fix ONLY what is broken. Do not touch unrelated files.
  • If a test is failing, fix the code, not the test - unless the test is wrong.
  • If a lint rule is violated, fix the code to comply. Do not disable the rule.
  • If a type error is reported, add or correct type annotations. Do not use type: ignore unless there is no other option.
  • If a dependency is missing, add it to pyproject.toml.
  • If you cannot determine the fix, report the failure details and mark the task as failed. Do not guess.

Project conventions

  • Python 3.12+, strict typing (Pyright strict). No Any, no untyped dicts.
  • Ruff: uv run ruff check src/, uv run ruff format src/.
  • Test runner: uv run python scripts/run_tests.py -x (NEVER uv run pytest tests/ directly).
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. 7d ago First seen · 47 lines · 15 tokens per session scan A f1874c10e6ad

Subscribe to this mod's changes

ci-fixer is a skill published in the GitHub repository sipyourdrink-ltd/bernstein (1,108 stars, last pushed today), licensed Apache-2.0. It adds 15 tokens to every session and 377 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-08-30.

Related

Other skills, from other repositories

mcore-create-issue

Investigate a failing GitHub Actions run or job and create a GitHub issue for the failure.

NVIDIA/skills · 26 tokens

debug-task

Diagnose and fix moon tasks that are broken, misconfigured, or behaving unexpectedly. Use this skill when a moon task is failing, not running, skipped, hanging, producing stale or wrong output, cached when it shouldn't be, re-running every time when it should be cached, or when outputs are empty or missing after a…

moonrepo/moon · 231 tokens

github-ci-fix

Fix failing GitHub CI / Actions checks via fixgithubprci and push to the existing PR head, or fix a branch's failing CI via a linked repair worktree.

Tracer-Cloud/opensre · 40 tokens

github-ci-fix

Use when the user asks OpenSRE to fix failing GitHub CI, GitHub Actions checks, failing pull request checks, a broken PR branch, or CI on a named branch such as main.

Tracer-Cloud/opensre · 45 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

tracely

Instrument AI agents with Tracely and turn their production traces into CI gates. Use when the user mentions Tracely, tracely-ai, tracelysdk, the tracely CLI, or asks to trace/observe an AI agent, add LLM evaluators or LLM-as-a-judge columns, debug why a trace or conversation isn't showing up, wire agent regression…

Jwuthri/Tracely-ai · 120 tokens