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 MapleCity1314/vite-browser --skill vite-browser-runtime-diagnosticsgit clone --depth 1 https://github.com/MapleCity1314/vite-browserWrote 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/maplecity1314/vite-browser/vite-browser-runtime-diagnostics)<a href="https://agentmods.dev/skills/maplecity1314/vite-browser/vite-browser-runtime-diagnostics"><img src="https://agentmods.dev/badge/skills/maplecity1314/vite-browser/vite-browser-runtime-diagnostics/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/maplecity1314/vite-browser/vite-browser-runtime-diagnostics"><img src="https://agentmods.dev/badge/skills/maplecity1314/vite-browser/vite-browser-runtime-diagnostics.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.00152 | $0.01069 |
| Opus 5.5 | $0.00061 | $0.00428 |
| Sonnet 5.5 | $0.00030 | $0.00214 |
| Haiku 4.5 | $0.00015 | $0.00107 |
Grade A, and why
vite-browser-runtime-diagnostics 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 1mo 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 — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.
vite-browser-runtime-diagnostics
Use this skill when runtime behavior is the likely cause. Prefer it over component inspection when timing and recent updates matter.
Standard sequence
vite-browser vite runtime
vite-browser errors --mapped --inline-source
vite-browser correlate errors --mapped --window 5000
vite-browser correlate renders --window 5000
vite-browser diagnose propagation --window 5000
vite-browser diagnose hmr --limit 50
vite-browser vite hmr trace --limit 50
vite-browser vite module-graph --limit 200
vite-browser vite module-graph trace --limit 200
In v0.3.3+, errors --mapped --inline-source is also the right first read for browser-side runtime failures that never appear in the Vite overlay. Do not assume no errors means the page is healthy unless logs and the visible browser state agree.
Use diagnose propagation first when the question is about rerenders, component paths, store changes, or "what update actually flowed into this failure". Treat its output as a high-confidence propagation clue, not strict causal proof. Use diagnose hmr first when the problem still looks primarily transport/HMR-layer.
Diagnostic patterns
HMR instability
vite hmr clear- Reproduce once
vite hmr trace --limit 50- Flag
full-reloador repeatederrorevents.
Module churn
vite module-graph clear- Capture baseline:
vite module-graph - Trigger one change or one navigation
vite module-graph trace- Inspect unexpectedly added/removed modules.
Recent update caused failure
- Reproduce once after the failure.
correlate errors --mapped --window 5000- Identify whether the current error overlaps with recent HMR-updated modules.
- Inspect the highest-confidence matching module first.
Store or component propagation
- Reproduce once after the visible failure.
- Wait briefly for queued render/store events to settle if reproduction was driven by a live interaction or hot update. A short delay such as ~300ms is usually enough, though
v0.3.3+is more tolerant of sparse store-side evidence and missing browser-side HMR events in Vue/Pinia repros. correlate renders --window 5000diagnose propagation --window 5000- Use
Store Updates,Changed Keys, andRender Pathto choose the first store/component to inspect.- Vue:
vue pinia [store],vue tree - React:
react store list,react store inspect <name>,react commits --limit 20,react tree
- Vue:
- If the output is inconclusive or says no trace is available, keep the conclusion conservative and do not overstate a causal chain.
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.
- 1mo ago First seen · 106 lines · 152 tokens per session scan A 37b8b8bf2b24
vite-browser-runtime-diagnostics is a skill published in the GitHub repository MapleCity1314/vite-browser (9 stars, last pushed 6mo ago), licensed MIT. It adds 152 tokens to every session and 1,069 once invoked, about $0.0006 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
surf
Drive the user's logged-in Chrome from the shell. Use for browser automation (open, read, click, fill, upload, screenshot), reading a site's feed or API, or asking ChatGPT, Gemini, Perplexity or Grok through the browser.
agent-inspect
Local evidence debugger and trajectory-test toolkit for TypeScript AI agents. Use when capturing framework-faithful traces, asserting TraceContract/TraceFacts, packaging Evidence v2, or inspecting local runs over read-only MCP (gettracefacts).
rewynd-backend-debugging
Use when debugging, verifying, or investigating backend runtime behavior — HTTP 500s, wrong responses, slow endpoints, suspected N+1 or duplicate queries, "why did this request do that" — in a project running under rewynd. Reads the actual recorded request trace (SQL with params, outbound calls, logs, exceptions…
code_explorer
Explores the repository to locate primary source files, coupled UI components, and test files for bug reports or feature requests.
test-failure-explorer
Import and query an existing Vitest 3.2 JSON report to explore test failures, file-level errors and original diagnostic evidence.
feedback
Skill "feedback" from Hmbown/Codewhale, covering feedback, when to use, setup, workflow and non-goals.