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 Miaoge-Ge/coding-agent-skills --skill rust-expertgit clone --depth 1 https://github.com/Miaoge-Ge/coding-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/miaoge-ge/coding-agent-skills/rust-expert)<a href="https://agentmods.dev/skills/miaoge-ge/coding-agent-skills/rust-expert"><img src="https://agentmods.dev/badge/skills/miaoge-ge/coding-agent-skills/rust-expert/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/miaoge-ge/coding-agent-skills/rust-expert"><img src="https://agentmods.dev/badge/skills/miaoge-ge/coding-agent-skills/rust-expert.svg" alt="Reviewed on agentmods" width="80" 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.00093 | $0.01143 |
| Opus 5.5 | $0.00037 | $0.00457 |
| Sonnet 5.5 | $0.00019 | $0.00229 |
| Haiku 4.5 | $0.00009 | $0.00114 |
Grade A, and why
rust-expert 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 Expert
Fight the design, not the borrow checker — a borrow error is usually a real aliasing/lifetime problem. Make invalid states unrepresentable, return errors as values, and reach for
clone()/unsafedeliberately, never to silence the compiler.
When to Use
- Writing or refactoring Rust.
- Borrow-checker, lifetime, move/
clone, orSend/Syncerrors. - Designing traits, generics, error types, or APIs.
- Async (tokio), iterators, smart pointers, or vetting
unsafe.
When NOT to Use
- Other languages → the relevant language skill.
- High-level system architecture →
software-architect.
Core Principles
1. Ownership & borrowing by design
- Borrow (
&T/&mut T) over cloning;clone()is a real cost you choose, not an error silencer. - The rule: many
&Txor one&mut T. When it fights you, restructure: narrow scopes, split borrows, index-based access, or interior mutability (Cell/RefCellsingle-thread,Mutex/RwLockmulti-thread). - Params take
&str/&[T]/impl AsRef<_>; store ownedString/Vec<T>. Return owned data or borrow tied to an input lifetime.
2. Errors are values
- Return
Result<T, E>; propagate with?. Avoidunwrap()/expect()outside tests,main, or provably-infallible spots (and thenexpect()with a reason). - Libraries: typed errors with
thiserror(implstd::error::Error, use#[from]). Apps:anyhow::Resultwith.context("…"). Optionfor absence,Resultfor failure. Don't panic on recoverable conditions.
3. Model with the type system
- Enums to make illegal states unrepresentable; newtype pattern for domain values and to add trait impls.
- Generics + trait bounds by default;
dyn Trait(boxed) for heterogeneous collections, plugin points, or smaller code size. DeriveDebug/Clone/PartialEqwhere sensible; implFromfor conversions so?composes.
4. Async & concurrency
- Pick one runtime (usually
tokio). Never block the executor — use async I/O; offload CPU/blocking work tospawn_blockingor a thread pool. - Share state with
Arc<Mutex<T>>/Arc<RwLock<T>>; hold locks for the shortest possible scope and never across.await. Move ownership across tasks via channels.
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 · 93 tokens per session scan A 1c9f91f930a9
rust-expert is a skill published in the GitHub repository Miaoge-Ge/coding-agent-skills (7 stars, last pushed 6mo ago), licensed MIT. It adds 93 tokens to every session and 1,143 once invoked, about $0.0004 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-31.
rust-expert compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rust-expertMiaoge-Ge/coding-agent-skills | Skill | 7 | 6mo ago | MIT | A | 93 | Claude Code |
| rust-programming-expertroedyrustam/vibes-plug | Skill | 131 | 5d ago | MIT | A | 58 | Cursor |
| tauri-expertroedyrustam/vibes-plug | Skill | 131 | 5d ago | MIT | A | 44 | Cursor |
| wasm-edge-computing-expertroedyrustam/vibes-plug | Skill | 131 | 5d ago | MIT | A | 47 | Cursor |
| Agent Browser AutomationPramodDutta/qaskills | Skill | 253 | 29d ago | MIT | A | 37 | Claude Code, Codex |
| fastapikok-o/contextos-agents | Skill | 10 | 22d ago | Apache-2.0 | A | 21 | Claude Code, Codex |
| typescriptkok-o/contextos-agents | Skill | 10 | 22d ago | Apache-2.0 | A | 20 | Claude Code, Codex |