remediate

remediate is a skill for Claude Code from juicesharp/rpiv-mono. It costs 90 tokens per session (2,185 once invoked), scanned A, original, MIT.

A focused repair step for a codebase that failed a validation check. It follows the exact checks that failed, makes the smallest related fix, and confirms those checks pass.

In plain words
What is it for?
Use it to fix localized code or configuration problems identified by a validation report, then rerun the prescribed commands or procedures.
Why use it?
It removes the need to repeat unrelated work or change large parts of the project after a known defect is found. The repair stays tied to the validation report.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents.

Good fit Use it to fix localized code or configuration problems identified by a validation report, then rerun the prescribed commands or procedures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/juicesharp/rpiv-mono/remediate
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.

Any agent
npx skills add juicesharp/rpiv-mono --skill remediate
Clone the repo
git clone --depth 1 https://github.com/juicesharp/rpiv-mono

Made for: Claude Code.

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 remediate

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/juicesharp/rpiv-mono/remediate"><img src="https://agentmods.dev/badge/skills/juicesharp/rpiv-mono/remediate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,185 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00090 $0.02185
Opus 5 $0.00045 $0.01092
Sonnet 5 $0.00018 $0.00437
Haiku 4.5 $0.00009 $0.00218

Measured 13d ago against content hash fbd660eedc42, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

remediate 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 13d 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.

packages/rpiv-pi/skills/remediate/SKILL.md · 77 lines

How it starts

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

Remediate

You surgically repair a working tree that a validate stage judged verdict: fail. You do not re-validate the whole plan, re-run the project's full build/test suite, or rewrite anything broadly — you clear exactly the localized defects the failing risk rulings and structured blockers prescribe, and re-run each item's own procedure/command to confirm it now passes. One pass, non-interactive, side-effect only: you mutate code, never emit an artifact. The workflow loops you straight back to the validate gate, which re-judges; that is the only validation, so you do not self-review or ask for approval.

You are the tools/contract twin of implement (Bash(*) + code-mutation, side-effect, not an artifact) and the body-discipline twin of amend (single-pass, surgical, no subagents, no self-review, no questions).

Input

$ARGUMENTS — flags the orchestrator wires from the gate's channels. Parse flag-style (order-agnostic), exactly like amend:

  • --plans <plan-path> — the plan under .rpiv/artifacts/plans/. Its frontmatter carries the risks: array; a ruling's id joins to a flag there.
  • --validation <report-path> — the failing validation report under .rpiv/artifacts/validation/. Its frontmatter carries verdict + risk_rulings: [{ id, pass }] and, when whole-plan gates failed, blockers: [{ id, command, file, line }].

If --plans or --validation is missing, print an error and stop — it is a dispatch error, not a failing phase.

Steps

  1. Read the plan and the report fully (no limit/offset). From the report's frontmatter read verdict, the risk_rulings: [{ id, pass }] array, and the blockers: [{ id, command, file, line }] array (absent ⇒ empty); from the plan's frontmatter read the risks: array (each flag is { id, claim, … }).
  2. Build the work-list — ONLY the report's failing risk rulings + structured blockers. Take every risk_rulings entry with pass === false, and join each to the plan's risks: flag by id. A pass: false ruling whose id matches no plan flag has no claim/procedure/owner to ground a fix — treat it as a drift-escape (step 4). Then append every blockers: entry — each is a whole-plan/automated-command failure validate attributed with a runnable command and an in-delta file; its command plays the role of a ruling's procedure and it joins no plan flag. Never source work from the report body's Potential Issues / Deviations prose on its own: those tie to a work item only when a risk_rulings or blockers entry names it.
  3. Partition the work-list into fixable vs drift-escape. A failed ruling is fixable ONLY when its joined plan flag carries ALL of:
    • disposition: verify-at-implement — the ruling the plan deferred to this exact repair arm;
    • a concrete, non-empty procedure — the named command/test the ruling's own verification runs (the owner phase promised it);
    • a numeric owner phase.

Read the full file on GitHub · 77 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. 13d ago First seen · 77 lines · 90 tokens per session scan A fbd660eedc42

Subscribe to this mod's changes

remediate is a skill published in the GitHub repository juicesharp/rpiv-mono (780 stars, last pushed yesterday), licensed MIT. It adds 90 tokens to every session and 2,185 once invoked, about $0.0005 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-08-30.

Related

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

systematic-debugging

Use when debugging a failing test, build error, or runtime issue that isn't immediately obvious. Guides a 4-phase root cause analysis instead of random fix attempts.

open-metadata/OpenMetadata · 37 tokens

diagnose

Trace from a reproduced symptom to the source code that causes it. Pin the specific file and approximate line, rate confidence in the cause and clarity of the fix independently, and always propose a concrete fix.

emdash-cms/emdash · 43 tokens

repro-admin

Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.

emdash-cms/emdash · 48 tokens

log-error-digest

Analyze log files to troubleshoot errors, identify peak error periods, and produce error clustering, frequency statistics, and time distribution reports. Supports JSON, syslog, and Nginx formats with automatic detection. Use when a user uploads a .log file and asks to analyze errors, find patterns, debug issues, or…

zebbern/claude-code-guide · 71 tokens

byted-util-volcengine-detect-retry

An orchestration workflow for Volcengine Cloud Detect, a service that checks websites or network endpoints from test locations.

bytedance/agentkit-samples · 101 tokens