resolve

resolve is a skill for Claude Code from Borda/AI-Rig. It costs 286 tokens per session (9,393 once invoked), scanned A, original, Apache-2.0.

A workflow for finishing GitHub pull requests, which are proposed code changes awaiting review. It reads the discussion, resolves merge conflicts, and applies requested changes.

In plain words
What is it for?
It helps maintainers review pull-request discussions, merge the base branch, resolve conflicts, implement review comments, and push a merge-ready branch to a contributor’s fork.
Why use it?
It gathers scattered review feedback into clear action items and keeps each fix easy to inspect or undo. It also preserves contributor intent when combining the main branch with the pull request.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; names the AskUserQuestion tool; mentions Codex.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the oss plugin — 3 skills, 4 agents shipped together

Good fit It helps maintainers review pull-request discussions, merge the base branch, resolve conflicts, implement review comments, and push a merge-ready branch to a contributor’s fork.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Borda/AI-Rig
Claude Code
/plugin install oss

Made for: Claude Code.

Or install oss, the plugin that ships this one along with the rest of its 3 skills, 4 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/borda/ai-rig/resolve/github.svg)](https://agentmods.dev/skills/borda/ai-rig/resolve)
Your own site
<a href="https://agentmods.dev/skills/borda/ai-rig/resolve"><img src="https://agentmods.dev/badge/skills/borda/ai-rig/resolve/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/borda/ai-rig/resolve"><img src="https://agentmods.dev/badge/skills/borda/ai-rig/resolve.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 286 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,393 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.00286 $0.09393
Opus 5.5 $0.00114 $0.03757
Sonnet 5.5 $0.00057 $0.01879
Haiku 4.5 $0.00029 $0.00939

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

Security

Grade A, and why

resolve 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 4d 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.

plugins/cc_oss/skills/resolve/SKILL.md · 382 lines

How it starts

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

OSS maintainer fast-close workflow. PR number → three phases fire automatically:

  1. PR intelligence — synthesize motivation from PR body, linked issues, thread; classify comments into action items
  2. Conflict resolution — checkout PR branch (fork-aware), merge BASE_REF, resolve conflicts with contributor intent as priority lens
  3. Action item implementation — implement each item (specialists first, Codex for eligible mechanical items), committed per COMMIT_MODE — default one commit per item, attributed to its review comment — then push to contributor's fork

Result: conflict-free PR branch pushed to fork, ready to merge — no GitHub UI.

Core invariant — transparent, reversible: every action = visible named git object. Use git merge (new commit, two parents), never git rebase (rewrites SHA, kills revert/cherry-pick). Default commit mode each: every action item = own commit — granular revert always possible. The Step 3d modes grouped, all and stage trade that granularity for fewer commits (or none); every one still leaves named git objects, never rewritten history.

Bare comment text → skip to Codex dispatch (Step 12).

  • Preflight side effect: fetches origin to refresh remote refs; never pulls or merges the caller's branch.
  • $ARGUMENTS: one of:
    • Omitted → review-handoff mode: auto-detect PR from most recent .reports/review/pr-*/run-*/review-report.md or the legacy pre-rename .reports/review/*/review-report.md (both oss lineage, same schema) or .reports/codex/review/*/review-notes.md (codex lineage, detected but not parsed — see Step 0 lineage guard)
    • PR number (e.g. 42 or #42) or GitHub PR URL → pr mode
    • report (bare word) → report mode: latest review findings as action items; no GitHub re-fetch
    • 42 report or <URL> report (order-invariant: report 42 is the same request) → pr + report mode: aggregate live GitHub comments + review report, deduplicated in one pass. The report word adds the report as a second source; it never suppresses the GitHub fetch — bare report (no PR number) is the no-GitHub mode
    • Bare review comment text → comment dispatch mode (jumps to Step 12)
  • --no-challenge: optional — skip challenge gate per item; all selected items treated as VALID
  • --sandbox: optional — enforce the sandbox for every run of fork-PR code: no Run without sandbox option, no question while the scan's risk level is none or borderline, and a host without a sandbox reports the tests as not run. Without it the question and its clean-scan skip behave as before (modes/exec-approval.md).
  • --no-codemap: optional — disable codemap structural context (on by default when codemap installed + index present)
  • --codemap: optional — strict mode: stop and report if codemap not installed or index missing
  • --agent <name>: optional — use <name> agent for implementation instead of Codex; must be an implementation agent or the bridge:implement Skill marker.
    • Bare name auto-prefixed with foundry: if no plugin prefix detected (e.g. --agent sw-engineer → foundry:sw-engineer; --agent linting-expert → foundry:linting-expert; --agent doc-scribe → foundry:doc-scribe); explicit prefix also accepted (--agent foundry:sw-engineer); see routing table in dispatch-prelude.md.
    • --agent also applies to INTEL_AGENT (Step 3b thread intelligence) — explicit real Agent types override label/title routing for classification as well.
    • bridge:implement is never passed to Agent: classification falls back to label/title routing, C1 candidates use the Skill route, and other items use the change-to-specialist table.

NOT-for additions (scope guards):

  • NOT for non-Python source PRs (TypeScript, Go, Rust, Java) unless action items are limited to documentation or CI/CD changes — Step 9's lint-qa gate runs Python-specific tools (ruff/mypy); non-Python PRs get partial or no static-analysis review. For non-Python repos, run /oss:resolve in report mode with manually-curated findings.
  • NOT for branches with uncommitted local edits — the report-mode no-PR# path operates on the current branch as-is; uncommitted changes would be committed alongside the action items, so its branch safety check below stops on tracked modifications (git status --porcelain -uno). Stash (git stash) or commit local edits before invoking — workflow doesn't auto-stash.

Read the full file on GitHub · 382 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. 4d ago Changed ec23a3a9853f
  2. 5d ago Changed 09e8e1a59785
  3. 6d ago Changed · +1 lines 93961d357502
  4. 7d ago Changed · +18 lines ac6f8dee1408
  5. 17d ago Changed a92b27fd70bf
  6. 18d ago Changed · -491 lines · -6 tokens per session 62fab289d6df
  7. 21d ago Changed · -611 lines 3b2c628f43d8
  8. 26d ago Changed eabb75a29c98
  9. 28d ago Changed 82912c3b634d
  10. 1mo ago First seen · 1,465 lines · 292 tokens per session scan A 66bf71b1b637

Subscribe to this mod's changes

resolve is a skill published in the GitHub repository Borda/AI-Rig (31 stars, last pushed yesterday), licensed Apache-2.0. It adds 286 tokens to every session and 9,393 once invoked, about $0.0011 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

resolve compared with skills from other repositories

resolve next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
resolveBorda/AI-RigSkill31yesterdayApache-2.0A286Claude Code
git-pr-reviewhuangwb8/skillsSkill512d agoMITA76Claude Code, Codex
neo-prBenknightdark/neo-skillsSkill714d agoMITA60Claude Code, Codex
pr-merge-gatesWeaverse/.agentsSkill120d agoMITA52Claude Code
fix-prWeaverse/.agentsSkill120d agoMITA40Claude Code
safe-opsCassioRoos/godfly-skillsSkill1yesterdayMITA49Claude Code, Codex
review-prImran-ml/claude-skillsSkill48mo agononeA56Claude Code