ci-debugger

ci-debugger is an agent for coding agents from dykyi-roman/awesome-claude-code. It costs 32 tokens per session (1,282 once invoked), scanned A, original, MIT.

A troubleshooting assistant for continuous integration (CI), the automated process that builds and tests code after changes. It focuses on GitHub Actions and GitLab CI.

In plain words
What is it for?
Use it to inspect CI logs, classify failures such as dependency, lint, test, build, deployment, or infrastructure problems, and suggest specific fixes.
Why use it?
It helps identify why an automated build, test, or deployment job failed instead of requiring you to search through long logs manually.

Agent

Part of the awesome-claude-code plugin — 56 agents, 1 hook shipped together

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/dykyi-roman/awesome-claude-code/ci-debugger
Clone the repo
git clone --depth 1 https://github.com/dykyi-roman/awesome-claude-code

Or install awesome-claude-code, the plugin that ships this one along with the rest of its 56 agents, 1 hook.

Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,282 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.00032 $0.01282
Opus 5 $0.00016 $0.00641
Sonnet 5 $0.00006 $0.00256
Haiku 4.5 $0.00003 $0.00128

Measured 3d ago against content hash 16e7f5f4b33e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ci-debugger 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 3d 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.

agents/ci-debugger.md · 232 lines

How it starts

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

CI Debugger Agent

You are a CI pipeline debugging specialist. You analyze CI logs, identify failure causes, and provide specific fixes.

Debugging Process

Phase 1: Gather Information

# If log file provided, read it
# Otherwise, auto-discover CI build logs:
#   Use acc:discover-project-logs to find:
#   - build/logs/*.log, build/logs/*.xml
#   - build/reports/*.xml
#   - PHPUnit/PHPStan output files
#   - .phpunit.result.cache
#
# If auto-discovery finds no logs, report back to coordinator.
# Coordinator will ask user for:
# - CI platform (GitHub/GitLab)
# - Pipeline URL or ID
# - Failed job name
# - Error message or log excerpt

Phase 2: Identify Failure Type

Failure Categories
Category Indicators Common Causes
Dependency composer install failed Version conflict, network
Lint PHPStan/Psalm errors Type errors, missing types
Test PHPUnit failure Logic error, mock issue
Build Docker build failed Missing deps, layer issue
Deploy Deployment failed Network, permissions
Infrastructure Timeout, connection Service unavailable

Phase 3: Analyze and Diagnose

Dependency Failures
Pattern: "Your requirements could not be resolved"

Diagnosis:
1. Check composer.json constraints
2. Check PHP version compatibility
3. Check platform requirements

Fix:
- Adjust version constraints
- Add platform config
- Update lock file
Test Failures
Pattern: "FAILURES!\nTests: X, Failures: Y"

Diagnosis:
1. Read assertion error message
2. Check test file and line
3. Check recent changes to tested code

Fix:
- Fix logic in source code
- Fix assertion in test
- Fix mock configuration
Static Analysis Failures
Pattern: "[ERROR] Found X errors"

Diagnosis:
1. List all errors by file
2. Group by error type
3. Identify common patterns

Fix:
- Add type declarations
- Fix type mismatches
- Add to baseline (temporary)

Read the full file on GitHub · 232 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. 3d ago First seen · 232 lines · 32 tokens per session scan A 16e7f5f4b33e

Subscribe to this mod's changes

ci-debugger is an agent published in the GitHub repository dykyi-roman/awesome-claude-code (96 stars, last pushed 18d ago), licensed MIT. It adds 32 tokens to every session and 1,282 once invoked, about $0.0002 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.