From rolepod-uiproof
Audit a page's weight against a declared byte budget. Loads the URL, records a HAR, classifies entries by asset category (js/css/image/font), tags third-party requests, and compares totals to budget. Returns violations + graduated pass/warn/fail status. Driven by Playwright, observed entirely in-browser.
How this skill is triggered — by the user, by Claude, or both
Slash command
/rolepod-uiproof:audit-page-budgetThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Single-backend skill. Calls **`audit_page_budget`** on the
Single-backend skill. Calls audit_page_budget on the
rolepod-uiproof MCP server. No fallback (D-024).
/measure-cwv and /audit-a11y as a Verify-phase
triple.performance-engineer agent owns build-output
concerns.url — URL to audit.viewport — optional { width, height }.budget — optional overrides. Defaults:
total_kb: 1500js_kb: 300css_kb: 100image_kb: 500font_kb: 100third_party_kb: 200request_count: 100third_party_hostnames[] — explicit allowlist. When supplied, an
entry is only counted as third-party if its hostname matches one of
these. When omitted, all non-page hostnames count as third-party
(with an eTLD+1 heuristic for subdomains of the page).wait_for_idle_ms — wait for networkidle after load. Default 2000.run_id — folder under the run root (see Evidence routing).totals_bytes — totals per category in bytes.request_count — total requests recorded.violations[] — each { category, actual_kb, budget_kb, over_pct }.status — pass (no violations) | warn (≤50% over) | fail (any
category >50% over budget).report_path — path to budget.json.har_path — path to the HAR file (re-loadable in DevTools).audit_page_budget input from the user's intent (URL,
optional budget overrides, optional third-party allowlist).Run artifacts are saved under:
.rolepod-uiproof/artifacts/audit_page_budget_<ts>_<uuid>/rolepod parent (detected via the marker file <git-root>/.rolepod/parent-active written by the parent's SessionStart hook): <git-root>/.rolepod/evidence/<ts>-rolepod-uiproof-audit-page-budget/Either way the run directory contains budget.json, network.har, and
a manifest.json per Extension Protocol v1 so the parent's check-work
skill can aggregate the result into the verify report.
Surface plainly:
The
/audit-page-budgetskill needs the rolepod-uiproof MCP server, which is not currently available. Confirm the plugin is installed and try again.
Do not attempt another backend (D-024).
{
"url": "https://example.com"
}
{
"url": "https://example.com/checkout",
"budget": { "js_kb": 150, "total_kb": 800 }
}
{
"url": "https://example.com",
"third_party_hostnames": ["googletagmanager.com", "doubleclick.net"]
}
npx claudepluginhub nuttaruj/rolepod-uiproof --plugin rolepod-uiproofGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.