ci-repair
Inspect GitHub PR checks with gh, pull failing GitHub Actions logs, summarize failure context, then create a fix plan and implement after user approval.
Skill by Aaryan1524
Chalk Labs
Need help deploying ci-repair?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/aaryan1524-ci-repair
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, devops
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/ci-repair
What's inside
- Skill name
ci-repair- Description
- Inspect GitHub PR checks with gh, pull failing GitHub Actions logs, summarize failure context, then create a fix plan and implement after user approval. Use when a user asks to debug or fix failing PR CI/CD checks on GitHub Actions and wants a plan + code changes; for external checks (e.g., Buildkite), only report the details URL and mark them out of scope.
- License
- MIT
- Metadata
- short-description: Fix failing Github CI actions
- Instructions
- 70 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (3)
- LICENSE.txt
- SKILL.md
- inspect_pr_checks.py · scripts/
SKILL.md (first lines)
# Gh Pr Checks Plan Fix
## Overview
Use gh to locate failing PR checks, fetch GitHub Actions logs for actionable failures, summarize the failure snippet, then propose a fix plan and implement after explicit approval.
- Depends on the `product-plan` skill for drafting and approving the fix plan.
Prereq: ensure `gh` is authenticated (for example, run `gh auth login` once), then run `gh auth status` with escalated permissions (include workflow/repo scopes) so `gh` commands succeed. If sandboxing blocks `gh auth status`, rerun it with `sandbox_permissions=require_escalated`.
## Inputs
- `repo`: path inside the repo (default `.`)
- `pr`: PR number or URL (optional; defaults to current branch PR)
- `gh` authentication for the repo host
## Quick start
- `python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "<number-or-url>"`
- Add `--json` if you want machine-friendly output for summarization.
## Workflow
1. Verify gh authentication.
- Run `gh auth status` in the repo with escalated scopes (workflow/repo) after running `gh auth login`.
- If sandboxed auth status fails, rerun the command with `sandbox_permissions=require_escalated` to allow network/keyring access.
- If unauthenticated, ask the user to log in before proceeding.
2. Resolve the PR.
- Prefer the current branch PR: `gh pr view --json number,url`.
- If the user provides a PR number or URL, use that directly.
3. Inspect failing checks (GitHub Actions only).
- Preferred: run the bundled script (handles gh field drift and job-log fallbacks):
- `python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "<number-or-url>"`
- Add `--json` for machine-friendly output.
- Manual fallback:
- `gh pr checks <pr> --json name,state,bucket,link,startedAt,completedAt,workflow`
- If a field is rejected, rerun with the available fields reported by `gh`.
- For each failing check, extract the run id from `detailsUrl` and run:
- `gh run view <run_id> --json name,workflowName,conclusion,status,url,event,headBranch,headSha`
- `gh run view <run_id> --log`
- If the run log says it is still in progress, fetch job logs directly:
- `gh api "/repos/<owner>/<repo>/actions/jobs/<job_id>/logs" > "<path>"`
4. Scope non-GitHub Actions checks.
- If `detailsUrl` is not a GitHub Actions run, label it as external and only report the URL.
- Do not attempt Buildkite or other providers; keep the workflow lean.
5. Summarize failures for the user.
- Provide the failing check name, run URL (if any), and a concise log snippet.
- Call out missing logs explicitly.
6. Create a plan.
- Use the `plan` skill to draft a concise plan and request approval.
7. Implement after approval.
- Apply the approved plan, summarize diffs/tests, and ask about opening a PR.
8. Recheck status.
- After changes, suggest re-running the relevant tests and `gh pr checks` to confirm.
## Bundled Resources
### scripts/inspect_pr_checks.py
Fetch failing PR checks, pull GitHub Actions logs, and extract a failure snippet. Exits non-zero when failures remain so it can be used in automation.
Usage examples:
- `python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "123"`
- `python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "https://github.com/org/repo/pull/123" --json`
- `python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --max-lines 200 --context 40`
## Local safety defaults
Fetching check status and logs is read-only. Do not modify code, commit, push, rerun checks, or alter GitHub settings until the user explicitly approves the fix plan and the specific external action.From Aaryan1524/Codex_Skills, MIT.
More from Aaryan1524/Codex_Skills
- 0.552score
editor-deep-links
Aaryan1524
Build, validate, and troubleshoot deep links for Codex, Cursor, VS Code, Visual Studio, and similar tools.
SkillBFreshness: B★ 1Claude Code +9 - 0.549score
business-artifacts
Aaryan1524
Generate PPTX presentations, DOCX documents, XLSX spreadsheets, and PDF reports from structured JSON input using PaperJSX.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
developer-growth
Aaryan1524
Analyze user-authorized coding history or project material to identify development patterns and learning opportunities.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
langsmith-analysis
Aaryan1524
Debug LangChain and LangGraph agents by fetching execution traces from LangSmith Studio.
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
codex-migration-audit
Aaryan1524
Audit Claude Code to Codex harness migrations, including AGENTS.md/CLAUDE.md scope, hooks, MCP config, skills, secrets, and validation notes.
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
lead-intel
Aaryan1524
Identifies high-quality leads for your product or service by analyzing your business, searching for target companies, and providing actionable contact…
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
app-integrations
Aaryan1524
Connect Codex to any app via the Composio CLI.
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
image-polish
Aaryan1524
Improves the quality of images, especially screenshots, by enhancing resolution, sharpness, and clarity.
SkillBFreshness: B★ 1Claude Code +9 - 0.522score
find-skills
Aaryan1524
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express…
SkillBFreshness: B★ 1Claude Code +9 - 0.519score
design-tokens
Aaryan1524
Toolkit for styling artifacts with a theme.
SkillBFreshness: B★ 1Claude Code +9 - 0.291score
engineering-review
Aaryan1524
No description from the publisher yet.
SkillBFreshness: B★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 12, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Aaryan1524/Codex_Skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Aaryan1524
- 0.552score
editor-deep-links
Aaryan1524
Build, validate, and troubleshoot deep links for Codex, Cursor, VS Code, Visual Studio, and similar tools.
SkillBFreshness: B★ 1Claude Code +9 - 0.549score
business-artifacts
Aaryan1524
Generate PPTX presentations, DOCX documents, XLSX spreadsheets, and PDF reports from structured JSON input using PaperJSX.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
developer-growth
Aaryan1524
Analyze user-authorized coding history or project material to identify development patterns and learning opportunities.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
langsmith-analysis
Aaryan1524
Debug LangChain and LangGraph agents by fetching execution traces from LangSmith Studio.
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
image-polish
Aaryan1524
Improves the quality of images, especially screenshots, by enhancing resolution, sharpness, and clarity.
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
lead-intel
Aaryan1524
Identifies high-quality leads for your product or service by analyzing your business, searching for target companies, and providing actionable contact…
SkillBFreshness: B★ 1Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get ci-repair running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
ci-repair skill. Agent Mart. https://agentmart.dev/skills/aaryan1524-ci-repair (last updated 2026-10-24)