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 tozhax/plumbwork --skill rust-hardengit clone --depth 1 https://github.com/tozhax/plumbworkWrote 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/tozhax/plumbwork/rust-harden)<a href="https://agentmods.dev/skills/tozhax/plumbwork/rust-harden"><img src="https://agentmods.dev/badge/skills/tozhax/plumbwork/rust-harden/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/tozhax/plumbwork/rust-harden"><img src="https://agentmods.dev/badge/skills/tozhax/plumbwork/rust-harden.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.00117 | $0.03962 |
| Opus 5.5 | $0.00047 | $0.01585 |
| Sonnet 5.5 | $0.00023 | $0.00792 |
| Haiku 4.5 | $0.00012 | $0.00396 |
Grade A, and why
rust-harden scanned grade A with 1 finding 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 2d 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.
Reads agent configuration directorieslowAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
* **vs. `~/.gemini/config/skills/rustify/SKILL.md`:** `rustify` ports C, C++, Go, Python, TS/JS, Ruby, or Java/Kotlin codebases into Rust and builds initial Foreign Function Interface (`FFI`) bridges against cross-langua Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
How it starts
The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rust Harden: Intra-Rust Ownership, Panic-Freedom & Unsafe Narrowing Discipline
Existing Rust crates frequently accumulate borrow-checker workarounds and latent runtime traps: defensive .clone() chains, single-owner state wrapped in Arc<Mutex<T>> or Rc<RefCell<T>>, production .unwrap() and .expect() panic paths, cancellation-unsafe tokio::select! branches, and oversized unsafe blocks lacking verified preconditions. rust-harden eliminates intra-Rust ownership, panic, concurrency, and memory-safety debt under compiler, linter, sanitizer, and formal proof gates.
1. Adjacent-Skill Boundaries & Mode Selection
- vs.
~/.gemini/config/skills/rustify/SKILL.md:rustifyports C, C++, Go, Python, TS/JS, Ruby, or Java/Kotlin codebases into Rust and builds initial Foreign Function Interface (FFI) bridges against cross-language golden vectors. Once code compiles and runs as a Rust crate, hand off intra-Rust ownership cleanup, panic removal, async cancellation hardening, andunsafenarrowing torust-harden. - vs.
~/.gemini/config/skills/refactoring/SKILL.md&~/.gemini/config/skills/sweetspot/SKILL.md: Userefactoringfor language-agnostic module splits or renames without Rust-specific ownership/lint/soundness goals, and usesweetspotwhen profiling and reducing measured wall-clock time, memory (RAM), binary size, or network bandwidth under the 3-Zone Gate. - vs.
~/.gemini/config/skills/harness/references/dependency-upgrade.md&~/.gemini/config/skills/diagnosing-bugs/SKILL.md: Usedependency-upgradeforCargo.tomlversion or Rust edition bumps (2021 -> 2024), and usediagnosing-bugsfirst when reproducing an active crash, deadlock, or failing test before hardening surrounding code.
Three Mutually Exclusive Operational Modes (Never Mix in One Changeset)
Bare /rust-harden invocations default to Mode 1 (--internal) unless the user explicitly passes --contract or --greenfield, or confirms contract tightening via ask_question. Explicit natural-language greenfield scaffolding prompts in workspaces with 0 existing Cargo.toml crates enter Mode 3 (--greenfield) directly (asking via ask_question only when an existing Cargo.toml crate is present and intent is ambiguous):
What ships with it
4 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.
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.
- 2d ago First seen · 120 lines · 117 tokens per session scan A 664046a375f0
rust-harden is a skill published in the GitHub repository tozhax/plumbwork (33 stars, last pushed 2d ago), licensed MIT. It adds 117 tokens to every session and 3,962 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-02.
rust-harden compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rust-hardentozhax/plumbwork | Skill | 33 | 2d ago | MIT | A | 117 | Claude Code, Codex |
| rust-patternsaffaan-m/ECC | Skill | 316k | 2d ago | MIT | A | 28 | Claude Code, Kiro |
| update-v8-versionopeninterpreter/openinterpreter | Skill | 69k | today | Apache-2.0 | A | 86 | Codex |
| omh-rustrlaope/oh-my-hermes | Skill | 6.3k | today | MIT | A | 19 | Claude Code |
| dd-code-generationDataDog/pup | Skill | 1.1k | today | Apache-2.0 | A | 16 | Claude Code |
| swiftidebosun-ai/swiftide | Skill | 813 | yesterday | MIT | A | 43 | Claude Code, Codex |
| azure-keyvault-secrets-rustbenjaminasterA/antigravity-awesome-skills | Skill | 527 | yesterday | MIT | A | 0 | Claude Code, Codex |