Agent skill

Wasm Expert

by RightNow-AI in RightNow-AI/openfang

WebAssembly expert for WASI, component model, Rust/C compilation, and browser integration

Apache-2.0Auto-check passed

Install Wasm Expert

skills CLI
$ npx skills add RightNow-AI/openfang --skill wasm-expert -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install RightNow-AI/openfang wasm-expert --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/RightNow-AI/openfang.git skills-src && mkdir -p .claude/skills && cp -r skills-src/crates/openfang-skills/bundled/wasm-expert .claude/skills/wasm-expert && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
wasm-expert
GitHub stars
18k
Token cost
~1k tokens
SKILL.md length
537 words
Files
1
Skills in repo
68
Repo updated
First seen
Licence
Apache-2.0

At a glance

WebAssembly expert for WASI, component model, Rust/C compilation, and browser integration

  • SKILL.md covers Key Principles, Techniques, Common Patterns and Pitfalls to Avoid
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Wasm Expert is an agent skill from RightNow-AI/openfang. WebAssembly expert for WASI, component model, Rust/C compilation, and browser integration

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with WebAssembly and Rust. The repository describes itself as: Open-source Agent Operating System. The licence is Apache-2.0.

Example prompts

  • “/wasm-expert”

What it can do on your machine

Read from SKILL.md and the folder at commit acf2587. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Wasm Expert loads about 1k tokens when it runs. Until then it costs about 25 tokens; SKILL.md has 537 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~25
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from RightNow-AI/openfang at commit acf2587, republished under its Apache-2.0 licence (© RightNow-AI). 537 words, ~1,029 tokens.

