sdcorejs-repair-loop

sdcorejs-repair-loop is a skill for Claude Code from sdcorejs/sdcorejs-agent. It costs 88 tokens per session (1,853 once invoked), scanned A, original, MIT.

A bounded workflow for fixing selected problems found during reviews, tests, checks, or human feedback. It preserves the original evidence and verifies the result after the repair.

In plain words
What is it for?
Use it to repair findings from code reviews, tests, linters, type checks, manual checks, delivery checks, and supported product, design, documentation, or workflow work.
Why use it?
It prevents fixes from becoming open-ended or losing track of why a change was made. The work stays within the correct owner, approved files, and limited number of attempts.

Skill for Claude Code

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

Good fit Use it to repair findings from code reviews, tests, linters, type checks, manual checks, delivery checks, and supported product, design, documentation, or workflow work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sdcorejs/sdcorejs-agent/sdcorejs-repair-loop
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 sdcorejs/sdcorejs-agent --skill sdcorejs-repair-loop
Clone the repo
git clone --depth 1 https://github.com/sdcorejs/sdcorejs-agent

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 sdcorejs-repair-loop

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sdcorejs/sdcorejs-agent/sdcorejs-repair-loop"><img src="https://agentmods.dev/badge/skills/sdcorejs/sdcorejs-agent/sdcorejs-repair-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,853 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.00088 $0.01853
Opus 5.5 $0.00035 $0.00741
Sonnet 5.5 $0.00018 $0.00371
Haiku 4.5 $0.00009 $0.00185

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

Security

Grade A, and why

sdcorejs-repair-loop 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 16d 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.

.claude/skills/sdcorejs-repair-loop/SKILL.md · 118 lines

How it starts

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

Path resolution: Resolve ../../_refs/... relative to this SKILL.md. Resolve another SDCoreJS skill by opening the sibling folder ../<skill-name>/SKILL.md.

Repair Loop

Shared Protocols

Read ../../_refs/shared/runtime-protocols.md and load only the references needed by the scoped finding.

Thin dispatch skill for applying findings and re-verifying them. The detailed loop lives in ../../_refs/orchestration/tail/repair-loop.md.

Resolve supported tracks from ../../_refs/shared/system-registry.json; do not keep a framework-only enum. Validate every repair with ../../_refs/orchestration/repair-contract.mjs, which binds the original evidence, artifact/implementation owner, execution host, approved write scope, bounded attempts, and repaired evidence linkage.

Workflow

  1. Determine and preserve the source of findings: review-code, external-review-feedback, verify-before-done, linter, typecheck, test, or manual.
  2. Read ../../_refs/orchestration/tail/repair-loop.md completely.
  3. If the source is sdcorejs-review, preserve the original review_context exactly, including track, track_profile, dimensions, mode, file_scope, refs loaded/skipped, probes run/skipped, and package manager. Preserve any test_context, test_status, test_evidence, ui_capture_context, ai_agent_context, simplify_context, convention_context, and artifact_context exactly as source evidence; append new run/case evidence after repair instead of overwriting or upgrading stale/blocked results.
  4. Record the working-tree baseline and a visible Repair ledger before edits.
  5. Verify each finding is genuine before changing code and classify it as VALID, STALE, MIS-SCOPED, REDUNDANT, UNCLEAR, or CONFLICTING. For external feedback, preserve review ID/reviewer/base revision/file scope and sanitized original feedback, re-read current evidence, then use evaluateExternalReviewFeedback; evidence must bind repository, current revision, safe path, locator, and content hash through the trusted snapshot. Classification fields, normalized conflicts, proposed-change kind, and any migration-decision identity must match a canonical repair-review-assessment:v1 artifact from the independent verifier. Caller relabeling or decision substitution invalidates write eligibility. An incorrect claim receives cited technical pushback and no write.
  6. Categorize valid findings into auto, confirm, or user-decision tiers. A review finding must also be explicitly selected for repair and carry matching artifact-backed write authority; confirm and user-decision tiers require their own actor-, finding-, revision-, kind-, and scope-bound approval. Resolve {artifact_ref, approval_hash} only from the trusted approval_artifacts loader and verify its canonical artifact hash; a nonexistent reference, inline body, review output, or boolean is not authorization.
  7. For a single VALID finding that becomes a concrete bug investigation, call sdcorejs-debug with the preserved repair_source, review_context, finding ID/source, original commands, and package-manager evidence; consume its redacted debug_context before continuing.
  8. Apply only inside the intersection of feedback, finding, and owner-approved scopes. Resolve current and repaired paths, locators, revisions, and hashes from a canonical trusted repository-snapshot artifact. Record a nonempty pre/post hash manifest and independently compared test-contract hashes/ assertion IDs, then derive validation status from a canonical trusted command receipt for the exact source-specific command. Use the smallest relevant discovered command first and associate new evidence with the repaired diff.
  9. Iterate until blocking findings are fixed, explicitly deferred, or the reference's 3-pass convergence cap is reached. Blocking means Critical/Important in the default review format, or BLOCKER/REQUIRED in Angular/NestJS code-review table mode.

Read the full file on GitHub · 118 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. 16d ago Changed · +2 lines a60eff35a664
  2. 2mo ago First seen · 116 lines · 88 tokens per session scan A fd839c80c922

Subscribe to this mod's changes

sdcorejs-repair-loop is a skill published in the GitHub repository sdcorejs/sdcorejs-agent (2 stars, last pushed 15d ago), licensed MIT. It adds 88 tokens to every session and 1,853 once invoked, about $0.0004 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-31.

Related

Other skills, from other repositories

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

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

cwv-optimizer

Diagnose and fix Core Web Vitals issues on AEM Edge Delivery Services pages. Goes deeper than generic CWV advice by understanding EDS-specific performance patterns including the 100KB LCP budget, E-L-D loading phases, block rendering behavior, and third-party script impact. Produces specific fixes for LCP, CLS, and…

adobe/skills · 112 tokens

ci-fixer

CI failures - read error, minimal fix, verify.

sipyourdrink-ltd/bernstein · 15 tokens

incident-response-incident-response

Coordinate production incident triage, mitigation, investigation, recovery, and follow-up. Use when responding to outages or other incidents that require structured operational coordination.

rmyndharis/antigravity-skills · 36 tokens

diagnosing-missing-recordings

Diagnoses why a session recording is missing or was not captured. Use when a user asks why a session has no replay, why recordings aren't appearing, or wants to troubleshoot session replay capture issues for a specific session ID or across their project. Covers SDK diagnostic signals, project settings, sampling…

PostHog/posthog · 76 tokens