discover-wasm — Claude Code skill: what it does, how to install
discover-wasm — a gateway skill that brings in WebAssembly instructions when your agent deals with Rust, wasm-pack, or WASI tasks.
MIT 117 installs ★ 193 updated 2026-02-28
npx skills add rand/cc-polymath --skill discover-wasm -a claude-codeWhat discover-wasm does
The skill acts as an entry point for the WebAssembly category in the cc-polymath collection. It activates automatically when an agent encounters tasks involving WebAssembly, Rust-to-WASM compilation, wasm-pack, portable bytecode, or browser runtimes.
Everything operates through progressive loading across three levels. First, the agent loads this gateway file. Next, it reads ../wasm/INDEX.md for a category overview, workflows, and cross-references. Finally, it loads the exact topic file needed: wasm-browser-integration, wasm-fundamentals, wasm-rust-toolchain, or wasm-server-side.
The gateway depends entirely on the relative path ../wasm/, meaning individual skill documents must sit alongside it for progressive discovery to work.
What it helps with
- Bring up relevant guides when building Rust into WebAssembly via wasm-pack
- Look up browser integration steps for precompiled WASM binaries
- Reference server-side WebAssembly and WASI patterns on demand
- Keep context clean by loading specific sub-skills only when requested
Example prompts for the agent
- Help me compile this Rust crate into WebAssembly using wasm-pack
- Set up a WASI runtime for running our bytecode module on the server
- Wire up the generated wasm bindings into the frontend application
How to install discover-wasm
1Skills CLI (Vercel)
npx skills add rand/cc-polymath --skill discover-wasm -a claude-code2Manually: put the files in place
~/.claude/skills/discover-wasm/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/discover-wasm/
1Skills CLI (Vercel)
npx skills add rand/cc-polymath --skill discover-wasm -a codex2Manually: put the files in place
.agents/skills/discover-wasm/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add rand/cc-polymath --skill discover-wasm -a cursor2Manually: put the files in place
.cursor/skills/discover-wasm/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install rand/cc-polymath skills/discover-wasm2Manually: put the files in place
.github/skills/discover-wasm/SKILL.md1Skills CLI (Vercel)
npx skills add rand/cc-polymath --skill discover-wasm -a gemini-cli2Platform CLI
gemini skills install https://github.com/rand/cc-polymath --path skills/discover-wasmManually: put the files in place
.devin/skills/discover-wasm/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add rand/cc-polymath --skill discover-wasm -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about discover-wasm
How to install discover-wasm in Claude Code?
Run npx skills add rand/cc-polymath --skill discover-wasm -a claude-code or place the file at ~/.claude/skills/discover-wasm/SKILL.md.
What is the purpose of discover-wasm?
It is an index router that detects WebAssembly tasks and tells the agent which detailed skill files to read from the repository.
Which sub-skills does it route to?
It points to four specific skills: wasm-browser-integration, wasm-fundamentals, wasm-rust-toolchain, and wasm-server-side.
Source text
SKILL.md · MIT
--- name: discover-wasm description: Automatically discover WebAssembly skills when working with WebAssembly, WASM, WASI, wasm-bindgen, Rust to WASM, wasm-pack, or browser runtime. Activates for WASM development tasks. license: MIT metadata: author: rand version: "4.0" compatibility: Designed for Claude Code. Compatible with any agent supporting the Agent Skills format. --- # Wasm Skills Discovery Provides automatic access to comprehensive wasm skills. ## When This Skill Activates This skill auto-activates when you're working with: - WebAssembly - WASM - wasm-pack - Rust to WASM - browser WASM - WASI - portable bytecode ## Available Skills ### Quick Reference The Wasm category contains 4 skills: 1. **wasm-browser-integration** 2. **wasm-fundamentals** 3. **wasm-rust-toolchain** 4. **wasm-server-side** ### Load Full Category Details For complete descriptions and workflows: Read ../wasm/INDEX.md This loads the full Wasm category index with: - Detailed skill descriptions - Usage triggers for each skill - Common workflow combinations - Cross-references to related skills ### Load Specific Skills Load individual skills as needed: Read ../wasm/wasm-browser-integration.md Read ../wasm/wasm-fundamentals.md Read ../wasm/wasm-rust-toolchain.md Read ../wasm/wasm-server-side.md ## Progressive Loading This gateway skill enables progressive loading: - **Level 1**: Gateway loads automatically (you're here now) - **Level 2**: Load category INDEX.md for full overview - **Level 3**: Load specific skills as needed ## Usage Instructions 1. **Auto-activation**: This skill loads automatically when Claude Code detects wasm work 2. **Browse skills**: Run `Read ../wasm/INDEX.md` for full category overview 3. **Load specific skills**: Use bash commands above to load individual skills **Next Steps**: Run `Read ../wasm/INDEX.md` to see full category details.
© rand · MIT · rand/cc-polymath