ci-fixer

ci-fixer is an agent for coding agents 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

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.

agentmods
npx agentmods add agents/zaxbyhub/opencode-swarm/ci-fixer
Clone the repo
git clone --depth 1 https://github.com/ZaxbyHub/opencode-swarm

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00072 $0.02906
Opus 5 $0.00036 $0.01453
Sonnet 5 $0.00014 $0.00581
Haiku 4.5 $0.00007 $0.00291

Measured 4d ago against content hash bdc43a238c16, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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. 4d 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 (462 stars, last pushed today), licensed MIT. It adds 72 tokens to every session and 2,906 once invoked, about $0.0004 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 agents, from other repositories

domain

How the engineering skills should consume this repo's domain documentation when exploring the codebase. This is a single-context repo.

h0x91b/dev-3.0 · 0 tokens

issue-tracker

Issues and PRDs for this repo live as tasks on the dev-3.0 Kanban board, managed through the dev3 CLI (the same board this project ships). There is no separate issue tracker — a task is an issue. External GitHub PRs are pulled in as a secondary triage surface (see below).

h0x91b/dev-3.0 · 0 tokens

triage-labels

The skills speak in terms of five canonical triage roles. On this repo the tracker is the dev-3.0 Kanban board (see docs/agents/issue-tracker.md), so each role is a dev3 label applied to the task. dev3 statuses/columns (todo, in-progress, user-questions, review-by-ai, review-by-user) are managed by hooks and are NOT…

h0x91b/dev-3.0 · 0 tokens

Claude Code Engineer

Use when: developing, debugging, refactoring, reviewing, exploring, or explaining code in the Claude Code CLI codebase. Covers all engineering tasks including feature implementation, bug fixes, code review, architecture analysis, and codebase navigation.

muhammadhaseebiqbal-dev/claude-code-leak-source-code · 51 tokens

system-architect

Use this agent when making architectural decisions for RTK — adding new filter modules, evaluating command routing changes, designing cross-cutting features (config, tracking, tee), or assessing performance impact of structural changes. Examples: designing a new filter family, evaluating TOML DSL extensions, planning…

rtk-ai/rtk · 0 tokens

ap-preflight-probe

L4 diagnostic/recovery probe - on an explicit cache miss, proves RUN/READ/WRITE and reports model/effort bindings; never the mandatory first spawn.

Spielewoy/autoprompt-skill · 39 tokens