gh-fix-ci

gh-fix-ci is a skill for Claude Code, Codex from Starfie1d1272/dsh-github-skills. It costs 43 tokens per session (424 once invoked), scanned A, original, Apache-2.0.

A troubleshooting and repair workflow for failed GitHub Actions checks. GitHub Actions is GitHub's service for automatically running tests, builds, and other checks when code changes.

In plain words
What is it for?
Use it to find why a pull request's GitHub Actions checks failed, or to apply and verify a minimal fix when requested.
Why use it?
It connects the diagnosis to actual check results, logs, and code changes instead of guessing from a single error message. For other kinds of continuous-integration systems, it only reports the check state.

Skill for Claude CodeCodex

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

Good fit Use it to find why a pull request's GitHub Actions checks failed, or to apply and verify a minimal fix when requested.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/starfie1d1272/dsh-github-skills/gh-fix-ci
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 Starfie1d1272/dsh-github-skills --skill gh-fix-ci
Clone the repo
git clone --depth 1 https://github.com/Starfie1d1272/dsh-github-skills

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 gh-fix-ci

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/starfie1d1272/dsh-github-skills/gh-fix-ci"><img src="https://agentmods.dev/badge/skills/starfie1d1272/dsh-github-skills/gh-fix-ci.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 424 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.
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.00043 $0.00424
Opus 5 $0.00022 $0.00212
Sonnet 5 $0.00009 $0.00085
Haiku 4.5 $0.00004 $0.00042

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

Security

Grade A, and why

gh-fix-ci 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 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/inspect-pr-checks.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/gh-fix-ci/SKILL.md · 43 lines

What it actually says

GitHub Actions CI Fix

Diagnose or fix failing GitHub Actions checks on a pull request, from real check and log evidence. "Current branch" resolves to its associated PR; branch-only Actions runs without a PR are outside this workflow.

Evidence

  • Establish the root cause only from real check state, logs, and diff evidence; never fabricate a failure reason from a single error string.
  • Use a visible capability for PR metadata and checks when it is semantically sufficient; use a capability that exposes actual logs when available; otherwise use scripts/inspect-pr-checks.mjs or gh.
  • Non-Actions CI is report-only: check name + URL + state, never their logs.
  • Missing, pending, or inconclusive logs are uncertainty — report them as such, do not guess.

Workflow

  1. Resolve the PR (given number/URL, or current branch via local git context; ask if still ambiguous).
  2. Gather failing-check evidence (see Evidence) and summarize failures with run URLs and log snippets.
  3. Diagnose-only requests get a root cause and explanation only.
  4. Fix mode (only when the user asked to fix): apply the minimal local change tied directly to the root cause, run the most relevant local verification, then recheck the status. If the failure is clearly unrelated to the local diff, say so before proposing code changes.
  5. Report: evidence, root cause, changed files, verification run, and residual risk.

Remote write boundary

Local edits are allowed under "fix the CI" intent. Pushing, re-running a workflow, and commenting on the PR require explicit user request or the host approval boundary.

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. 10d ago First seen · 43 lines · 43 tokens per session scan A 2717de201351

Subscribe to this mod's changes

gh-fix-ci is a skill published in the GitHub repository Starfie1d1272/dsh-github-skills (6 stars, last pushed 22d ago), licensed Apache-2.0. It adds 43 tokens to every session and 424 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-31.