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.
npx agentmods add agents/zaxbyhub/opencode-swarm/ci-fixergit clone --depth 1 https://github.com/ZaxbyHub/opencode-swarmWrote 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.
[](https://agentmods.dev/agents/zaxbyhub/opencode-swarm/ci-fixer)<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>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.
| Model | Per session | Once 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 |
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.
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:
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.
- 4d ago First seen · 294 lines · 72 tokens per session scan A bdc43a238c16
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.
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.
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).
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…
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.
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…
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.