wasm-wasmtime

wasm-wasmtime is a skill for Claude Code, Codex from mohitmishra786/low-level-dev-skills. It costs 119 tokens per session (3,302 once invoked), scanned C, original, MIT.

A guide to Wasmtime, a runtime that runs WebAssembly modules outside a browser. It covers command-line execution, WebAssembly system interfaces, component interfaces, Rust embedding, resource limits, and debugging.

In plain words
What is it for?
Use it to run and inspect modules, pass arguments and environment variables, expose directories, embed Wasmtime in Rust, limit execution, and debug modules.
Why use it?
It helps run WebAssembly safely and understand how modules interact with files, environment settings, and host applications.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to run and inspect modules, pass arguments and environment variables, expose directories, embed Wasmtime in Rust, limit execution, and debug modules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mohitmishra786/low-level-dev-skills/wasm-wasmtime
Install

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.

Any agent
npx skills add mohitmishra786/low-level-dev-skills --skill wasm-wasmtime
Clone the repo
git clone --depth 1 https://github.com/mohitmishra786/low-level-dev-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for wasm-wasmtime

README.md
[![agentmods](https://agentmods.dev/badge/skills/mohitmishra786/low-level-dev-skills/wasm-wasmtime/github.svg)](https://agentmods.dev/skills/mohitmishra786/low-level-dev-skills/wasm-wasmtime)
Your own site
<a href="https://agentmods.dev/skills/mohitmishra786/low-level-dev-skills/wasm-wasmtime"><img src="https://agentmods.dev/badge/skills/mohitmishra786/low-level-dev-skills/wasm-wasmtime/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.

agentmods 80×15 button for wasm-wasmtime

Your own site · 80×15
<a href="https://agentmods.dev/skills/mohitmishra786/low-level-dev-skills/wasm-wasmtime"><img src="https://agentmods.dev/badge/skills/mohitmishra786/low-level-dev-skills/wasm-wasmtime.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,302 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 15 Sept 2026
  • Snyk pass 15 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00119 $0.03302
Opus 5.5 $0.00048 $0.01321
Sonnet 5.5 $0.00024 $0.00660
Haiku 4.5 $0.00012 $0.00330

Measured 14d ago against content hash 989962628e25, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

wasm-wasmtime scanned grade C with 2 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 14d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

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

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl https://wasmtime.dev/install.sh -sSf | bash
skills/runtimes/wasm-wasmtime/SKILL.md · 355 lines

How it starts

The opening of the file, as written. The whole thing — 355 lines — stays where its author put it; the contents beside it link to each section on GitHub.

wasmtime — Server-Side WASM Runtime

Purpose

Guide agents through wasmtime (examples checked against wasmtime 50): running modules and components from the CLI, WASI versions, the component model with WIT interfaces, embedding wasmtime in Rust, fuel and timeout limits, and debugging WASM with DWARF.

Triggers

  • "How do I run a WASM file with wasmtime?"
  • "What is the difference between WASI p1, p2 and p3?"
  • "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 or component (run is the default subcommand)
wasmtime hello.wasm

# Arguments after the file go to the guest
wasmtime run prog.wasm arg1 arg2

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

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

# Invoke an exported function
wasmtime run --invoke add math.wasm 3 4             # core module
wasmtime run --invoke 'add(3, 4)' math-component.wasm  # component: call syntax

# Inspect a binary (wasm-tools, not wasmtime)
wasm-tools print prog.wasm --skeleton    # imports/exports as WAT
wasm-tools component wit component.wasm  # a component's WIT interface
wasmtime explore prog.wasm               # writes prog.explore.html (wasm ↔ machine code)

# Compile ahead of time
wasmtime compile prog.wasm -o prog.cwasm
wasmtime run --allow-precompiled prog.cwasm  # required for .cwasm input

Resource limits on the CLI:

wasmtime run -W fuel=10000000 prog.wasm        # trap after N units of fuel
wasmtime run -W timeout=2s prog.wasm           # trap after wall-clock time
wasmtime run -W max-memory-size=67108864 prog.wasm  # cap linear memory (bytes)

-W sets wasm features and limits, -S WASI options, -D debug options, -O codegen options. Run wasmtime -W help (or -S help, -D help, -O help) for the full list.

Read the full file on GitHub · 355 lines

Changes

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.

  1. 14d ago Changed · +61 lines · +22 tokens per session 989962628e25
  2. 3mo ago First seen · 294 lines · 97 tokens per session scan C 86852fe5b8ec

Subscribe to this mod's changes

wasm-wasmtime is a skill published in the GitHub repository mohitmishra786/low-level-dev-skills (310 stars, last pushed 14d ago), licensed MIT. It adds 119 tokens to every session and 3,302 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

wasm-wasmtime compared with skills from other repositories

wasm-wasmtime next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wasm-wasmtimemohitmishra786/low-level-dev-skillsSkill31014d agoMITC119Claude Code, Codex
azure-eventhub-rustmicrosoft/skillsSkill3.3ktodayMITA58Claude Code
azure-eventhub-rustbenjaminasterA/antigravity-awesome-skillsSkill528todayMITA0Claude Code, Codex
rust-gatewayBerriAI/litellmSkill65ktodaynoneA70Claude Code, Codex
telnyx-numbers-goteam-telnyx/aiSkill232todayMITA23Claude Code
telnyx-numbers-pythonteam-telnyx/aiSkill232todayMITA23Claude Code
telnyx-ai-outbound-voice-pythonteam-telnyx/aiSkill232todayMITA97Claude Code