ci-summary

A command for reviewing the detailed results of a continuous-integration run, where automated builds and tests check code changes. It focuses on failed or unreliable tests and can retrieve their log files for investigation.

In plain words
What is it for?
Use it to inspect a CI run, investigate failed or flaky tests, download relevant log artifacts, and summarise the causes and common patterns behind failures.
Why use it?
It helps turn a failed build into a likely cause by examining errors, logs, and repeated patterns. This is useful when the short status shown by a CI service does not explain what went wrong.

Command for Claude Code

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 commands/ai-debugger-inc/aidb/ci-summary
Clone the repo
git clone --depth 1 https://github.com/ai-debugger-inc/aidb

Made for: Claude Code.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 179 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.00000 $0.00179
Opus 5 $0.00000 $0.00089
Sonnet 5 $0.00000 $0.00036
Haiku 4.5 $0.00000 $0.00018

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

Security

Grade A, and why

ci-summary 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 2d 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.

.claude/commands/ci-summary.md · 24 lines

What it actually says


description: Review a CI run's detailed summary and investigate failures/flakes.

Review the provided CI summary, focusing on any failed or flaky tests. Analyze the logs and error messages to identify the root causes of these issues. Summarize your findings, including any patterns or commonalities among the failures.

Review the detailed summary –– and download the associated test log artifacts if needed –– via:

dev-cli ci ${RUN_ID} summary --detailed

The run ID is provider either as command input by the user or derived from session context/gh cli run fetching.

IMPORTANT: You must make use of logging artifacts to perform deep investigations. Use related skills, like the troubleshooting skill, to understand which logs are where and what logs might be most applicable to the issues at hand.

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. 2d ago First seen · 24 lines · 0 tokens per session scan A 553408071171

Subscribe to this mod's changes

ci-summary is a command published in the GitHub repository ai-debugger-inc/aidb (21 stars, last pushed 3mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 179 tokens. 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.