Download SKILL.mdSave it as .claude/skills/wasm-expert/SKILL.md (or your agent's skills folder).
name
wasm-expert
description
WebAssembly expert for WASI, component model, Rust/C compilation, and browser integration

WebAssembly Expert

A systems programmer and runtime specialist with deep expertise in WebAssembly compilation, WASI system interfaces, the component model, and browser integration. This skill provides guidance for compiling Rust, C, and other languages to WebAssembly, building portable server-side modules with WASI, designing composable components with WIT interfaces, and integrating Wasm modules into web applications with optimal performance.

Key Principles

  • WebAssembly provides a portable, sandboxed execution environment; leverage its security model by granting only the capabilities a module needs through explicit imports
  • Target wasm32-wasi for server-side and CLI applications that need file system, network, or clock access through the standardized WASI interface
  • Use the Component Model and WIT (WebAssembly Interface Types) for language-agnostic module composition; components communicate through typed interfaces, not raw memory
  • Optimize Wasm binary size aggressively for browser delivery; every kilobyte matters for initial load time, so strip debug info, use wasm-opt, and enable LTO
  • Understand linear memory: Wasm modules operate on a flat byte array that grows but never shrinks; design data structures and allocation patterns accordingly

Techniques

  • Compile Rust to Wasm with wasm-pack for browser targets (wasm-pack build --target web) or cargo build --target wasm32-wasi for server-side WASI modules
  • Use wasm-bindgen to expose Rust functions to JavaScript and import JS APIs into Rust; annotate public functions with #[wasm_bindgen] and use JsValue for dynamic interop
  • Define component interfaces in WIT files specifying exports (functions the component provides) and imports (functions the component requires from the host)
  • Compose multiple Wasm components using wasm-tools compose, linking one component's imports to another's exports without source-level dependencies
  • Optimize binaries with wasm-opt -Oz for size or -O3 for speed; use wasm-tools strip to remove custom sections and debug information for production builds
  • Instantiate modules in the browser with WebAssembly.instantiateStreaming(fetch("module.wasm"), importObject) for the fastest possible startup
  • Enable SIMD (Single Instruction, Multiple Data) for compute-intensive workloads by compiling with target features enabled and using explicit SIMD intrinsics or auto-vectorization
Show full SKILL.md (222 more words)Show less

Common Patterns

  • Plugin Architecture: Host application loads untrusted Wasm plugins with restricted WASI capabilities; plugins export a known interface (defined in WIT) and cannot access resources beyond what the host provides
  • Polyglot Composition: Compile components from different languages (Rust, Go, Python) to Wasm components with WIT interfaces, then compose them into a single application using wasm-tools
  • Streaming Compilation: Use WebAssembly.compileStreaming to compile the module while it downloads; pair with instantiate for near-zero wait time after the network transfer completes
  • Memory-Mapped I/O: For large data processing in Wasm, share a linear memory region between the host and the module, passing pointers and lengths instead of copying data across the boundary

Pitfalls to Avoid

  • Do not assume all WASI APIs are available in every runtime; WASI Preview 2 is still being adopted, and different runtimes (Wasmtime, Wasmer, WasmEdge) support different subsets
  • Do not allocate memory freely without a strategy; Wasm linear memory grows in 64KB page increments and never releases pages back to the OS, so fragmentation accumulates over time
  • Do not pass complex data structures across the Wasm boundary by serializing to JSON; use shared linear memory with well-defined layouts or the component model's typed interface for efficiency
  • Do not skip testing on the target runtime; behavior differences exist between browser engines (V8, SpiderMonkey, JavaScriptCore) and server-side runtimes, especially for threading and SIMD

© RightNow-AI, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in crates/openfang-skills/bundled/wasm-expert of RightNow-AI/openfang.

Open the folder on GitHubat commit acf2587

Compare with similar skills

Wasm Expert next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Wasm Expert compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Wasm Expert this skillRightNow-AI/openfang18k—~1kAutomated safety check: PassApache-2.0
Asupersync Mega SkillDicklesworthstone/asupersync281—~2.9kAutomated safety check: PassCustom licence
Crossbindcrossbind/crossbind148—~1.1kAutomated safety check: PassMIT
Fungienbop/fungi132—~2.9kAutomated safety check: PassApache-2.0
Webapp Buildersidequery/sidemantic129—~5.5kAutomated safety check: PassAGPL-3.0
Edge Pythondylan-sutton-chavez/edge-python273—~11kAutomated safety check: PassCustom licence

Similar skills

  • Asupersync Mega Skill

    Dicklesworthstone/asupersync

    Build, migrate, debug, and maintain Asupersync. An agent skill from Dicklesworthstone/asupersync.

    281 GitHub stars~2.9k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Crossbind

    crossbind/crossbind

    A skill your agent uses when a user wants to call C++ or Rust from JavaScript or TypeScript; add a native library such as GDAL, SQLite, OpenSSL, GEOS or PROJ to a browser, Node.js, Cloudflare Worker…

    148 GitHub stars~1.1k tokensUpdated yesterday
    MobileAuto-check passed
  • Fungi

    enbop/fungi

    Install, configure, and operate the Fungi CLI across devices.

    132 GitHub stars~2.9k tokensUpdated 5 days ago
    DevOps & CloudAuto-check passed
  • Webapp Builder

    sidequery/sidemantic

    Build interactive analytics webapps, demos, dashboards, or embedded app surfaces from Sidemantic semantic models using copyable component primitives and deterministic query inspection.

    129 GitHub stars~5.5k tokensUpdated 2 days ago
    DatabasesAuto-check passed
  • Edge Python

    dylan-sutton-chavez/edge-python

    Write, run, test and package Edge Python programs with the edge CLI.

    273 GitHub stars~11k tokensUpdated yesterday
    SecurityAuto-check passed
  • Style Checker

    noumena-labs/Sipp

    Enforces this monorepo's coding style rules by inspecting git diffs, reading .agents/skills/style-checker/references/styleguidance.md, fixing style violations, and reporting the result.

    121 GitHub stars~1.4k tokensUpdated 20 days ago
    DevelopmentAuto-check passed

More from RightNow-AI/openfang

All 68 skills in this repo
  • Reference of CSS selectors, step-by-step web workflows and error recovery tactics for an agent that browses, fills forms and compares prices on live sites.

    18k GitHub stars~1k tokensUpdated 3 mo ago
    Auto-check passed
  • Reference knowledge for open-source intelligence collection: the collection cycle, source reliability tiers, search query patterns and entity extraction.

    18k GitHub stars~2.1k tokensUpdated 3 mo ago
    Auto-check passed
  • Lead Generation Research Guide

    RightNow-AI/openfang

    Reference knowledge for AI lead generation: building an ideal customer profile, researching prospects on the web, enriching lead records and finding email formats.

    18k GitHub stars~1.8k tokensUpdated 3 mo ago
    Auto-check passed
  • Video Clipping Reference

    RightNow-AI/openfang

    Command reference for cutting clips from online video: yt-dlp downloads, whisper transcription, SRT subtitle files and ffmpeg processing, with Windows, macOS and Linux differences.

    18k GitHub stars~4.1k tokensUpdated 3 mo ago
    Auto-check: warnings
  • Forecasting Expert Knowledge

    RightNow-AI/openfang

    Reference knowledge for AI forecasting: superforecasting principles, a signal taxonomy, confidence calibration rules and reasoning chains for making and tracking predictions.

    18k GitHub stars~2.5k tokensUpdated 3 mo ago
    Auto-check passed
  • Deep Research Methodology

    RightNow-AI/openfang

    Reference knowledge for AI deep research: a five-phase process, strategies by question type, CRAAP source scoring, cross-referencing, synthesis and citation formats.

    18k GitHub stars~2.6k tokensUpdated 3 mo ago
    Auto-check passed

Works with

Questions about Wasm Expert

What does Wasm Expert do?

WebAssembly expert for WASI, component model, Rust/C compilation, and browser integration. Wasm Expert is an agent skill from RightNow-AI/openfang.

How do I install Wasm Expert in Claude Code?

Run `npx skills add RightNow-AI/openfang --skill wasm-expert -a claude-code`. Or copy the skill folder (crates/openfang-skills/bundled/wasm-expert in RightNow-AI/openfang) into .claude/skills/wasm-expert in your project. Claude Code loads it when a task matches its description.

How do I install Wasm Expert in Codex?

Run `npx skills add RightNow-AI/openfang --skill wasm-expert -a codex`. Or copy the skill folder (crates/openfang-skills/bundled/wasm-expert in RightNow-AI/openfang) into .agents/skills/wasm-expert in your project. Codex loads it when a task matches its description.

Can I use Wasm Expert in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add RightNow-AI/openfang --skill wasm-expert -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/wasm-expert, .gemini/skills/wasm-expert, .github/skills/wasm-expert and .opencode/skills/wasm-expert in your project.

What does Wasm Expert need to run?

SKILL.md names no scripts, command-line tools or credentials: Wasm Expert is instructions for the agent only.

Does Wasm Expert access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Wasm Expert safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Wasm Expert use?

Wasm Expert is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Wasm Expert use?

About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Wasm Expert?

Skills that share tags, products or a category with Wasm Expert: Asupersync Mega Skill (Dicklesworthstone/asupersync, 281 stars), Crossbind (crossbind/crossbind, 148 stars), Fungi (enbop/fungi, 132 stars) and Webapp Builder (sidequery/sidemantic, 129 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Wasm Expert?

RightNow-AI (a GitHub organization) maintains it in RightNow-AI/openfang, which has 18,216 GitHub stars. The repository holds 68 skills in this directory. The repository was last updated on July 2, 2026.

Source: RightNow-AI/openfang on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.