meerkat: Skill for Claude Code

.claude/skills/meerkat-wasm/SKILL.md

meerkat-wasm is a skill for Claude Code from lukacf/meerkat. It costs 136 tokens per session (2,796 once invoked), scanned B, original, Apache-2.0.

A developer guide for compiling Meerkat's agent runtime to WebAssembly, a format that lets code run in web browsers. It also covers the browser JavaScript SDK and the interfaces exposed to it.

In plain words
What is it for?
It helps developers build and deploy browser-based agent runtimes, adapt asynchronous code and dependencies for WebAssembly, and audit browser-facing exports for sessions, authentication, tools, and subscriptions.
Why use it?
It explains the platform-specific changes needed when Rust code normally expects desktop or server features such as regular file access and standard timing.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is lukacf/meerkat's own configuration. It tells Claude Code how to work on meerkat itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything meerkat configures →

Reuse

Borrowing it

Nothing to install: this file belongs to lukacf/meerkat. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/lukacf/meerkat/main/.claude/skills/meerkat-wasm/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/lukacf/meerkat

Made for: Claude Code.

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 meerkat-wasm

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lukacf/meerkat/meerkat-wasm"><img src="https://agentmods.dev/badge/skills/lukacf/meerkat/meerkat-wasm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 136 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,796 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00136 $0.02796
Opus 5 $0.00068 $0.01398
Sonnet 5 $0.00027 $0.00559
Haiku 4.5 $0.00014 $0.00280

Measured 4d ago against content hash db4ecef6a68e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade B, and why

meerkat-wasm scanned grade B with 1 finding 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 4d 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.

Recursive force deletemediumDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

2. **cargo clean scope**: `cargo clean -p <crate>` only cleans native. Use `rm -rf target/wasm32-unknown-unknown`.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

.claude/skills/meerkat-wasm/SKILL.md · 201 lines

How it starts

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

Meerkat WASM Embedded Runtime

The meerkat-web-runtime crate compiles the full meerkat agent stack to wasm32-unknown-unknown. It is an embedded deployment target for mobpacks — the JavaScript equivalent of the Rust SDK. Not a protocol server like RPC/REST.

Crate Compatibility Pattern

To make a meerkat crate compile for wasm32, apply this pattern:

Cargo.toml — gate platform-specific deps:

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { workspace = true }
rusqlite = { workspace = true }

[target.'cfg(target_arch = "wasm32")'.dependencies]
tokio_with_wasm = { workspace = true }

lib.rs — tokio alias + module gating:

#[cfg(target_arch = "wasm32")]
pub mod tokio { pub use tokio_with_wasm::alias::*; }

#[cfg(not(target_arch = "wasm32"))]
mod filesystem_module;

async_trait — dual cfg_attr:

#[cfg_attr(target_arch = "wasm32", async_trait(?Send))]
#[cfg_attr(not(target_arch = "wasm32"), async_trait)]

Time types — use meerkat_core::time_compat::{SystemTime, Instant, Duration}, never std::time::*.

Tokio imports in wasm32-visible code — add #[cfg(target_arch = "wasm32")] use crate::tokio; then existing use tokio::... paths resolve through the alias.

Override-First Resource Injection

AgentBuildConfig has 4 override fields. When set, build_agent() uses them directly, skipping filesystem resolution. On wasm32, these are always set.

Field Skips wasm32 default
tool_dispatcher_override Shell/file/project tool resolution CompositeDispatcher::new_wasm()
session_store_override Feature-flag store creation No-op store
hook_engine_override Filesystem hook config None
skill_engine_override Filesystem/git skill resolution None

FactoryAgentBuilder has default_tool_dispatcher and default_session_store — injected into ALL build_agent() calls including mob-spawned sessions.

Runtime mode on wasm32

Read the full file on GitHub · 201 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago Changed db4ecef6a68e
  2. 10d ago First seen · 201 lines · 136 tokens per session scan B 119501fdda00

Subscribe to this mod's changes

meerkat-wasm is a skill published in the GitHub repository lukacf/meerkat (20 stars, last pushed today), licensed Apache-2.0. It adds 136 tokens to every session and 2,796 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it B with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

stuck

Diagnose frozen, stuck, or slow Qwen Code sessions on this machine. Scans for problematic processes, high CPU/memory usage, hung subprocesses, and debug logs. Use /stuck or /stuck to focus on a specific process.

QwenLM/qwen-code · 57 tokens

e2e-testing

Guide for running end-to-end tests of the Qwen Code CLI, including headless mode, MCP server testing, and API traffic inspection. Use this skill whenever you need to verify CLI behavior with real model calls, reproduce user-reported bugs end-to-end, test MCP tool integrations, or inspect raw API request/response…

QwenLM/qwen-code · 94 tokens

structured-debugging

Hypothesis-driven debugging methodology for hard bugs. Use this skill whenever you're investigating non-trivial bugs, unexpected behavior, flaky tests, or tracing issues through complex systems. Activate proactively when debugging requires more than a quick glance — especially when the first attempt at a fix didn't…

QwenLM/qwen-code · 85 tokens

desktop-brand-builder

Generate a branded Qwen Code desktop package from the Tauri desktop shell using a minimal brandId and logo. Use when the user wants a custom, white-label, or rebranded desktop client, installer, DMG/EXE/AppImage/deb, or one-click brand build on top of packages/desktop-shell.

QwenLM/qwen-code · 69 tokens

agent-reproduce-feature

Use when reproducing an existing Codex or Claude Code feature in Qwen Code or another agent CLI by choosing a reference agent, capturing HTTP request bodies, prompts, tool/function schemas, terminal output, and then implementing the matching behavior in the target repo.

QwenLM/qwen-code · 56 tokens

repo-hygiene

Use when the scheduled repo-hygiene workflow runs from GitHub Actions (or an operator dry-run) to scan the repository for small, certain docs/test/code hygiene issues and fix them as one batched branch.

QwenLM/qwen-code · 48 tokens