Skip to content
Skill

Ci

Diagnoses failing CI pipelines and proposes fixes for build and test errors

Ci is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
3.2K
Last commit
License
MIT
Listing updated

Similar skills

About Ci

This skill guides an agent through triaging a failing CI run. It first decides whether the failure comes from the implementation, an outdated test expectation, or the environment, and it blocks shortcuts such as skipping tests, deleting assertions, bypassing checks with continue-on-error, or loosening lint rules. When a test or configuration change is unavoidable, the agent must present the reason, the diff and alternatives for explicit user approval before proceeding.

For root-cause work the skill recommends reading git history with structured log options (formatted hashes, topological order, raw file changes) to tie a failure to a specific commit. Failure analysis and test repair are split into separate reference documents, and after repeated fix-and-rerun loops or failures spanning several files, the agent can hand the work to a ci-cd-fixer subagent, which defaults to a dry-run mode.

The instructions are written in Japanese and expect the agent to have access to CI logs, the repository and git. The skill ships as a Markdown folder with reference files and no bundled scripts.

When your agent uses it

CI red? Call us. Pipeline fire brigade deploys. Use when user mentions CI failures, build errors, test failures, or pipeline issues. Do NOT load for: local builds, standard implementation work, reviews, or setup.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 3 files (17 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the harness plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add Chachamaru127/claude-code-harness
/plugin install harness@claude-code-harness-marketplace

Or copy only this skill to ~/.claude/skills/ci:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Chachamaru127/claude-code-harness.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ci &&
cp -R "$tmp/opencode/skills/ci" ~/.claude/skills/ci &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/ci inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/ci to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Chachamaru127/claude-code-harness.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ci &&
cp -R "$tmp/opencode/skills/ci" ~/.agents/skills/ci &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/ci inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/ci to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Chachamaru127/claude-code-harness.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ci &&
cp -R "$tmp/opencode/skills/ci" ~/.cursor/skills/ci &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/ci inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/Chachamaru127/claude-code-harness.git --path opencode/skills/ci

Or copy the folder to ~/.gemini/skills/ci yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/ci:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Chachamaru127/claude-code-harness.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ci &&
cp -R "$tmp/opencode/skills/ci" ~/.copilot/skills/ci &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/ci inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/Chachamaru127/claude-code-harness.git

Then copy claude-code-harness/opencode/skills/ci into your agent's skills folder as ci. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Failure cause triage
Sorts each CI failure into an implementation bug, an outdated test expectation or an environment problem before any change is made.
Tampering guardrails
Forbids test skipping, assertion removal, CI check bypasses and lint rule relaxation as ways to make a build pass.
Approval workflow for test changes
Requires a documented reason, diff and alternatives, then explicit user approval before test or configuration edits.
Commit history analysis
Uses structured git log options to identify the commit most likely responsible for a failure.
Subagent escalation
Delegates repeated fix-and-rerun loops or multi-file failures to a ci-cd-fixer subagent running in dry-run mode by default.

Good for

  • Find out why the GitHub Actions pipeline turned red after my last push
  • Analyze the build error logs and explain the root cause
  • Fix the failing unit tests without deleting any assertions
  • Work out which commit introduced a type error that broke CI
  • Repair a broken pipeline step after a dependency change

Ci FAQ

When does Ci trigger?

It is meant for requests mentioning CI failures, build errors, test failures or pipeline issues, and it should not load for local builds, standard implementation work, reviews or setup.

Can the agent skip or edit failing tests on its own?

No. Skipping tests, removing assertions or changing expected values requires presenting the change and getting explicit user approval first.

Does Ci run scripts?

No scripts are bundled. The skill relies on the agent running git commands and reading CI logs and reference files.

How do I install Ci in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/ci to use it in all your projects, or to .claude/skills/ci in one project. Or install the harness plugin, which includes it: /plugin marketplace add Chachamaru127/claude-code-harness, then /plugin install harness@claude-code-harness-marketplace.

Which AI agents can use Ci?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Ci?

The closest alternatives to Ci are Diagnose ci gate, Fix ci, Ci forensics, Ci cd and Correct.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from Chachamaru127/claude-code-harness

  1. Guards upstream Claude and Codex update reviews against docs-only feature additions

    • Open source
    • 3.2K GitHub stars
    • Developer tools
  2. Lets an agent drive a browser via the agent-browser CLI for UI checks and forms

    • Open source
    • 3.2K GitHub stars
    • Browser automation
  3. Gets a read-only second opinion from Cursor's Composer agent on questions and designs

    • Open source
    • 3.2K GitHub stars
    • Developer tools
  4. Hands one write task to Cursor Composer in an isolated worktree, then reviews

    • Open source
    • 3.2K GitHub stars
    • Developer tools
  5. Gets an advisory second-opinion review of a diff from Cursor Composer, read-only

    • Open source
    • 3.2K GitHub stars
    • Developer tools
  6. Sets up and checks the Cursor backend for Claude Code Harness

    • Open source
    • 3.2K GitHub stars
    • Developer tools