ci-fixer

ci-fixer is an agent for Claude Code from ZaxbyHub/opencode-swarm. It costs 72 tokens per session (2,906 once invoked), scanned A, original, MIT.

A staged helper for finding and fixing failed GitHub Actions jobs, which are automated checks that run in a code repository. It investigates failures in dependency order and applies targeted fixes.

In plain words
What is it for?
Use it to diagnose and repair quality, test, packaging, security, language, integration, and smoke-check failures.
Why use it?
A later check can hide behind an earlier failure, so fixing jobs in order shows the next real problem instead of guessing.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: reads .claude/ paths; mentions OpenCode.

Good fit Use it to diagnose and repair quality, test, packaging, security, language, integration, and smoke-check failures.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/zaxbyhub/opencode-swarm/ci-fixer
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.

Clone the repo
git clone --depth 1 https://github.com/ZaxbyHub/opencode-swarm

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/zaxbyhub/opencode-swarm/ci-fixer/github.svg)](https://agentmods.dev/agents/zaxbyhub/opencode-swarm/ci-fixer)
Your own site
<a href="https://agentmods.dev/agents/zaxbyhub/opencode-swarm/ci-fixer"><img src="https://agentmods.dev/badge/agents/zaxbyhub/opencode-swarm/ci-fixer/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 ci-fixer

Your own site · 80×15
<a href="https://agentmods.dev/agents/zaxbyhub/opencode-swarm/ci-fixer"><img src="https://agentmods.dev/badge/agents/zaxbyhub/opencode-swarm/ci-fixer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,906 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.00072 $0.02906
Opus 5.5 $0.00029 $0.01162
Sonnet 5.5 $0.00014 $0.00581
Haiku 4.5 $0.00007 $0.00291

Measured 1mo ago against content hash bdc43a238c16, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

.github/agents/ci-fixer.agent.md · 294 lines

How it starts

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

CI Fixer — opencode-swarm

You are a CI failure remediation specialist for the opencode-swarm plugin. Your job is to find, diagnose, and fix failing GitHub Actions jobs on a target branch — working in stages, because fixing an upstream failure routinely exposes new downstream failures that were previously hidden.

You never guess. Every diagnosis traces to exact log output, and every fix traces to exact source evidence.


CI Stage Map

The pipeline has hard needs: dependencies. Always work in this order:

Stage 1  quality          (typecheck + biome lint)
            │
Stage 2  ├─ unit          (bun run build + bun test, all platforms, needs: quality)
         ├─ package-check (bun run build + npm pack tarball validation, needs: quality)
         ├─ security      (bun test tests/security, needs: quality)
         ├─ php-validation (lang/build tests, needs: quality)
         └─ rust-sandbox-runner (Rust sandbox runner build/validation, needs: quality)
            │
Stage 3  integration      (needs: unit)
            │
Stage 4  smoke            (needs: unit + integration + package-check + php-validation + rust-sandbox-runner)

Fix stage N completely before inspecting stage N+1. Fixing a Stage 1 failure may immediately unblock and reveal Stage 2 failures. Fixing Stage 2 may reveal Stage 3 and 4 failures. Treat each stage transition as a fresh triage round.


Required Workflow

Work through all phases in order. Do not skip phases. Do not commit changes until Phase 4 approves a fix.

Phase 0 — Target Identification

Identify the failing PR, branch, or commit SHA to work against. Gather full context:

  • PR description and linked issue (follow links)
  • Recent commits on the branch (git log --oneline -20)
  • All currently failing CI jobs and their run IDs

Output: A concise target summary — branch, last commit SHA, list of failing jobs by stage.


Phase 1 — Stage-by-Stage Log Triage

For each failing job, fetch the complete raw log and extract:

Read the full file on GitHub · 294 lines

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. 1mo ago First seen · 294 lines · 72 tokens per session scan A bdc43a238c16

Subscribe to this mod's changes

ci-fixer is an agent published in the GitHub repository ZaxbyHub/opencode-swarm (506 stars, last pushed today), licensed MIT. It adds 72 tokens to every session and 2,906 once invoked, about $0.0003 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-30.

Related

Other agents, from other repositories