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 rustifygit 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/rustify)<a href="https://agentmods.dev/skills/tozhax/plumbwork/rustify"><img src="https://agentmods.dev/badge/skills/tozhax/plumbwork/rustify/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/rustify"><img src="https://agentmods.dev/badge/skills/tozhax/plumbwork/rustify.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.00161 | $0.06866 |
| Opus 5.5 | $0.00064 | $0.02746 |
| Sonnet 5.5 | $0.00032 | $0.01373 |
| Haiku 4.5 | $0.00016 | $0.00687 |
Grade B, and why
rustify scanned grade B 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 directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
* **vs. `~/.gemini/config/skills/rust-harden/SKILL.md`, `~/.gemini/config/skills/refactoring/SKILL.md` & `~/.gemini/config/skills/sweetspot/SKILL.md`:** `rustify` governs cross-language porting and Foreign Function Inter How it starts
The opening of the file, as written. The whole thing — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rustify: Architectural Migration & Memory-Safe Interop Discipline
Translating source files line-by-line from C, C++, Go, Python, TypeScript/JavaScript, Ruby, Java/Kotlin, PHP, C#, or PowerShell into Rust produces "source-language code in Rust syntax": ubiquitous Arc<Mutex<T>> wrappers, raw *mut T pointer arithmetic, .unwrap() panic landmines, silent as integer truncations, FFI marshaling regressions, and broken Application Binary Interface (ABI) layouts. rustify governs cross-language transformation so ownership, lifetimes, semantic parity, binary layout invariants, and zero-panic guarantees are locked in incrementally with compiler and runtime proof.
1. Adjacent-Skill Boundaries & Co-Loading Map
- vs.
~/.gemini/config/skills/rust-harden/SKILL.md,~/.gemini/config/skills/refactoring/SKILL.md&~/.gemini/config/skills/sweetspot/SKILL.md:rustifygoverns cross-language porting and Foreign Function Interface (FFI) bridges from C, C++, Go, Python, TypeScript/JavaScript, Ruby, or Java/Kotlin into Rust. Once a crate is already in Rust, userust-harden(--internal,--contract, or--greenfield) to eliminate intra-Rust.clone()/Arc<Mutex<T>>ownership debt, remove production.unwrap()/.expect()panics, hardentokio::select!cancellation, POSIX privilege drop, or real-time game loops, scaffold greenfield Rust workspaces, and narrow#![no_std]/ kernelunsafeblocks; userefactoringfor language-agnostic structural moves with zero contract shift; and usesweetspotwhen profiling/optimizing an already-working Rust crate (--time,--memory,--disk,--net). Never mix premature Single Instruction, Multiple Data (SIMD) or custom-allocator micro-tuning into the initial cross-language migration pass. - Sequential Post-Parity Handoff to
rust-harden(Anti-Mixing Sequencing Rule): Preserve~/.gemini/config/skills/harness/references/context-and-artifacts.md§1'sAnti-Mixing Sequencing Rule: completerustifyStage 5 differential parity to100%green first (and drive strangler-fig fallback to0%on whole-app cutovers) before applying intra-Rust hardening or structural redesign. Once parity is green, hand off sequentially to~/.gemini/config/skills/rust-harden/SKILL.md(--internalby default to keep portedpub/ABI/golden-vector contracts intact, or explicitly user-authorized--contractfor controlled public Rust API tightening) paired with the matching runtime reference (async-and-userspace.md,kernel-and-unsafe.md, orgame-and-realtime.md); if a standalone new workspace skeleton is needed for a lifted crate, runrust-harden --greenfield(greenfield-architecture.md) as a separate sequential pass rather than mixing it into--internal/--contract. - vs.
~/.gemini/config/skills/harness/references/dependency-upgrade.md: Usedependency-upgradewhen bumping crate versions inCargo.toml/Cargo.lockor upgrading the Rust toolchain edition (2021->2024) within an existing Rust project. - vs.
~/.gemini/config/skills/renew/SKILL.md(Handoff vs. Co-Load):- Active/buildable C, C++, Go, Python, TS/JS, Ruby, or Java/Kotlin module -> Rust: Use
rustifydirectly. - Obsolete/unbuildable 15+ year legacy software or classic game revived into a Rust target stack: Co-load
~/.gemini/config/skills/renew/SKILL.mdwithrustify: combine both Stage 1 autopsies and a single merged Stage 2 contract gate (<= 4questions), pin once in Stage 3, applyrenewStage 4.2 legacy vulnerability sanitization (plusrenewSection 6 for classic games) alongsiderustifyStage 4, and pass both Stage 5 gates.
- Active/buildable C, C++, Go, Python, TS/JS, Ruby, or Java/Kotlin module -> Rust: Use
- On-Demand Reference Modules (Load Only What Matches the Source Language):
- C, C++,
#![no_std]firmware, hardware registers, or Foreign Function Interface (FFI) bridges: Read references/c-cpp-abi-and-embedded.md. - Go, Python (
PyO3/maturin), TypeScript/JavaScript (napi-rs/wasm), Ruby, Java/Kotlin, PHP, C#, or PowerShell bridges, batching (--batch/FnIndex), semantic traps, oracle noise taxonomy, or strangler-fig whole-app cutover: Read references/managed-go-python.md.
- C, C++,
- Co-Loaded Capabilities When Applicable:
- Optional Pinned
rust-anythingCLI / MCP Backend: For TS/JS, Python, C, Go, Ruby, Java/Kotlin, PHP, C#, or PowerShell ports, an existing pinnedrust-anything(=5.0.2 --locked, version-verified; never passing--agent) CLI/MCP server may automate Stages 1–5 per references/managed-go-python.md §6; when absent, mismatched, failing mid-run, or targeting C++,#![no_std], embedded, orsafety-criticalcrates, execute all fiverustifystages manually with nativebindgen/cbindgen/cxx/PyO3, golden-vector harnesses,clippy,miri, sanitizers, andcargo kaniwith zero loss of rigor. - Compiled-only
.so/.dll/.a/ firmware binaries lacking source: Co-loadreverse-engineer-anything(rea_reaModel Context Protocol (MCP) server when available) to extract symbol graphs and calling conventions first. - Domain type & typestate design: Apply
~/.gemini/config/skills/harness/references/mistake-proofing.mdand~/.gemini/config/skills/harness/references/mistake-proofing-languages.md(Rustsection:Preventedvs.Announced). - Multi-window (
>8files) migrations: Partition via~/.gemini/config/skills/harness/references/marathon.md(W1: Characterization & Leaf Types,W2: Interop Seam & Intermediate Logic,W3: Unsafe Purification & Audit). Record target profile and binary layout decisions via~/.gemini/config/skills/harness/references/adr.md.
- Optional Pinned
What ships with it
2 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 · 130 lines · 161 tokens per session scan B 6502e9a4ec8b
rustify is a skill published in the GitHub repository tozhax/plumbwork (33 stars, last pushed 2d ago), licensed MIT. It adds 161 tokens to every session and 6,866 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it B 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.
rustify compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rustifytozhax/plumbwork | Skill | 33 | 2d ago | MIT | B | 161 | 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 |