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/d-oit/rust-2026-template/build-rustnpx skills add d-oit/rust-2026-template --skill build-rustgit clone --depth 1 https://github.com/d-oit/rust-2026-templateWhat 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 | $0.00066 | $0.00929 |
| Opus 5 | $0.00033 | $0.00464 |
| Sonnet 5 | $0.00013 | $0.00186 |
| Haiku 4.5 | $0.00007 | $0.00093 |
Grade B, and why
build-rust 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 2d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
**Fix**: `sudo apt-get install build-essential` How it starts
The opening of the file, as written. The whole thing — 142 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill: build-rust
When to Use
- User asks for this skill's functionality
Purpose
Compile, test, and verify Rust projects following 2026 best practices.
Trigger Conditions
- When asked to build, compile, or check a Rust project
- When CI/CD pipeline needs to run build steps
- When investigating build failures or warnings
Prerequisites
- Rust toolchain installed (see
rust-toolchain.toml) cargoavailable in PATH- WSL2 environment (optional but recommended on Windows)
Steps
1. Check (fast feedback)
cargo check --all-targets --all-features 2>&1
2. Build (debug)
cargo build --all-targets 2>&1
3. Build (release)
cargo build --release 2>&1
4. Lint with Clippy
cargo clippy --all-targets --all-features -- \
-D warnings \
-W clippy::pedantic \
-W clippy::nursery \
-A clippy::module_name_repetitions
5. Format check
cargo fmt --all -- --check
6. Run tests (with nextest)
cargo nextest run --all-features
7. Doc tests
cargo test --doc --all-features
8. Report metrics
Call metrics-reporter skill.
Success Criteria
cargo checkexits 0 with no errorscargo clippyexits 0 with-D warningscargo fmt --checkexits 0- All tests pass
- No
unsafeblocks without// SAFETY:comments
Common Issues
Slow incremental builds in WSL2
Symptom: Build takes >30s even for small changes
Fix: Ensure target/ is on the Linux filesystem, not Windows mount.
See .cargo/config.toml for WSL2 disk optimization.
VS Code reloads during build
Symptom: VS Code refreshes while cargo build runs
Fix: Set files.watcherExclude for **/target/** in .vscode/settings.json
Linker errors on WSL2
Symptom: error: linker 'cc' not found
Fix: sudo apt-get install build-essential
Rationalizations
| Rationalization | Reality |
|---|---|
| "cargo build passes, so the code is correct." | Build success doesn't mean tests pass or lints are clean. Run the full pipeline. |
| "I'll skip clippy pedantic lints to save time." | Pedantic lints catch real issues. Run them in CI at minimum. |
| "Just use cargo test, nextest isn't installed." | Install nextest for parallel test execution — it's significantly faster. |
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.
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.
- 2d ago First seen · 142 lines · 66 tokens per session scan B f2941da5b89f
build-rust is a skill published in the GitHub repository d-oit/rust-2026-template (10 stars, last pushed 3d ago), licensed MIT. It adds 66 tokens to every session and 929 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
merge-seed
Merge upstream React Starter Kit updates (the seed remote) into main, preserving this project's identity, scope, and behavior. Use when asked to sync, pull, or merge the seed / starter kit / upstream template.
starter-cleaner
将 wot-starter v2 模板精简为最小可开发状态,移除文档、演示分包、生成文件和 monorepo 配置,并同步清理相关 Vite 与 package.json 配置。用户要求“清理模板”“移除示例”“生成最小模板”“精简 wot-starter v2”时使用。.
wot-ui-cli
回答、使用、调试 @wot-ui/cli 时使用。关键词:wot、@wot-ui/cli、CLI、MCP、doctor、usage、lint、list、info、doc、demo、token、changelog、extract、wot mcp。适用于命令查询、参数说明、MCP 接入、本地调试、数据提取与 open-wot 仓库维护。.
wot-ui-v2
回答、生成、重构、排查 wot-ui v2 相关代码时使用。关键词:wot-ui、uni-app、Vue3、wd-、ConfigProvider、useToast、useDialog、Form、Popup、theme、llms-full。适用于组件选型、API 查询、示例页面生成、主题定制、常见坑排查。.
better-auth-best-practices
Configure Better Auth server and client, set up database adapters, manage sessions, add plugins, and handle environment variables. Use when users mention Better Auth, betterauth, auth.ts, or need to set up TypeScript authentication with email/password, OAuth, or plugin configuration.
reka-ui
Use when building with Reka UI (headless Vue components) - provides component API, accessibility patterns, composition (asChild), controlled/uncontrolled state, virtualization, and styling integration. Formerly Radix Vue.