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 babyworm/rtl-agent-team --skill refactor-classification-policygit clone --depth 1 https://github.com/babyworm/rtl-agent-teamWrote 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/babyworm/rtl-agent-team/refactor-classification-policy)<a href="https://agentmods.dev/skills/babyworm/rtl-agent-team/refactor-classification-policy"><img src="https://agentmods.dev/badge/skills/babyworm/rtl-agent-team/refactor-classification-policy.svg" alt="Measured on agentmods" 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.00021 | $0.00406 |
| Opus 5 | $0.00010 | $0.00203 |
| Sonnet 5 | $0.00004 | $0.00081 |
| Haiku 4.5 | $0.00002 | $0.00041 |
Grade A, and why
refactor-classification-policy 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 3d 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.
What it actually says
Refactor Policy
Refactor Classes
SAFE: behavior-preserving cleanup with no interface/timing contract impactRESTRICTED: likely behavior-preserving but affects structure or test assumptionsPROHIBITED: behavior/spec contract may change
SAFE (auto-apply allowed)
- Naming/format consistency fixes
- Dead code removal
- Local duplication cleanup with equivalent logic
- Comment/documentation synchronization
RESTRICTED (approval or explicit orchestrator permit)
- Significant module decomposition/merge
- Testbench structure reshaping affecting check points
- Constraint file reorganization without semantic change proof
PROHIBITED (manual approval required)
- FSM semantic changes
- Pipeline latency/stage changes
- CDC strategy changes
- Interface contract changes
- Reset behavior semantics changes
Pass/Fail Gate
FAIL: any prohibited change applied without approvalFAIL: equivalence confidence not demonstrated for SAFE/RESTRICTED changesPASS: only SAFE changes applied and mandatory recheck passed
Escalation
- Any ambiguity about behavior equivalence: escalate as
RESTRICTED - Any proposal touching interface/timing contract: escalate before edit
- Repeated recheck fail after 2 attempts: stop and hand off with root-cause note
Output Format
Use the following refactor execution report:
# Refactor Execution Report
- Scope: module|block|top
- Verdict: PASS | FAIL
## Planned Changes
| ID | Class | Target | Rationale | Approval Required |
|---|---|---|---|---|
## Applied Changes
| ID | Files | Summary | Risk |
|---|---|---|---|
## Blocked/Deferred
- [approval-required or risky items]
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.
- 3d ago First seen · 61 lines · 21 tokens per session scan A 138e20814f1c
refactor-classification-policy is a skill published in the GitHub repository babyworm/rtl-agent-team (51 stars, last pushed 13d ago), licensed MIT. It adds 21 tokens to every session and 406 once invoked, about $0.0001 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-09-03.
Other skills, from other repositories
qa-review
QA review for code changes — test coverage analysis, edge case identification, test plan generation, regression detection, test health tracking over time.
flutter-mcp-boundary-audit
Generic contract/schema boundary audit across authoring, discovery, validation, and execute—detecting split-brain between listings and invoke paths, gateway divergence, and permissive placeholders. Use when changing tool registration, RPC/plugin registries, dynamic tools, MCP or WebMCP surfaces, CLI exec aliases…
readable-verilog-generator
Use when creating, writing, reviewing, annotating, repairing, refactoring, or validating readable Verilog RTL, including synthesizable Verilog-2001 .v files, existing-RTL analysis, semantic comment annotation, testbench scaffold planning, ASIC-quality review, local or remote Vivado/xsim validation, evidence-backed…
fresh-eyes-loop
A repeatable quality-review process using two independent agents: one reviews and verifies, while the other fixes issues. P0 and P1 mean the highest-severity problem levels.
aster-review-ci
Run aster code reviews non-interactively in CI, GitHub Actions, or from another agent. Covers aster review --pr, --json, --stream, --comment, diff-from-stdin, token handling, and filtering findings. Use when wiring aster into a pipeline, posting PR comments, or parsing review output programmatically.
rtl-review
Audit RTL code for lint violations, synthesis hazards, coding-style compliance, and readability. Use when the user says "review this Verilog", "check my RTL", "lint this module", "is this code synthesizable", or shares an HDL file and asks for feedback before simulation or tape-in.