code-remediate

code-remediate is a skill for Claude Code, Codex from Borda/AI-Rig. It costs 34 tokens per session (35,681 once invoked), scanned A, original, Apache-2.0.

A workflow for applying selected fixes from a code review or pull request. A pull request is a proposed code change submitted for review.

In plain words
What is it for?
Use it to fix selected review issues in a path, module, branch, or pull request.
Why use it?
It turns review findings into a tracked sequence of fixes and makes sure unresolved serious findings are explicitly noted.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex; $skill-name invocation.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is Before asking, read [User Questions](../../shared/codex-user-questions.md)..

Good fit Use it to fix selected review issues in a path, module, branch, or pull request.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Borda/AI-Rig
agentmods
npx agentmods add skills/borda/ai-rig/code-remediate

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 code-remediate

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/borda/ai-rig/code-remediate"><img src="https://agentmods.dev/badge/skills/borda/ai-rig/code-remediate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 35,681 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Tool Misuse · line 129
    Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.
    Fix: Override unsafe defaults with secure settings (verify=True, auth required, restrictive permissions). Review and harden all tool configurations.
  • medium Excessive Agency · line 310
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00034 $0.35681
Opus 5.5 $0.00014 $0.14272
Sonnet 5.5 $0.00007 $0.07136
Haiku 4.5 $0.00003 $0.03568

Measured today against content hash 2aa43389aa95, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

code-remediate scanned grade A with 1 finding 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 today.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Never inspect/edit PR code from `curl`, `raw.githubusercontent.com`, or copied `head-files/` snapshots; raw-file snapshot rejection: snapshots are rejected.
plugins/codex-rig/skills/code-remediate/SKILL.md · 877 lines

How it starts

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

Before asking, read User Questions.

Code Remediate

Apply the shared Proportional Execution policy to bounded analysis or implementation delegated within this workflow; specialized source selection, protected-state, lifecycle, and verification gates remain authoritative.

Code Remediate is a single pass: collect findings, resolve the selected work, verify, and report. This specialized contract takes precedence over generic plan-challenge and review-to-fix convergence rules. No convergence score, loop ledger, or score-based stop applies to ordinary remediation. Single pass limits workflow expansion, not necessary debugging, regression repair, or rerunning a failed configured check within the authorized scope.

Challenge Resolve is opt-in: a Code Remediate invocation alone does not authorize the challenge-resolve skill or any iterative adversarial review-and-fix loop, including plan challenges and checkout recovery. Enter that separate workflow only when the user explicitly requests it. Do not propose or ask approval for an unsolicited loop. Existing explicit approval for the same scope remains valid; do not ask again. Only an explicitly requested loop reads ../../shared/adversarial-loop.md and applies its convergence and stop rules; afterward resume remediation's selection, implementation evidence, and normal completion gates. An unavailable recovery route remains explicitly blocked rather than bypassed.

See the fixed recurrence and root-cause policy and reasoning-progress escalation policy for repeated-obstacle handling; record and validate reasoning-progress.json before another cycle after escalation trigger.

Newly discovered in-scope defects do not trigger another review wave or score-based permission request. Resolve feasible work within the authorized scope using source evidence and focused checks; record genuinely separate or unfinished work with evidence, owner, and next action. Ask only for a concrete missing decision or material scope expansion. Never claim unresolved selected findings are closed.

Apply Worktree lifecycle before collection: capture the original invoking checkout and announce any temporary worktree and intended return destination. Review isolation does not make remediation worktree-only; absent an explicit worktree-only request, finished changes belong in the invoking checkout.

Keep report and reviewer setup subordinate to selected finding closure under the primary-goal rules in Reasoning-Progress Escalation. After selection and root-cause evidence establish an authorized fix, implement it and its regression before another review-preparation cycle. Diagnose an agent-owned setup failure once and attempt one bounded repair; if it fails, stop that auxiliary route and continue safe primary work. Preserve missing review coverage as a factual limitation; do not ask the user to debug reviewer names, commands, or metadata.

Read the full file on GitHub · 877 lines

Files

What ships with it

5 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.

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. today Changed · -73 lines · +6 tokens per session 2aa43389aa95
  2. 8d ago Changed · +18 lines 4ae8e8d3683a
  3. 9d ago Changed · +26 lines fb7abb6f3e1f
  4. 10d ago Changed · +21 lines ee42f801a514
  5. 11d ago Changed · +35 lines 107430113595
  6. 15d ago Changed · +14 lines 419a221e193a
  7. 16d ago Changed d64a1376ce4d
  8. 17d ago Changed · +28 lines b08f12271368
  9. 18d ago Changed · +2 lines 34a47361215f
  10. 19d ago First seen · 806 lines · 28 tokens per session scan A e6e5f761aa55

Subscribe to this mod's changes

code-remediate is a skill published in the GitHub repository Borda/AI-Rig (28 stars, last pushed today), licensed Apache-2.0. It adds 34 tokens to every session and 35,681 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

morpheus

Second opinion and final verdict for engineering decisions. Challenges a plan, design, PR, claim, fix, or bug theory with cited evidence, steelmans the user's position first, asks when an assumption would flip the verdict, labels how each claim is known, and always lands on a verdict or a recommended option with…

CassioRoos/godfly-skills · 151 tokens

sentry-brief

Turn a raw alert payload into a one-screen incident brief: blast radius, suspected cause, the three checks that discriminate between causes, and the containment action. Use when paged, when triaging an alert, or when handing an incident to the next responder.

CassioRoos/godfly-skills · 57 tokens

transcript-grep

Search a Claude Code session transcript for a string or regex pattern and show every matching message with surrounding context. Reads /api/sessions/:id/transcript and resolves sessions via /api/sessions?limit= from the Agent Monitor dashboard. Use when hunting for a specific message, prompt, tool call, or error inside…

hoangsonww/Claude-Code-Agent-Monitor · 73 tokens

anomaly-alert

Identify anomalous sessions using Agent Monitor data — cost outliers from the pricing engine, token anomalies (cache miss spikes, compaction baseline surges), unusual event type ratios (PreToolUse/PostToolUse gaps, APIError clusters), behavioral deviations from workflow intelligence (complexity score outliers, error…

hoangsonww/Claude-Code-Agent-Monitor · 86 tokens

audit

Project health audit and health check — architecture, performance, tests, dependencies, code quality. Use when assessing overall project health, before releases, or after refactors.

oliver-kriska/claude-elixir-phoenix · 35 tokens

code-review-web

Review web application code for bugs, security issues, performance problems, and stack-specific anti-patterns. Use this skill whenever the user wants to review code, debug a production issue, investigate a build failure, audit security, or check a PR before merging. Triggers on code review, review my code, debug…

rampstackco/claude-skills · 121 tokens