apple-browsers: Skill for Claude Code

.claude/skills/ddg-diagnose-ci-failure/SKILL.md

ddg-diagnose-ci-failure is a skill for Claude Code from duckduckgo/apple-browsers. It costs 0 tokens per session (4,075 once invoked), scanned A, original, Apache-2.0.

A guided process for investigating a failed GitHub Actions workflow, GitHub's automated build and test service, and tracing failures back to code.

In plain words
What is it for?
Use it only when explicitly diagnosing a named GitHub Actions failure or running the associated command.
Why use it?
It helps distinguish different kinds of CI failures, where CI means automated checks run after code changes, before proposing a fix.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is duckduckgo/apple-browsers's own configuration. It tells Claude Code how to work on apple-browsers itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything apple-browsers configures →

Reuse

Borrowing it

Nothing to install: this file belongs to duckduckgo/apple-browsers. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/duckduckgo/apple-browsers/main/.claude/skills/ddg-diagnose-ci-failure/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/duckduckgo/apple-browsers

Made for: Claude Code.

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 ddg-diagnose-ci-failure

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/duckduckgo/apple-browsers/ddg-diagnose-ci-failure"><img src="https://agentmods.dev/badge/skills/duckduckgo/apple-browsers/ddg-diagnose-ci-failure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,075 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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 287
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00000 $0.04075
Opus 5.5 $0.00000 $0.01630
Sonnet 5.5 $0.00000 $0.00815
Haiku 4.5 $0.00000 $0.00407

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

Security

Grade A, and why

ddg-diagnose-ci-failure scanned grade A with 1 finding 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 23d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

If `gh` is not installed, stop and tell the user to install it (`brew install gh` on macOS) - do not attempt to substitute `curl` against the GitHub API. If `gh` is installed but not authenticated, stop and tell the user
.claude/skills/ddg-diagnose-ci-failure/SKILL.md · 293 lines

How it starts

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

Diagnose CI Failure

Investigate a GitHub Actions workflow failure, classify it, trace test failures back to the local code, and propose a fix.

Prerequisites

This skill requires the GitHub CLI (gh) to be installed and authenticated. Before doing anything else, run:

command -v gh >/dev/null && gh auth status

If gh is not installed, stop and tell the user to install it (brew install gh on macOS) - do not attempt to substitute curl against the GitHub API. If gh is installed but not authenticated, stop and tell the user to run gh auth login. Either way, bail out before resolving inputs.

Inputs

The skill resolves any of the following to a single GitHub Actions run to investigate. gh autodetects the repo from the current working directory's git remote, so you don't need to pass --repo unless the user supplies a URL pointing at a different repo - in which case extract <owner>/<repo> from the URL and pass it explicitly with --repo <owner>/<repo>. Resolve the input first, then start at Step 1 with the resulting run_id and any optional job_id or attempt_number.

Actions run URL

Example: https://github.com/<owner>/<repo>/actions/runs/25519433222 (optionally with /job/<id> or /attempts/N).

Extract run_id, job_id if present, and attempt_number if the URL includes /attempts/N. Use directly. Do not discard the attempt number: all later gh run view commands for this run must include --attempt {attempt_number} so logs and status match the supplied attempt instead of defaulting to the latest attempt.

PR URL

Example: https://github.com/<owner>/<repo>/pull/4752.

Extract the PR number, then resolve as below.

Bare PR number

Example: 4752 or #4752.

gh pr checks <pr_number> --json name,state,link,workflow

Pick the most recent failed check's run URL. If multiple checks failed, prefer the broadest test workflow over lint-only or build-only ones (in the apple-browsers monorepo that's iOS - PR Checks, macOS - PR Checks, DBP - PR Checks).

Read the full file on GitHub · 293 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. 23d ago Changed fdf711d0a78c
  2. 2mo ago First seen · 293 lines · 0 tokens per session scan A 9b452e769fc3

Subscribe to this mod's changes

ddg-diagnose-ci-failure is a skill published in the GitHub repository duckduckgo/apple-browsers (270 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 4,075 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-01.

Related

ddg-diagnose-ci-failure compared with skills from other repositories

ddg-diagnose-ci-failure next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ddg-diagnose-ci-failureduckduckgo/apple-browsersSkill270todayApache-2.0A0Claude Code
cli-anything-nsloggerHKUDS/CLI-AnythingSkill58k1mo agoApache-2.0A36Claude Code, Codex
github-ci-fixpatrickserrano/lacquerSkill54d agoMITA27Claude Code, Codex
crash-risk-auditcruisediary/apple-app-review-skillsSkill206mo agoMITA45Claude Code, Codex
ipad-layout-auditcruisediary/apple-app-review-skillsSkill206mo agoMITA49Claude Code, Codex
operating-github-ci-fixerTracer-Cloud/opensreSkill13kyesterdayApache-2.0A48Claude Code, Codex
analyze-cibenchflow-ai/skillsbenchSkill1.9k2d agoApache-2.0A15Claude Code