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 skills/jasonboy/msw-mcp/msw-setupnpx skills add JasonBoy/msw-mcp --skill msw-setupgit clone --depth 1 https://github.com/JasonBoy/msw-mcpWrote 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/jasonboy/msw-mcp/msw-setup)<a href="https://agentmods.dev/skills/jasonboy/msw-mcp/msw-setup"><img src="https://agentmods.dev/badge/skills/jasonboy/msw-mcp/msw-setup.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.00052 | $0.00517 |
| Opus 5 | $0.00026 | $0.00259 |
| Sonnet 5 | $0.00010 | $0.00103 |
| Haiku 4.5 | $0.00005 | $0.00052 |
Grade A, and why
msw-setup 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 6d 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
msw-setup
Project scaffolding for MSW + the MCP client bridge. For runtime handler changes after setup, use the msw-cli skill.
Workflow
- Run
msw-cli setupin the project root (optional:--framework vite). - Follow the printed setup guide step by step (detect bundler, install deps, create
mocks/, env vars, entry point). - Run
msw-cli openand set the app's WebSocket URL to the URL from the output. - Run
msw-cli statusafter starting the dev server — confirmconnected: true(this only proves the WebSocket bridge, not that the first browser requests were intercepted). - Hard reload the app and confirm in DevTools → Network that initial API calls are mocked. This catches render-before-mock races that
msw-cli statusmisses. - Use
msw-cli add(and related commands) to manage mocks at runtime.
Do not duplicate the full setup guide in chat — execute from msw-cli setup output.
Notes
- Ask permission before
npm install/npx msw init(as the guide describes). - The WebSocket URL env var name depends on the framework:
NEXT_PUBLIC_MSW_WS_URL(Next.js),VITE_MSW_WS_URL(Vite), orMSW_WS_URL(Rspack/Rsbuild/Webpack) — must match the port frommsw-cli open. (MCP_SERVER_URLis accepted as a legacy fallback.) - Next.js App Router:
app/layout.tsxis a Server Component; the MSW bootstrap must be a'use client'gate so the app subtree does not mount (and fetch) beforeinitMocks()finishes. Follow the guide’s gatedMswProviderpattern — do not start MSW in a paralleluseEffectwhile rendering the full tree. - MCP users can still use
/msw-setupin an MCP client; the same guide backs both paths.
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.
- 6d ago First seen · 29 lines · 52 tokens per session scan A 07cfcaa16815
msw-setup is a skill published in the GitHub repository JasonBoy/msw-mcp (81 stars, last pushed 2mo ago), licensed MIT. It adds 52 tokens to every session and 517 once invoked, about $0.0003 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.
Other skills, from other repositories
aatmf-t10-confidentiality-breach
AATMF T10 — Integrity & Confidentiality Breach. System prompt extraction, training-data extraction, model-weight leakage, private-key recovery.
ensembl-database
Query Ensembl genome database REST API for 250+ species. Gene lookups, sequence retrieval, variant analysis, comparative genomics, orthologs, VEP predictions, for genomic research.
mochi-remind
Handle due reminders — notify the user with natural language and mark them done.
wukongim-cloud-analysis
Diagnose one exact live WuKongIM cloud Simulation Run or chat-lifecycle Cloud Lease through the repository Analysis MCP. Use when the user or a local Analysis Session asks Codex to inspect a run's cluster state, Prometheus signals, application logs, diagnostics, Controller task audits, profiles, or redacted config…
memory
Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.
lazarus-group
Adversary-emulation profile for Lazarus Group (G0032, aka Hidden Cobra / Diamond Sleet / Labyrinth Chollima), a North Korean RGB-linked actor conducting espionage, destructive, and financially motivated operations.