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 nimadorostkar/Claude-Skills-collection --skill rustgit clone --depth 1 https://github.com/nimadorostkar/Claude-Skills-collectionWrote 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/nimadorostkar/claude-skills-collection/rust)<a href="https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/rust"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/rust/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/nimadorostkar/claude-skills-collection/rust"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/rust.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.00074 | $0.01009 |
| Opus 5.5 | $0.00030 | $0.00404 |
| Sonnet 5.5 | $0.00015 | $0.00202 |
| Haiku 4.5 | $0.00007 | $0.00101 |
Grade A, and why
rust 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 1mo 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 — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rust
Purpose
Write Rust that satisfies the borrow checker by design rather than by fighting it. Ownership is a modeling decision made before the code is written, not a compiler obstacle discovered afterward.
When to Use
- Building Rust libraries, services, or CLI tools.
- Resolving lifetime, borrow, or trait-bound errors.
- Designing error types for a library versus an application.
- Writing async Rust with Tokio.
- Auditing or minimizing
unsafeblocks.
Capabilities
- Ownership and borrowing design: when to clone, when to borrow, when to use
Rc/Arc. - Error modeling:
thiserrorfor libraries,anyhowfor binaries. - Trait design, generic bounds, and trait objects.
- Async runtimes,
Send/Syncbounds, and cancellation semantics. - Safe encapsulation of
unsafe, with documented invariants.
Inputs
- Crate or module source.
- Edition and MSRV.
- Whether the artifact is a library (stable public API) or a binary.
Outputs
- Code that compiles with zero warnings under
clippy::pedantic(or a documented allow-list). - Explicit error enums with
#[from]conversions. - Tests including compile-fail tests for API misuse where warranted.
Workflow
- Model ownership first — Decide who owns each value and how long it lives before writing the signature.
- Design the error type — A library's error enum is public API. Enumerate failure modes explicitly.
- Implement — Start with owned values and clones. Optimize to borrows only where profiling or ergonomics justify it.
- Constrain generics late — Write it concrete, then generalize if a second caller appears.
- Gate —
cargo clippy -- -D warnings,cargo fmt --check,cargo test,cargo deny check.
Best Practices
- A
clone()in non-hot-path code is not a defect. Premature borrow optimization produces unreadable lifetimes. - Libraries return concrete error enums; binaries use
anyhow::Resultand add context at each layer. - Never
unwrap()outside tests andmain. Useexpect("invariant: ...")where the invariant is genuinely proven. - Prefer
impl Traitin argument position for simple bounds; use named generics when the caller must choose the type. - Every
unsafeblock gets a// SAFETY:comment stating the invariant that makes it sound. - Use
#[non_exhaustive]on public enums you may extend.
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.
- 1mo ago Changed · +32 tokens per session 1067857597c2
- 2mo ago First seen · 110 lines · 42 tokens per session scan A bc65541b2eda
rust is a skill published in the GitHub repository nimadorostkar/Claude-Skills-collection (41 stars, last pushed today), licensed MIT. It adds 74 tokens to every session and 1,009 once invoked, about $0.0003 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-09-03.
rust compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rustnimadorostkar/Claude-Skills-collection | Skill | 41 | today | MIT | A | 74 | Claude Code |
| neo-rustBenknightdark/neo-skills | Skill | 7 | 13d ago | MIT | A | 83 | Claude Code, Codex |
| pinocchio-developmentsendaifun/skills | Skill | 128 | 4mo ago | Apache-2.0 | A | 44 | Claude Code, Codex |
| rust-api-guidelinesqiao/rust-api-guidelines-skill | Skill | 4 | 8mo ago | none | A | 124 | Claude Code, Codex |
| migrate-to-rustgoogle/skills | Skill | 25k | today | Apache-2.0 | A | 166 | Claude Code, Codex |
| polarsK-Dense-AI/scientific-agent-skills | Skill | 59k | 7d ago | MIT | A | 47 | Claude Code |
| rust-engineerJeffallan/claude-skills | Skill | 13k | today | MIT | A | 120 | Claude Code |