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.
npx agentmods add instructions/swiftwasm/swift-wasm-agent-skill/agents-mdgit clone --depth 1 https://github.com/swiftwasm/Swift-Wasm-Agent-SkillWrote 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.
[](https://agentmods.dev/instructions/swiftwasm/swift-wasm-agent-skill/agents-md)<a href="https://agentmods.dev/instructions/swiftwasm/swift-wasm-agent-skill/agents-md"><img src="https://agentmods.dev/badge/instructions/swiftwasm/swift-wasm-agent-skill/agents-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00531 | $0.00531 |
| Opus 5 | $0.00266 | $0.00266 |
| Sonnet 5 | $0.00106 | $0.00106 |
| Haiku 4.5 | $0.00053 | $0.00053 |
Grade A, and why
Swift-Wasm-Agent-Skill AGENTS.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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SwiftWasm Skills Authoring Guide
Core Principles
- Provide accurate, actionable guidance for Swift developers targeting WebAssembly.
- Keep instructions specific to the SwiftWasm toolchain and its ecosystem libraries.
- Prefer concrete code examples over abstract descriptions.
- Document platform differences between native Swift and Swift on Wasm explicitly.
- Keep each skill focused on its specific domain (JavaScriptKit, BridgeJS, or porting).
Content Guidelines
- Keep
SKILL.mdprocedural and concise — it is the entry point agents read first. - Put detailed API references, patterns, and examples in
references/. - Put helper scripts in
scripts/within the skill folder. - Organize content by the tasks an agent performs: setup, coding patterns, troubleshooting.
- Use concrete examples that compile and run under the SwiftWasm toolchain.
What To Include
- Project setup and toolchain installation steps.
- API usage patterns with paired Swift and JavaScript examples where applicable.
- Known limitations and workarounds for Swift on Wasm.
- Compatibility tables for frameworks and APIs.
- Environment diagnostic scripts and build configuration guidance.
What To Exclude
- General Swift language tutorials unrelated to Wasm specifics.
- Native-only frameworks that have no Wasm path (unless documenting incompatibility in the porting skill).
- Speculative or unverified toolchain behavior.
- Duplicate content across skill folders — link instead.
Skill Structure
Each skill directory at the repo root follows this layout:
<skill-name>/
SKILL.md # Primary skill document agents read
references/ # Detailed reference material
scripts/ # Helper scripts (optional)
Paths in SKILL.md are relative to the skill folder. For example, the JavaScriptKit
scripts/doctor.py is referenced as scripts/doctor.py within its SKILL.md.
Language And Tone
- Use direct, technical language.
- Use imperative instructions for actionable steps.
- Prefer short paragraphs and bullet lists over prose.
- Keep examples compact and realistic.
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.
- 6d ago First seen · 57 lines · 531 tokens per session scan A cbc74c425e77
Swift-Wasm-Agent-Skill AGENTS.md is an instructions file published in the GitHub repository swiftwasm/Swift-Wasm-Agent-Skill (47 stars, last pushed 27d ago), licensed MIT. It adds 531 tokens to every session, about $0.0027 per session on Opus 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-30.
Other instructions, from other repositories
swift-secp256k1 AGENTS.md
AGENTS.md instructions for 21-DOT-DEV/swift-secp256k1, covering agents.md (swift-secp256k1), commands, non-obvious patterns, code style and boundaries.
droidconKeKotlin AGENTS.md
AGENTS.md instructions for droidconKE/droidconKeKotlin, covering agents.md, commands, module layout, stack and conventions.
kormium AGENTS.md
AGENTS.md instructions for kormium/kormium, covering kormium for ai agents, mental model (read this first), define a schema, connect and inspect the sql without running it.
compose-android-template CLAUDE.md
Claude Code instructions for ashtanko/compose-android-template, a project described as: 📱 A simple GitHub template to quickly set up an Android project using Kotlin and Jetpack Compose, getting you up and running in just seconds. Perfect for starting new apps with modern Android UI.
xtool CLAUDE.md
Instructions for 2389-research/xtool, covering xtool plugin, skills included, using-xtool (main skill), key patterns and xtool is not xcodegen.
skills CLAUDE.md
Claude Code instructions for chrisbanes/skills, a project described as: Skills for Kotlin, Jetpack Compose, and Android development.