diagnose-ci-failures

diagnose-ci-failures is a skill for Claude Code, Codex from PyModel/pythinker-cli. It costs 31 tokens per session (236 once invoked), scanned A, original, Apache-2.0.

A troubleshooting workflow for failed continuous integration, linting, type checks, builds, or tests. Continuous integration means automated checks that run for code changes.

In plain words
What is it for?
It helps capture the failing command and error, determine the failure type, reproduce it locally, identify the root cause, make the smallest fix, and rerun the relevant check.
Why use it?
It separates real code problems from flaky or environment-related failures and keeps fixes focused on the first actionable cause.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps capture the failing command and error, determine the failure type, reproduce it locally, identify the root cause, make the smallest fix, and rerun the relevant check.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pymodel/pythinker-cli/diagnose-ci-failures
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 PyModel/pythinker-cli --skill diagnose-ci-failures
Clone the repo
git clone --depth 1 https://github.com/PyModel/pythinker-cli

Made for: Claude Code, Codex.

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 diagnose-ci-failures

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/pymodel/pythinker-cli/diagnose-ci-failures"><img src="https://agentmods.dev/badge/skills/pymodel/pythinker-cli/diagnose-ci-failures.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 236 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 pass 7 Sept 2026
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.00031 $0.00236
Opus 5.5 $0.00012 $0.00094
Sonnet 5.5 $0.00006 $0.00047
Haiku 4.5 $0.00003 $0.00024

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

Security

Grade A, and why

diagnose-ci-failures 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 1mo 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.

src/pythinker_code/skills/diagnose-ci-failures/SKILL.md · 37 lines

What it actually says

Diagnose CI Failures

Use when a CI job, local test, lint, typecheck, or build gate fails.

Workflow

  1. Capture the failing command, exit code, and the first actionable error.
  2. Identify whether the failure is deterministic, flaky, environmental, or caused by recent code.
  3. Reproduce with the narrowest local command when practical.
  4. Name the root cause before editing.
  5. Make the smallest fix that addresses the root cause.
  6. Rerun the focused failing gate and report the result.

Rules

  • Do not skip hooks or weaken tests to make CI pass.
  • Do not hide unrelated failures; separate them from the fixed failure.
  • Prefer targeted tests over full-suite runs until the focused failure is fixed.
  • If a gate cannot run because of missing tools or credentials, report that clearly.

Output

Return:

SUMMARY
ROOT CAUSE
CHANGES
VERIFICATION
REMAINING RISKS
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. 1mo ago First seen · 37 lines · 31 tokens per session scan A 5773c47e03ae

Subscribe to this mod's changes

diagnose-ci-failures is a skill published in the GitHub repository PyModel/pythinker-cli (21 stars, last pushed 3d ago), licensed Apache-2.0. It adds 31 tokens to every session and 236 once invoked, about $0.0001 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-08-30.

Related

Other skills, from other repositories

printing-press-output-review

Internal sub-skill: agentic review of a printed CLI's sampled command output for plausibility issues that rule-based checks can't encode (substring-match relevance, format bugs, silent source drops, ranking failures). Invoked via the Skill tool by the main printing-press skill at Phase 4.85 and printing-press-polish…

mvanhorn/cli-printing-press · 102 tokens

autofix

Review and repair current local changes until they converge, or run Qwen Code Autofix issue and review workflows from GitHub Actions.

QwenLM/qwen-code · 30 tokens

atmos-lint

Atmos Terraform linting with TFLint: standalone atmos terraform lint, component-aware config discovery and toolchain versions, TFLint rule configuration, and lifecycle hooks/CI findings. Use when configuring, running, debugging, or documenting Terraform/OpenTofu linting in an Atmos project.

cloudposse/atmos · 64 tokens

code-guidelines-go

Go 1.24–1.27 coding guidelines for the dimetron/pi-go AI agent runtime. Use this skill whenever writing, reviewing, or refactoring ANY Go code in pi-go. This covers idiomatic style, error handling, concurrency, project layout, testing (table-driven, fuzz, benchmarks, synctest), new stdlib usage, golangci-lint v2…

dimetron/pi-go · 124 tokens

audit

Fast quality gate — detects stack, runs static analysis, checks cross-layer consistency, fixes issues. Run between every pipeline phase, before every commit push, after every feature batch. Lighter than /analyze but catches the same critical issues.

skillmds/skillmd · 50 tokens

design-review

Deep design review of Go codebase — naming, structure, consistency, interfaces, error handling. Scores each dimension and provides actionable fixes.

dimetron/pi-go · 30 tokens