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 sorah/config --skill rustgit clone --depth 1 https://github.com/sorah/configWrote 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/sorah/config/rust)<a href="https://agentmods.dev/skills/sorah/config/rust"><img src="https://agentmods.dev/badge/skills/sorah/config/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/sorah/config/rust"><img src="https://agentmods.dev/badge/skills/sorah/config/rust.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.00056 | $0.00885 |
| Opus 5.5 | $0.00022 | $0.00354 |
| Sonnet 5.5 | $0.00011 | $0.00177 |
| Haiku 4.5 | $0.00006 | $0.00089 |
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 — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rust Conventions
Coding conventions and best practices for Rust projects. Project-specific conventions (CLAUDE.md, style guides) always take priority over this guidance.
Coding Guidelines
Import (use) Statements
Default: Don't use use unless explicitly requested by humans
- Global
usestatements at the top of files are discouraged (except inmod.rsandlib.rs) - Avoid
usefor structs and enums - ALWAYS prefer full paths (e.g.,std::collections::HashMapinstead ofuse std::collections::HashMap) useis allowed for frequently used modules within the same crate (e.g.,use crate::error::Error)- When importing traits, place the
usestatement in the most specific scope where they're needed
Using crate:: reference
- Always use
crate::for referencing items within the same crate, even in the same module (e.g.,crate::utils::helper_function())
Methods and Associated Functions
Prefer methods, associated functions, and trait impls over bare fn.
- Behavior that reads or mutates a type's data is a method on that type, rather than a free
fn foo(x: &Type) - Constructors and conversions are associated functions (
Type::new,Type::from_env) orFrom/TryFrom/FromStrimpls - A helper used only by one type's methods is a private associated function in that
impl - Free functions fit where no type owns the operation: subcommand entry points (
cmd::<name>::run(args)), functions a framework or attribute refers to by path (axum handlers,#[serde(default = "...")]), and small stateless utilities
Adding Functionality to Other Types
For a type that cannot take an inherent impl, such as an external crate's struct, one or two functions using it can stay free functions. Beyond that, prefer in order:
- A trait: a std or crate-provided one when it fits (
From,Display, ...), otherwise a local extension trait (e.g.,trait ClientExtimplemented forreqwest::Client) - A wrapper struct with methods, when a trait does not fit (e.g., a
Cacheowning arusqlite::Connectionwhose schema it manages) - Free functions taking the type, only when wrapping has a concrete performance cost
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 · +11 lines c392bb501c53
- 1mo ago First seen · 46 lines · 56 tokens per session scan A 9f8951c82c35
rust is a skill published in the GitHub repository sorah/config (31 stars, last pushed 11d ago), licensed MIT. It adds 56 tokens to every session and 885 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-10-17.
rust compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rustsorah/config | Skill | 31 | 11d ago | MIT | A | 56 | Claude Code |
| rust-patternsaffaan-m/ECC | Skill | 315k | today | MIT | A | 28 | Claude Code, Kiro |
| update-v8-versionopeninterpreter/openinterpreter | Skill | 69k | yesterday | Apache-2.0 | A | 86 | Codex |
| omh-rustrlaope/oh-my-hermes | Skill | 6.2k | yesterday | MIT | A | 19 | Claude Code |
| dd-code-generationDataDog/pup | Skill | 1.1k | yesterday | Apache-2.0 | A | 16 | Claude Code |
| swiftidebosun-ai/swiftide | Skill | 808 | yesterday | MIT | A | 43 | Claude Code, Codex |
| azure-keyvault-secrets-rustbenjaminasterA/antigravity-awesome-skills | Skill | 524 | today | MIT | A | 0 | Claude Code, Codex |