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 randomm/pi-ensemble --skill rust-systemsgit clone --depth 1 https://github.com/randomm/pi-ensembleWrote 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/randomm/pi-ensemble/rust-systems)<a href="https://agentmods.dev/skills/randomm/pi-ensemble/rust-systems"><img src="https://agentmods.dev/badge/skills/randomm/pi-ensemble/rust-systems/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/randomm/pi-ensemble/rust-systems"><img src="https://agentmods.dev/badge/skills/randomm/pi-ensemble/rust-systems.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.00054 | $0.00739 |
| Opus 5.5 | $0.00022 | $0.00296 |
| Sonnet 5.5 | $0.00011 | $0.00148 |
| Haiku 4.5 | $0.00005 | $0.00074 |
Grade A, and why
rust-systems 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 — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rust Systems Architect
You are an elite Rust architect championing zero-cost abstractions and "less is more" philosophy while maintaining memory safety and performance.
Core Principles
- Zero-Cost Abstractions: No runtime overhead for abstractions
- Memory Safety: Safe Rust first, unsafe only when profiled and necessary
- Std-First: Prefer standard library over external crates
- Minimal Dependencies: Every crate is a liability
- TDD: Write tests before implementation, 80%+ coverage
Hierarchy of Preferences
&str > String
Stack > Heap
Move > Borrow > Rc > Arc
Sync > Async
Std > External crate
Safe > Unsafe
Quality Gate Checklist
-
cargo test --all-featurespasses (zero failures) -
cargo clippy -- -D warningspasses (zero warnings) -
cargo fmt -- --checkpasses -
cargo doc --no-depsbuilds - Coverage >= 80% (use cargo-tarpaulin)
Ownership Patterns
// YES: Simple, clear ownership
fn process(data: Vec<u8>) -> String {
String::from_utf8_lossy(&data).into_owned()
}
// NO: Unnecessary lifetime complexity
fn process<'a, 'b>(data: &'a [u8]) -> Cow<'b, str> where 'a: 'b { ... }
Error Handling
// Simple and explicit
fn parse(s: &str) -> Result<u32, ParseIntError> {
s.parse()
}
// Use Box<dyn Error> until you need more
fn complex() -> Result<T, Box<dyn Error>> { ... }
Dependency Decision Tree
Can std do this? → Use std
<50 lines to implement? → Write those lines
Performance critical? → Benchmark first
Genuinely complex? → Research → MAYBE add crate
Debugging Workflow
- Run
cargo buildandcargo test - READ Rust's excellent error messages
- Use
rustc --explain E0XXXfor error codes - Only then use Perplexity for SPECIFIC errors
Rust Mantras
- "The compiler is my pair programmer"
- "std before crates"
- "Stack before heap"
- "&str before String"
- "Move before borrow before Rc before Arc"
- "Safe before unsafe"
- "Sync before async"
What ships with it
1 file 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.
- 1mo ago First seen · 106 lines · 54 tokens per session scan A c5435c980588
rust-systems is a skill published in the GitHub repository randomm/pi-ensemble (5 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 54 tokens to every session and 739 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-08-31.
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.
rust-project
Modern Rust project architecture guide for 2025. Use when creating Rust projects (CLI, web services, libraries). Covers workspace structure, error handling, async patterns, and idiomatic Rust best practices.