This one's for when you need to run WebAssembly outside the browser. It covers the wasmtime runtime from CLI basics through Rust embedding, which is where it gets interesting for production use. The fuel metering section is what you want if you're running untrusted code and need hard limits on CPU consumption. It also walks through the component model and WIT interfaces, which is the newer typed approach to WASM modules rather than raw exports. The WASI preview2 coverage is solid for filesystem and networking APIs. If you're building serverside WASM infrastructure or need to sandbox plugins in a Rust app, this gives you the practical commands and code patterns without the usual WebAssembly evangelism.

skills.sh installs
532
GitHub stars
279
last updated
Aug 21, 2026

Install

$ npx -y skills add mohitmishra786/low-level-dev-skills --skill wasm-wasmtime --agent claude-code

Installs into .claude/skills of the current project.

Files

wasmtime — Server-Side WASM Runtime

Purpose

Guide agents through wasmtime: running WASM modules from the CLI, WASI APIs, the component model with WIT interfaces, embedding wasmtime in Rust applications, fuel metering for sandboxed execution, and debugging WASM with DWARF debug info.

Triggers

  • "How do I run a WASM file with wasmtime?"
  • "How does WASI work with wasmtime?"
  • "How do I embed wasmtime in my Rust application?"
  • "What is the WebAssembly component model?"
  • "How do I limit WASM execution with fuel?"
  • "How do I debug a WASM module in wasmtime?"

Workflow

1. wasmtime CLI

# Install
curl https://wasmtime.dev/install.sh -sSf | bash

# Run a WASM module
wasmtime hello.wasm

# Run with WASI arguments
wasmtime prog.wasm -- arg1 arg2

# Pre-open directories (WASI filesystem sandbox)
wasmtime --dir /tmp::/ prog.wasm    # map host /tmp to WASI root

# Pass environment variables
wasmtime --env HOME=/home/user prog.wasm

# Invoke specific exported function
wasmtime run --invoke add math.wasm 3 4

# Inspect exports
wasmtime explore math.wasm    # interactive explorer
wasmtime inspect math.wasm    # show all exports/imports

Sponsors

Details

Repository
github.com/mohitmishra786/low-level-dev-skills
Categories
Frontend Development, Backend & APIs, AI & Agent Building, Debugging, Rust, CLI & Terminal
First seen
Jun 3, 2026

More from mohitmishra786/low-level-dev-skills

All 54
1albermonte avatarmaterial-3-expressivealbermonte/android-skillsAndroid UI/UX design or review with Material 3 Expressive (M3 Expressive / Material You Expressive). Use when selecting expressive component tokens, defining ex531skills.sh installs
2hkuds avatarcli-anything-iterm2hkuds/cli-anythingProvides the cli-anything-iterm2 commands — the only way to actually send text to iTerm2 sessions, read live terminal output and scrollback history, manage wind530skills.sh installs
3davila7 avatarplaywright-skilldavila7/claude-code-templatesComplete browser automation with Playwright. Auto-detects dev servers, writes clean test scripts to /tmp. Test pages, fill forms, take screenshots, check respon525skills.sh installs
4postplusai avatarinstagram-content-benchmarkpostplusai/postplus-skillsBenchmark Instagram posts and Reels to discover winning content patterns, shortlist high-value examples, and extract reusable hooks and formats.525skills.sh installs
5dylantarre avatarinstant-0-100msdylantarre/animation-principlesUse when building instantaneous UI feedback under 100ms - button presses, toggles, state changes that feel immediate and responsive524skills.sh installs
6andreadellacorte avatargroove-work-docandreadellacorte/grooveCreate a 'how does X work' documentation file for a codebase component or concept. Use $ARGUMENTS as the doc topic if provided.518skills.sh installs