resolve_pr_ci_failures

resolve_pr_ci_failures is a command for Claude Code, OpenCode from allisoneer/agentic_auxilary. It costs 15 tokens per session (1,210 once invoked), scanned A, original, MIT.

A command for investigating and fixing continuous integration failures on a pull request. Continuous integration, or CI, automatically runs checks such as tests when code changes are submitted.

In plain words
What is it for?
It is for examining GitHub Actions results, applying bounded remediations, recording evidence in an artifact, and checking the result with project tests.
Why use it?
It gathers failure evidence before changing code and avoids unsafe fixes when the cause is unclear. It also requires verification before claiming that a failure was fixed.

Command for Claude CodeOpenCode

Written for Claude Code and OpenCode: $ARGUMENTS substitution, but also installed under .opencode/. Also seen: agent in frontmatter.

Good fit It is for examining GitHub Actions results, applying bounded remediations, recording evidence in an artifact, and checking the result with project tests.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/allisoneer/agentic_auxilary/resolve_pr_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.

Clone the repo
git clone --depth 1 https://github.com/allisoneer/agentic_auxilary

Made for: Claude Code, OpenCode.

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 resolve_pr_ci_failures

README.md
[![agentmods](https://agentmods.dev/badge/commands/allisoneer/agentic_auxilary/resolve_pr_ci_failures/github.svg)](https://agentmods.dev/commands/allisoneer/agentic_auxilary/resolve_pr_ci_failures)
Your own site
<a href="https://agentmods.dev/commands/allisoneer/agentic_auxilary/resolve_pr_ci_failures"><img src="https://agentmods.dev/badge/commands/allisoneer/agentic_auxilary/resolve_pr_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 resolve_pr_ci_failures

Your own site · 80×15
<a href="https://agentmods.dev/commands/allisoneer/agentic_auxilary/resolve_pr_ci_failures"><img src="https://agentmods.dev/badge/commands/allisoneer/agentic_auxilary/resolve_pr_ci_failures.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,210 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.00015 $0.01210
Opus 5 $0.00008 $0.00605
Sonnet 5 $0.00003 $0.00242
Haiku 4.5 $0.00002 $0.00121

Measured yesterday against content hash 47d7bd032bac, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

resolve_pr_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 yesterday.

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.

.opencode/command/resolve_pr_ci_failures.md · 154 lines

How it starts

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

Non-blocking bot-review or advisory checks should not block remediation unless they surface actionable failures.

Gather GitHub Actions failure evidence via Bash+gh, attempt only safe grounded remediation, verify any claimed fix, and write a durable artifact.

<workflow_contract>

  1. Follow all steps in order.
  2. Use todowrite and keep exactly one todo in_progress.
  3. Create the artifact early and keep updating it with evidence, decisions, actions, and verification.
  4. Treat v1 required CI as all visible non-skipped, non-neutral checks for the current PR head SHA, except clearly non-blocking bot-review or advisory signals.
  5. Use Bash+gh for raw CI evidence when current Rust/MCP GitHub surfaces are insufficient.
  6. Attempt remediation only when the failure cause and the fix are both grounded and bounded.
  7. If remediation is unsafe, ambiguous, or inconclusive, stop with explicit handoff details in the artifact.
  8. Any claimed code/config fix must be verified with strong checks and at minimum just check and just test unless impossible. </workflow_contract>

<step_1>

Step 1: Establish PR context and todo list

  • Determine the current PR number, PR URL, branch, and head SHA.
  • Create todos for: context capture, CI evidence collection, analysis, bounded remediation or handoff, verification, artifact finalization.
  • Name the artifact with the PR number and head SHA when available.

</step_1>

<step_2>

Step 2: Capture initial CI state into an artifact

  • Create a durable artifact under thoughts/<branch>/artifacts/ before making changes.
  • Record:
    • PR metadata and head SHA
    • invocation context
    • current required-CI policy for this workflow
  • Treat the artifact as the running source of truth for all later evidence and decisions.

</step_2>

<step_3>

Step 3: Gather grounded CI evidence with Bash + gh

In bounded Bash child work, gather best-effort evidence for the current PR head SHA:

Read the full file on GitHub · 154 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. yesterday First seen · 154 lines · 15 tokens per session scan A 47d7bd032bac

Subscribe to this mod's changes

resolve_pr_ci_failures is a command published in the GitHub repository allisoneer/agentic_auxilary (77 stars, last pushed 2d ago), licensed MIT. It adds 15 tokens to every session and 1,210 once invoked, about $0.0001 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-09-08.