wasmagent-js: Instructions file for Claude Code

CLAUDE.md

wasmagent-js CLAUDE.md is an instructions file for Claude Code from WasmAgent/wasmagent-js. It costs 3,959 tokens per session, scanned A, original, Apache-2.0.

Development instructions for WasmAgent/wasmagent-js, a project that records evidence from tool-using agents and controls their security policies.

In plain words
What is it for?
Guiding code changes, maintaining repository boundaries, and working with the project's firewall, evidence records, auditing, and agent runtime.
Why use it?
They clarify which parts belong in this repository and which responsibilities belong in other repositories.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions subagents; mentions Claude Code; mentions Codex.

This is WasmAgent/wasmagent-js's own configuration. It tells Claude Code how to work on wasmagent-js 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 wasmagent-js configures →

Reuse

Borrowing it

Nothing to install: this file belongs to WasmAgent/wasmagent-js. 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/WasmAgent/wasmagent-js/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/WasmAgent/wasmagent-js

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 wasmagent-js CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/wasmagent/wasmagent-js/claude-md/github.svg)](https://agentmods.dev/instructions/wasmagent/wasmagent-js/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/wasmagent/wasmagent-js/claude-md"><img src="https://agentmods.dev/badge/instructions/wasmagent/wasmagent-js/claude-md/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 wasmagent-js CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/wasmagent/wasmagent-js/claude-md"><img src="https://agentmods.dev/badge/instructions/wasmagent/wasmagent-js/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,959 This file is loaded in full into every session.
When invoked 3,959 The same file — it is already loaded in full.
Security scan A 0 findings. 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.03959 $0.03959
Opus 5.5 $0.01584 $0.01584
Sonnet 5.5 $0.00792 $0.00792
Haiku 4.5 $0.00396 $0.00396

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

Security

Grade A, and why

wasmagent-js CLAUDE.md scanned grade A with 0 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 23d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 286 lines

How it starts

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

wasmagent-js — Development Guide for Claude

What this project is (and is not)

Is: Verifiable evidence layer + security control plane for MCP and tool-using agents. Three public entry points: @wasmagent/mcp-firewall (protect), @wasmagent/aep (record), @wasmagent/compliance (audit+train).

Is NOT — do not implement these:

  • A general-purpose agent framework (LangChain / Mastra / AutoGen territory)
  • A Cursor / Claude Code / Codex competitor (no IDE UX, no remote execution at scale)
  • A compliance certification tool (never claim "satisfies EU AI Act / ISO 42001")
  • A universal RAG / workflow engine
  • A training framework (TRL / Axolotl territory) — we produce training data, not training code

Repository Boundaries

This runtime is one repo in a tree with sharp edges. Do not re-implement what another repo owns; call it instead.

This repository owns

  • The agent runtime — kernels (QuickJS/Pyodide/Wasmtime/Remote), executor, orchestration (agent.run(), supervisor, subagents, handoff, teams)
  • MCP firewall / gateway / attestation — process-level policy enforcement
  • AEP evidence emission (@wasmagent/aep) — recording signed evidence at runtime
  • Model adapters, smartrouter, tools, and the developer-facing SDK surface

Other repositories own — do not duplicate here

Capability Owner
AEP + compliance schema definitions (ConstraintIR, task-spec, rollout-wire, etc.) wasmagent-protocol (@wasmagent/protocol)
Symbolic verification engine (CEL / wazero sandbox / Z3 SMT) symkernel (HTTP service)
Gateway-level HTTP evidence (Proxy-Wasm) wasmagent-proxy
Training-data pipeline trace-pipeline
AgentBOM / MCP Posture runtime + specifications agentbom
Trust Passport product/runtime (@openagentaudit/passport) open-agent-audit

Allowed cross-repo patterns

  • Schemas: consume @wasmagent/protocol — never copy or inline schema JSON into this repo. Need a change? Open it against wasmagent-protocol.
  • Verification: heavy symbolic checks (CEL/Z3/hard-isolation sandbox) call symkernel over HTTP via the Criterion/ConstraintIR protocol. Keep a light inline fast path here; the authority is symkernel.
  • This runtime emits AEP records; it does not define their schema and does not run the verification engine.

Read the full file on GitHub · 286 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. 23d ago Changed · +16 tokens per session 90812b9c4ffa
  2. 1mo ago Changed · -19 lines · -181 tokens per session 3d40038021b6
  3. 1mo ago First seen · 305 lines · 4,124 tokens per session scan A a55f2e6b2e19

Subscribe to this mod's changes

wasmagent-js CLAUDE.md is an instructions file published in the GitHub repository WasmAgent/wasmagent-js (7 stars, last pushed 12d ago), licensed Apache-2.0. It adds 3,959 tokens to every session, about $0.0158 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories