ci-debug

ci-debug is a skill for Claude Code from yonatangross/orchestkit. It costs 54 tokens per session (3,023 once invoked), scanned A, original, MIT.

A troubleshooting guide for diagnosing a failed GitHub Actions check or pull-request check using a set of known failure patterns. It suggests an exact fix command but does not apply the fix automatically.

In plain words
What is it for?
Use it with a pull-request number or workflow URL to identify the failed job, classify the cause, and receive a proposed repair.
Why use it?
It replaces guesswork with a repeatable diagnosis and keeps changes under your control until you approve them.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; reads .claude/ paths; mentions Claude Code.

Part of the ork plugin — 83 skills, 39 commands, 36 agents, 32 hooks shipped together

Good fit Use it with a pull-request number or workflow URL to identify the failed job, classify the cause, and receive a proposed repair.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yonatangross/orchestkit/ci-debug
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.

Any agent
npx skills add yonatangross/orchestkit --skill ci-debug
Clone the repo
git clone --depth 1 https://github.com/yonatangross/orchestkit

Made for: Claude Code.

Or install ork, the plugin that ships this one along with the rest of its 83 skills, 39 commands, 36 agents, 32 hooks.

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-debug

README.md
[![agentmods](https://agentmods.dev/badge/skills/yonatangross/orchestkit/ci-debug/github.svg)](https://agentmods.dev/skills/yonatangross/orchestkit/ci-debug)
Your own site
<a href="https://agentmods.dev/skills/yonatangross/orchestkit/ci-debug"><img src="https://agentmods.dev/badge/skills/yonatangross/orchestkit/ci-debug/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-debug

Your own site · 80×15
<a href="https://agentmods.dev/skills/yonatangross/orchestkit/ci-debug"><img src="https://agentmods.dev/badge/skills/yonatangross/orchestkit/ci-debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,023 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 19
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
How audits are shown
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.00054 $0.03023
Opus 5.5 $0.00022 $0.01209
Sonnet 5.5 $0.00011 $0.00605
Haiku 4.5 $0.00005 $0.00302

Measured 9d ago against content hash 1fe6c7adf1cd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ci-debug 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 9d 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.

plugins/ork/skills/ci-debug/SKILL.md · 181 lines

How it starts

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

/ci-debug — classify a failing CI run

Direct response to the recurring CI-debug pattern surfaced by /insights: ~12 sessions in 3 weeks doing the same classification dance. This skill encodes the 11 patterns so the dance becomes a lookup.

Input

User invokes with one of:

  • sweep: /ci-debug sweep <install|status|enable|disable> runs sweep mode, see the Sweep mode section below (not the steps in Execution)
  • PR number: /ci-debug 822 (default repo from context; ask if ambiguous)
  • Run URL: /ci-debug https://github.com/owner/repo/actions/runs/12345
  • Job URL: /ci-debug https://github.com/owner/repo/actions/runs/X/job/Y

Execution

1. Resolve the failing job

# From PR number:
gh pr checks <n> --repo <owner>/<repo> --json bucket,link,name \
  --jq '.[] | select(.bucket=="fail") | "\(.name)|\(.link)"'

# From run URL:
gh api repos/<owner>/<repo>/actions/runs/<run-id>/jobs \
  --jq '.jobs[] | select(.conclusion=="failure")
                | {id, name, runner_name, started_at, completed_at,
                   steps: [.steps[] | select(.conclusion=="failure") | {name, number}]}'

If multiple jobs failed, pick the one with the shortest duration — root cause is usually the first failure; later jobs cascade.

No job in the fail bucket but a check won't settle? If gh pr checks shows zero fail-bucket entries yet a status sits in pending that never resolves (and gh pr view --json mergeStateStatus returns UNSTABLE while mergeable=MERGEABLE), this is a stuck external status, not a failure — jump straight to Pattern #11. There is no failing log to fetch; classify on the commit-status metadata (gh api repos/<o>/<r>/commits/<sha>/status).

2. Fetch the failing log

gh api repos/<owner>/<repo>/actions/jobs/<job_id>/logs 2>&1 \
  | grep -iE '(error|fail|ERR_|CONFLICT|Process completed with exit code)' \
  | head -30

Capture the FIRST distinct error message (later lines often echo).

3. Classify against the playbook

Read the full file on GitHub · 181 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago Changed 1fe6c7adf1cd
  2. 11d ago Changed 2fdae652461b
  3. 15d ago Changed · +12 lines · -4 tokens per session 817af196548d
  4. 24d ago Changed · +3 tokens per session 64b66ec61b3f
  5. 1mo ago Changed · -37 tokens per session ae0b2449c93a
  6. 2mo ago Changed 63bcfd014dc8
  7. 2mo ago Changed · -1 lines 7d408ce2b5d8
  8. 2mo ago Changed f3a8b22a029d
  9. 2mo ago Changed · -7 lines ff05427a0d95
  10. 2mo ago First seen · 177 lines · 92 tokens per session scan A 5bb673848b0d

Subscribe to this mod's changes

ci-debug is a skill published in the GitHub repository yonatangross/orchestkit (313 stars, last pushed today), licensed MIT. It adds 54 tokens to every session and 3,023 once invoked, about $0.0002 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-09-03.

Related

ci-debug compared with skills from other repositories

ci-debug next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ci-debugyonatangross/orchestkitSkill313todayMITA54Claude Code
zb-release-pipelineAdamBien/airailsSkill762d agoMITA148Claude Code, Codex
stall-resetSnowflake-Labs/cocoplusSkill73026d agoMITA14Claude Code, Codex
stall-statusSnowflake-Labs/cocoplusSkill73026d agoMITA14Claude Code, Codex
stallSnowflake-Labs/cocoplusSkill73026d agoMITA13Claude Code, Codex
code-reviewcognesy/instructor-phpSkill3284d agoMITA23Claude Code
systematic-debuggingsammcj/agentic-codingSkill1752d agoApache-2.0A55Claude Code, Codex