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.00593 |
| Opus 5.5 | $0.00022 | $0.00237 |
| Sonnet 5.5 | $0.00011 | $0.00119 |
| Haiku 4.5 | $0.00006 | $0.00059 |
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 yesterday.
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 — 46 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.
- yesterday 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 yesterday), licensed MIT. It adds 56 tokens to every session and 593 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.
Other skills, from other repositories
rust-patterns
Idiomatic Rust patterns, ownership, error handling, traits, concurrency, and best practices for building safe, performant applications.
update-v8-version
Update Codex's pinned v8 / rustyv8 versions, validate the release-candidate path, and investigate failed V8 canary or artifact builds. Use when asked to bump V8, update rustyv8 artifacts, prepare or validate a V8 release candidate, check v8-canary, or diagnose why a V8 version update no longer builds.
dd-code-generation
Use pup CLI for immediate Datadog operations or generate code for integration into applications.
omh-rust
This is an OMH rust workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
azure-keyvault-secrets-rust
Client library for Azure Key Vault Secrets — secure storage for passwords, API keys, and other secrets.
gcs-rust-download-object-api
Fix "DownloadObjectRequest not found" error in google-cloud-storage Rust crate. Use when: (1) Trying to download objects from GCS using the Rust SDK, (2) Looking for a download request type in http::objects::download module, (3) Compile error about missing type. The downloadobject method uses GetObjectRequest from the…