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.
/plugin marketplace add Borda/AI-Rig/plugin install ossWrote 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.
[](https://agentmods.dev/skills/borda/ai-rig/resolve)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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:
- PR intelligence — synthesize motivation from PR body, linked issues, thread; classify comments into action items
- Conflict resolution — checkout PR branch (fork-aware), merge
BASE_REF, resolve conflicts with contributor intent as priority lens - 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
originto 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.mdor 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.
42or#42) or GitHub PR URL → pr mode report(bare word) → report mode: latest review findings as action items; no GitHub re-fetch42 reportor<URL> report(order-invariant:report 42is the same request) → pr + report mode: aggregate live GitHub comments + review report, deduplicated in one pass. Thereportword adds the report as a second source; it never suppresses the GitHub fetch — barereport(no PR number) is the no-GitHub mode- Bare review comment text → comment dispatch mode (jumps to Step 12)
- Omitted → review-handoff mode: auto-detect PR from most recent
--no-challenge: optional — skip challenge gate per item; all selected items treated asVALID--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 isnoneorborderline, 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 thebridge:implementSkill 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 indispatch-prelude.md. --agentalso applies toINTEL_AGENT(Step 3b thread intelligence) — explicit real Agent types override label/title routing for classification as well.bridge:implementis never passed toAgent: classification falls back to label/title routing, C1 candidates use the Skill route, and other items use the change-to-specialist table.
- Bare name auto-prefixed with
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:resolveinreportmode 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.
What ships with it
23 files 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.
- modes/checkout.md 11 KB
- modes/comment-dispatch.md 11 KB
- modes/conflict-resolution.md 19 KB
- modes/design-scope.md 2.7 KB
- modes/dispatch-closeout.md 15 KB
- modes/dispatch-coordination.md 8.8 KB
- modes/dispatch-phase1.md 27 KB
- modes/dispatch-phase2.md 48 KB
- modes/dispatch-phase3.md 63 KB
- modes/dispatch-prelude.md 78 KB
- modes/exec-approval.md 24 KB
- modes/final-report.md 26 KB
- modes/handoff-detect.md 2.2 KB
- modes/item-selection.md 40 KB
- modes/lint-qa-gate.md 16 KB
- modes/pr-intelligence.md 25 KB
- modes/preflight.md 22 KB
- modes/push.md 18 KB
- modes/report-intake.md 15 KB
- modes/report-intelligence.md 14 KB
- modes/report-merge.md 11 KB
- modes/run-coordination.md 7.1 KB
- templates/resolve-report.md 8.2 KB
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.
- 4d ago Changed ec23a3a9853f
- 5d ago Changed 09e8e1a59785
- 6d ago Changed · +1 lines 93961d357502
- 7d ago Changed · +18 lines ac6f8dee1408
- 17d ago Changed a92b27fd70bf
- 18d ago Changed · -491 lines · -6 tokens per session 62fab289d6df
- 21d ago Changed · -611 lines 3b2c628f43d8
- 26d ago Changed eabb75a29c98
- 28d ago Changed 82912c3b634d
- 1mo ago First seen · 1,465 lines · 292 tokens per session scan A 66bf71b1b637
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.
resolve compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| resolveBorda/AI-Rig | Skill | 31 | yesterday | Apache-2.0 | A | 286 | Claude Code |
| git-pr-reviewhuangwb8/skills | Skill | 51 | 2d ago | MIT | A | 76 | Claude Code, Codex |
| neo-prBenknightdark/neo-skills | Skill | 7 | 14d ago | MIT | A | 60 | Claude Code, Codex |
| pr-merge-gatesWeaverse/.agents | Skill | 1 | 20d ago | MIT | A | 52 | Claude Code |
| fix-prWeaverse/.agents | Skill | 1 | 20d ago | MIT | A | 40 | Claude Code |
| safe-opsCassioRoos/godfly-skills | Skill | 1 | yesterday | MIT | A | 49 | Claude Code, Codex |
| review-prImran-ml/claude-skills | Skill | 4 | 8mo ago | none | A | 56 | Claude Code |