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 skills/hyfdev/moonbit-agent-skills/moonbit-toolchainnpx skills add hyfdev/moonbit-agent-skills --skill moonbit-toolchaingit clone --depth 1 https://github.com/hyfdev/moonbit-agent-skillsWrote 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/skills/hyfdev/moonbit-agent-skills/moonbit-toolchain)<a href="https://agentmods.dev/skills/hyfdev/moonbit-agent-skills/moonbit-toolchain"><img src="https://agentmods.dev/badge/skills/hyfdev/moonbit-agent-skills/moonbit-toolchain.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.00188 | $0.01567 |
| Opus 5 | $0.00094 | $0.00783 |
| Sonnet 5 | $0.00038 | $0.00313 |
| Haiku 4.5 | $0.00019 | $0.00157 |
Grade A, and why
moonbit-toolchain 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 — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MoonBit toolchain
Verification contract
Every command and configuration shape in this skill was executed for real against moon 0.1.20260803 / moonrun 0.1.20260803 (MoonBit release 0.10.6, build 2026-08-03) on 2026-08-07, Linux x86_64, exercising targets wasm-gc, wasm, js, native. MoonBit ships install channels (latest, nightly, pre-release), not pinned historical versions, so re-check the installed version before relying on a cached skill copy.
Before relying on this skill, run moon version --all (or node scripts/env_report.ts, which also checks native-backend prerequisites). If versions differ from the pin:
- Prefer
moon help <subcommand>andmoon <subcommand> --helpoutput over this skill for exact flags. - Re-run any load-bearing command in a scratch module (
moon new probe --user tmp) before promising its behavior. - Compare against the official latest version manifest and current documentation; do not wait for a matching monthly Updates article.
- State the version difference in your answer.
Non-negotiable working rules
- Run commands, don't recall them. Flags and defaults changed repeatedly (build dir is
_buildnow, nottarget;moon ideexists;moon explainexists). If you cannot execute, quote--helpoutput or mark the answer unverified. - Config formats are mid-migration. The current formats are the non-JSON
moon.mod/moon.pkgDSL;moon.mod.json/moon.pkg.jsonare deprecated and no longer accepted by every subcommand (moon docrejects them at this pin). Never create new JSON configs; never mix advice between the two formats without labeling which is which. See references/project-layout-and-config.md. - Don't guess package or API availability. Use
moon ide doc '<query>'for installed APIs and the mooncakes registry for packages; a familiar name from npm/crates is not evidence a MoonBit package exists. - Prefer the narrowest verifying command and show it:
moon checkafter config edits, targetedmoon test <path>for test questions,moon infoto prove API-surface claims. - Never run destructive or account-level commands unprompted:
moon publish,moon register,moon login,moon upgrade,moon clean --dep-cache, andmoon clean --build-cachechange global or remote state — describe them instead, and only run them on explicit request.
What ships with it
11 files 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.
- agents/openai.yaml 363 B
- references/commands.md 6.6 KB
- references/dependencies-and-registry.md 5.9 KB
- references/diagnostics-and-recovery.md 5.0 KB
- references/moon-ide.md 3.9 KB
- references/project-layout-and-config.md 10 KB
- references/reporting-errors.md 3.5 KB
- references/targets-and-conditional-builds.md 7.0 KB
- references/testing-workflows.md 5.9 KB
- references/workspaces-and-scripts.md 5.6 KB
- scripts/env_report.ts 1.8 KB runs code
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 · 61 lines · 188 tokens per session scan A 6431de6524b9
moonbit-toolchain is a skill published in the GitHub repository hyfdev/moonbit-agent-skills (6 stars, last pushed 29d ago), licensed MIT. It adds 188 tokens to every session and 1,567 once invoked, about $0.0009 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-31.
Other skills, from other repositories
subagent-driven-development
Execute plans via delegatetask subagents (2-stage review).
duckduckgo-search
Free keyless web, news, and image search via ddgs.
mcporter
List, auth, and call MCP servers/tools from the terminal.
article-writing
Write articles, guides, blog posts, tutorials, newsletter issues, and other long-form content in a distinctive voice derived from supplied examples or brand guidance. Use when the user wants polished written content longer than a paragraph, especially when voice consistency, structure, and credibility matter.
mem0-oss-to-platform
Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…
complete-partial-pr
Evaluate and complete an issue or PR where the submitted patch fixes only a narrow symptom of the reported pain point. Use when a contribution may miss adjacent integration surfaces, provider/spec semantics, roundtrip behavior, tests, docs, or historical maintainer decisions.