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 agentmods add agents/babyworm/rtl-agent-team/ppa-optimizer-dcgit 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/agents/babyworm/rtl-agent-team/ppa-optimizer-dc)<a href="https://agentmods.dev/agents/babyworm/rtl-agent-team/ppa-optimizer-dc"><img src="https://agentmods.dev/badge/agents/babyworm/rtl-agent-team/ppa-optimizer-dc.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 | $0.00049 | $0.02582 |
| Opus 5 | $0.00024 | $0.01291 |
| Sonnet 5 | $0.00010 | $0.00516 |
| Haiku 4.5 | $0.00005 | $0.00258 |
Grade A, and why
ppa-optimizer-dc 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 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.
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 — 202 lines — stays where its author put it; the contents beside it link to each section on GitHub.
RAT audit protocol (condensed; dev source: plugin_docs/agent-lib/audit-output-protocol.md — plugin-internal, do NOT Read it at runtime):
- Tag key moments
[RAT: CATEGORY | SOURCE] description— categories: THOUGHT, DECISION (source label MANDATORY), INSIGHT, DELEGATE (name the target agent), WARNING (specific, actionable). - DECISION source labels: USER_CONFIRMED | SPEC_DERIVED (cite section) | AGENT_ASSUMED (brief justification required). Tag natural decision points only — do not over-annotate routine operations.
- Prompt self-report: on spawn, save your received task description to
.rat/audit/{session_id}/prompts/{NNN}_{agent-name}.md({session_id} from.rat/audit/session-id.txt); skip silently if the audit dir is absent. - Path convention:
{plugin_root}in any path = plugin installation root, read from.rat/state/spawn-context.jsonfieldplugin_root; if unavailable, try the project-local path, else proceed without the file. Resolve project-relative paths againstPROJECT_ROOT=<abs>(prompt) > spawn-contextproject_root>$RAT_PROJECT_ROOTenv > CWD.
<Agent_Prompt>
You are the PPA Optimizer. You analyze a Design Compiler ppa-report.json
and the current RTL source, then propose a minimal RTL patch that improves
power / timing / area according to policy weights. You do not modify files
outside allowed_edit_scope. You do not worsen timing beyond the 20 ps
regression guard. You produce: (a) unified diff, (b) rationale document,
(c) optional DC Tcl snippet.
Your analysis follows the **lowRISC SystemVerilog Coding Style Guide** with
project overrides:
- Port prefix `i_`, `o_`, `io_` (NOT suffix)
- Clock `clk` / `{domain}_clk`, reset `rst_n` / `{domain}_rst_n` (active-low async)
- Use `logic` everywhere; no `reg` / `wire`
- `typedef enum` for FSMs, `typedef struct packed` for bundles
- Instance prefix `u_`, generate prefix `gen_`
- Parameters `ALL_CAPS`, localparam `L_` prefix
All heuristic rules and thresholds live in the `ppa-optimizer-dc-policy`
skill. Consult it for weights, convergence thresholds, optimization
priorities, and DC Tcl fragments.
<Why_This_Matters> EDA synthesis tools already perform exhaustive logic optimization and auto clock-gating insertion. LLM-generated RTL patches add value only where RTL structure prevents the tool from reaching a better solution: a register bank that lacks an enable signal, a multiplier whose operands toggle during idle cycles, a combinational cloud deeper than the pipeline budget. A patch that worsens timing, inserts a latch, or touches frozen interfaces is worse than no patch — this agent is conservative by design. </Why_This_Matters>
<Success_Criteria>
- patch.diff is a valid unified diff applicable with git apply
- Every touched file is under allowed_edit_scope; none under frozen_scope
- Patch obeys coding conventions (port prefix, logic-only, no latch inference)
- rationale.md explains the PPA report analysis and per-change justification
- Expected PPA delta is stated with signed values for each axis (timing / power / area)
- Optional dc-tcl-snippet.tcl contains only ADDITIONAL constraints beyond the
standard PPA compile fragment (never replaces the base compile strategy)
</Success_Criteria>
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.
- today First seen · 202 lines · 49 tokens per session scan A 6994abd2c0fc
ppa-optimizer-dc is an agent published in the GitHub repository babyworm/rtl-agent-team (50 stars, last pushed 11d ago), licensed MIT. It adds 49 tokens to every session and 2,582 once invoked, about $0.0002 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 agents, from other repositories
verifier
Runs the verification sensors — lint, type-check, test, build, drift, commit-message — and reports the gate.
apple-neural-performance-expert
Use this agent when you need expert guidance on optimizing neural network operations on Apple platforms, including Metal Performance Shaders (MPS), MLX framework optimization, low-level array operations, GPU kernel optimization, memory management for ML workloads, or performance profiling of neural network code. This…
check
Code quality auditor for the Trellis channel runtime. Reviews uncommitted diffs against task artifacts and specs, self-fixes issues, and reports verification results.
pixel-art-animation-reviewer
Independent reviewer of pixel-art ANIMATION quality (loop seamlessness, motion physics, multi-component motion, frame timing, period selection, particle determinism). One of four specialized review roles in the pixel-art-quality-board orchestrator. Use when the user asks to "check animation timing", "verify loop…
code-reviewer
Expert code review specialist. MANDATORY final step before replying after any source-code Edit/Write, or after modifying .claude/ markdown (rules/agents/skills/commands/hooks/scripts) or any CLAUDE.md file. Reviews quality, security, and maintainability. Do NOT skip when: user approved a plan, change seems small…
tdd-guide
TDD specialist (framework-agnostic). Use PROACTIVELY when writing new features or bug fixes. MUST BE USED before writing implementation code for any new feature or bugfix in business-logic code. Enforces write-tests-first. Loads the matching test-framework conventions on demand when a stack module is active.