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.
npx skills add sdcorejs/sdcorejs-agent --skill sdcorejs-repair-loopgit clone --depth 1 https://github.com/sdcorejs/sdcorejs-agentWrote 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/sdcorejs/sdcorejs-agent/sdcorejs-repair-loop)<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.
<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>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.00088 | $0.01853 |
| Opus 5.5 | $0.00035 | $0.00741 |
| Sonnet 5.5 | $0.00018 | $0.00371 |
| Haiku 4.5 | $0.00009 | $0.00185 |
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.
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
- Determine and preserve the source of findings:
review-code,external-review-feedback,verify-before-done,linter,typecheck,test, ormanual. - Read
../../_refs/orchestration/tail/repair-loop.mdcompletely. - If the source is
sdcorejs-review, preserve the originalreview_contextexactly, includingtrack,track_profile, dimensions, mode,file_scope, refs loaded/skipped, probes run/skipped, and package manager. Preserve anytest_context,test_status,test_evidence,ui_capture_context,ai_agent_context,simplify_context,convention_context, andartifact_contextexactly as source evidence; append new run/case evidence after repair instead of overwriting or upgrading stale/blocked results. - Record the working-tree baseline and a visible Repair ledger before edits.
- Verify each finding is genuine before changing code and classify it as
VALID,STALE,MIS-SCOPED,REDUNDANT,UNCLEAR, orCONFLICTING. For external feedback, preserve review ID/reviewer/base revision/file scope and sanitized original feedback, re-read current evidence, then useevaluateExternalReviewFeedback; 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 canonicalrepair-review-assessment:v1artifact from the independent verifier. Caller relabeling or decision substitution invalidates write eligibility. An incorrect claim receives cited technical pushback and no write. - Categorize valid findings into
auto,confirm, oruser-decisiontiers. A review finding must also be explicitly selected for repair and carry matching artifact-backed write authority;confirmanduser-decisiontiers require their own actor-, finding-, revision-, kind-, and scope-bound approval. Resolve{artifact_ref, approval_hash}only from the trustedapproval_artifactsloader and verify its canonical artifact hash; a nonexistent reference, inline body, review output, or boolean is not authorization. - For a single
VALIDfinding that becomes a concrete bug investigation, callsdcorejs-debugwith the preservedrepair_source,review_context, finding ID/source, original commands, and package-manager evidence; consume its redacteddebug_contextbefore continuing. - 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.
- Iterate until blocking findings are fixed, explicitly deferred, or the reference's 3-pass convergence cap is reached. Blocking means
Critical/Importantin the default review format, orBLOCKER/REQUIREDin Angular/NestJS code-review table mode.
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.
- 16d ago Changed · +2 lines a60eff35a664
- 2mo ago First seen · 116 lines · 88 tokens per session scan A fd839c80c922
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.
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.
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…
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…
ci-fixer
CI failures - read error, minimal fix, verify.
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.
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…