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 skills add onsails/skills --skill rust-devgit clone --depth 1 https://github.com/onsails/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/onsails/skills/rust-dev)<a href="https://agentmods.dev/skills/onsails/skills/rust-dev"><img src="https://agentmods.dev/badge/skills/onsails/skills/rust-dev/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.
<a href="https://agentmods.dev/skills/onsails/skills/rust-dev"><img src="https://agentmods.dev/badge/skills/onsails/skills/rust-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00057 | $0.01161 |
| Opus 5.5 | $0.00023 | $0.00464 |
| Sonnet 5.5 | $0.00011 | $0.00232 |
| Haiku 4.5 | $0.00006 | $0.00116 |
Grade A, and why
rust-dev 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 3mo 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 — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rust Development
Runtime dispatch
Detect the runtime once, before the workflow:
- Claude Code (
Agent,AskUserQuestion, andSkilltools available) → readruntime-claude.md. - OMP (
taskandasktools available, withskill://…readable throughread) → readskill://rust-dev/runtime-omp.md. - Any other tool surface → stop and report that this skill has no dispatch table for the runtime.
The selected file is a prompt asset, not a role declaration. Its implementation and review labels name the exact runtime subagent arguments. If a named agent is unavailable, stop before delegation: never substitute the generic task or general-purpose agent and never implement delegated work inline.
Workflow
For any non-trivial Rust change:
-
Discover project guidelines — Read
CLAUDE.md,AGENTS.md(in repo root and.claude/,.cursor/,.codex/subdirs),rustfmt.toml,clippy.toml,.clippy.toml,deny.toml, and[workspace.lints]/[lints]sections inCargo.toml. These rules apply in addition to Core Rules below. -
Implement — Delegate through the runtime dispatch table's implementation entry. It rediscovers guidelines, implements, then verifies its own work with
cargo clippy --workspace --tests -- -D warningsandcargo test --workspacebefore reporting done. -
Review — Delegate through the dispatch table's review entry after implementation completes. This is mandatory, not optional. Convert findings into TODOs: critical/warning → fix; suggestions → triage.
-
Fix issues one by one — Delegate each fix through the implementation entry. Do not batch unrelated fixes into one delegation.
-
Final build — Run
cargo build --workspacedirectly.
Core Rules
- Edition 2024: Always
edition = "2024"in Cargo.toml - FAIL FAST: Every error MUST propagate with
?orreturn Err. Logging is NOT handling. See error-handling.md - Dependency versions: Use
x.xformat (e.g.,serde = "1.0"). Find latest withpython3 scripts/check_crate_version.py <crate> - Workspace architecture: Root Cargo.toml defines workspace only. Separate crates for lib/cli/client
- Error types:
thiserror(with backtrace) for libraries,anyhowfor binaries/tests - CLI-first config: Never bypass CLI args. Use
from_cli_args(), neverDefaultthat reads env - No
env::set_varin tests: Pass config through function parameters - Async: Use tokio consistently
- Visibility: Private (default) >
pub(crate)>pub - No magic numbers: Use
constor CLI args
What ships with it
12 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.
- assets/workspace-template/Cargo.toml 471 B
- assets/workspace-template/project-cli/Cargo.toml 413 B
- assets/workspace-template/project-cli/src/main.rs 1.8 KB
- assets/workspace-template/project/Cargo.toml 376 B
- assets/workspace-template/project/src/lib.rs 740 B
- assets/workspace-template/README.md 1.4 KB
- references/dependency-guide.md 1.6 KB
- references/error-handling.md 2.2 KB
- references/module-organization.md 1.4 KB
- runtime-claude.md 416 B
- runtime-omp.md 495 B
- scripts/check_crate_version.py 3.5 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.
- 3mo ago First seen · 88 lines · 57 tokens per session scan A 0882bae23b5b
rust-dev is a skill published in the GitHub repository onsails/skills (44 stars, last pushed 3mo ago), licensed MIT. It adds 57 tokens to every session and 1,161 once invoked, about $0.0002 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-30.
rust-dev compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rust-devonsails/skills | Skill | 44 | 3mo ago | MIT | A | 57 | Claude Code |
| rust-expertmathisk2095/jko-claude-plugins | Skill | 3 | 1mo ago | MIT | A | 148 | Claude Code |
| qector-architectureGuillaumeLessard/qector-claude-plugin | Skill | 1 | 2d ago | none | A | 80 | Claude Code |
| build-android-binarymicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 150 | Claude Code |
| phx-deps-auditoliver-kriska/claude-elixir-phoenix | Skill | 579 | yesterday | MIT | A | 58 | Claude Code, Codex |
| architectoliver-kriska/claude-elixir-phoenix | Skill | 579 | yesterday | MIT | A | 47 | Claude Code |
| deps-vetoliver-kriska/claude-elixir-phoenix | Skill | 579 | yesterday | MIT | A | 53 | Claude Code |