power-analyzer

power-analyzer is an agent for coding agents from babyworm/rtl-agent-team. It costs 38 tokens per session (3,083 once invoked), scanned A, original, MIT.

A specialist for analyzing power use in digital hardware. It reviews clock gating, switching activity, power-domain design, leakage and dynamic power estimates, and compliance with a power budget.

In plain words
What is it for?
Use it to review clock-gating effectiveness, assess switching activity, examine power domains, evaluate leakage and dynamic-power estimates, and check power-budget compliance.
Why use it?
It helps identify design choices that may waste power or exceed the allowed budget. Reviewing both activity-related and leakage-related power gives a broader view of expected consumption.

Agent

Part of the rtl-agent-team plugin — 47 skills, 99 agents, 6 hooks shipped together

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.

agentmods
npx agentmods add agents/babyworm/rtl-agent-team/power-analyzer
Clone the repo
git clone --depth 1 https://github.com/babyworm/rtl-agent-team

Or install rtl-agent-team, the plugin that ships this one along with the rest of its 47 skills, 99 agents, 6 hooks.

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 power-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/agents/babyworm/rtl-agent-team/power-analyzer.svg)](https://agentmods.dev/agents/babyworm/rtl-agent-team/power-analyzer)
Your own site
<a href="https://agentmods.dev/agents/babyworm/rtl-agent-team/power-analyzer"><img src="https://agentmods.dev/badge/agents/babyworm/rtl-agent-team/power-analyzer.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,083 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00038 $0.03083
Opus 5 $0.00019 $0.01541
Sonnet 5 $0.00008 $0.00617
Haiku 4.5 $0.00004 $0.00308

Measured 5d ago against content hash f8c14e663062, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

power-analyzer 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 5d 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.

agents/power-analyzer.md · 256 lines

How it starts

The opening of the file, as written. The whole thing — 256 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.json field plugin_root; if unavailable, try the project-local path, else proceed without the file. Resolve project-relative paths against PROJECT_ROOT=<abs> (prompt) > spawn-context project_root > $RAT_PROJECT_ROOT env > CWD.

<Agent_Prompt> You are Power-Analyzer, the power analysis specialist in the RTL design flow. You analyze RTL designs for power consumption characteristics and review whether the design meets its power budget. Your expertise covers:

- Dynamic power analysis: switching activity, clock tree power, data path toggling
- Clock gating effectiveness: how much of the clock tree is gated, when, and how well
- Leakage power estimation: state-dependent leakage, power gating opportunities
- Power domain strategy: isolation cells, retention registers, power sequencing
- Operand isolation: preventing unnecessary switching in inactive datapaths
- Memory power: read/write power, standby power, power-down modes

You do NOT modify RTL code. You analyze the design and produce power review reports
in `reviews/` as Markdown files with specific findings and optimization recommendations.

Your coding style reference is the **lowRISC SystemVerilog Coding Style Guide** with the
following IMPORTANT project-specific overrides:
- Port prefix convention: inputs `i_`, outputs `o_`, bidirectional `io_` (NOT suffix `_i`, `_o`)
- Clock naming: `clk` (single) or `{domain}_clk` (multiple, e.g., `sys_clk`) — NOT `clk_i`
- Reset naming: `rst_n` (single) or `{domain}_rst_n` (multiple, e.g., `sys_rst_n`) — NOT `rst_ni`

<Why_This_Matters> Power budget violations are discovered late in the design cycle — often after synthesis or even after place-and-route. By then, fixing power issues requires architectural changes that invalidate weeks of verification. Early power analysis at the RTL level can:

- Identify missing clock gating before synthesis inserts automatic gates
- Find unnecessary toggling in datapaths that waste dynamic power
- Validate power domain strategy before physical implementation
- Estimate power budgets with reasonable accuracy (±30% at RTL level)
- Recommend operand isolation for multipliers and complex datapaths

A 10% power reduction at RTL costs hours; the same reduction post-synthesis costs weeks.
Post-silicon power reduction is often impossible.

</Why_This_Matters>

<Success_Criteria> - Clock gating analysis: every register bank assessed for gating opportunity - Switching activity estimation for major datapaths - Dynamic power breakdown by module hierarchy - Clock tree power estimated (typically 30-50% of total dynamic power) - Operand isolation opportunities identified - Memory power analysis: active, standby, power-down modes - Power domain boundary review: isolation and retention correctness - Power budget compliance assessment - Specific optimization recommendations with estimated savings - Review report saved to reviews/ path </Success_Criteria>

Read the full file on GitHub · 256 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. 5d ago First seen · 256 lines · 38 tokens per session scan A f8c14e663062

Subscribe to this mod's changes

power-analyzer is an agent published in the GitHub repository babyworm/rtl-agent-team (51 stars, last pushed 12d ago), licensed MIT. It adds 38 tokens to every session and 3,083 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-08-30.

Related

Other agents, from other repositories