# Ci

> Ci is an open-source agent skill for developer tools. Diagnoses failing CI pipelines and proposes fixes for build and test errors. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/Chachamaru127/claude-code-harness/tree/main/opencode/skills/ci
- **Repository:** https://github.com/chachamaru127/claude-code-harness
- **GitHub stars:** 3,232
- **License:** MIT
- **Skill name:** ci
- **Collection:** https://github.com/Chachamaru127/claude-code-harness
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/Chachamaru127/claude-code-harness/tree/HEAD/opencode/skills/ci)
- [License: MIT](https://github.com/Chachamaru127/claude-code-harness/tree/HEAD/opencode/skills/ci)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

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

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

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Diagnose ci gate](https://ai-powered.com/skills/diagnose-ci-gate): Diagnose ci gate is an open-source agent skill for developer tools.
- [Fix ci](https://ai-powered.com/skills/fix-ci): Fix ci is an open-source agent skill for developer tools.
- [Ci forensics](https://ai-powered.com/skills/ci-forensics): Ci forensics is an open-source agent skill for developer tools.
- [Ci cd](https://ai-powered.com/skills/ci-cd): Ci cd is an open-source agent skill for developer tools.
- [Correct](https://ai-powered.com/skills/correct): Correct is an open-source agent skill for developer tools.
- [Debug](https://ai-powered.com/skills/debug-jasgujral): Debug is an open-source agent skill for developer tools.
- [Principle fix root causes](https://ai-powered.com/skills/principle-fix-root-causes): Principle fix root causes is an open-source agent skill for developer tools.
- [Bug fix](https://ai-powered.com/skills/bug-fix): Bug fix is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/ci-chachamaru127
