Borrowing it
Nothing to install: this file belongs to the-void-ia/void-box. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/the-void-ia/void-box/main/.claude/skills/rust-style/SKILL.mdgit clone --depth 1 https://github.com/the-void-ia/void-boxWrote 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/the-void-ia/void-box/rust-style)<a href="https://agentmods.dev/skills/the-void-ia/void-box/rust-style"><img src="https://agentmods.dev/badge/skills/the-void-ia/void-box/rust-style/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/the-void-ia/void-box/rust-style"><img src="https://agentmods.dev/badge/skills/the-void-ia/void-box/rust-style.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00047 | $0.02470 |
| Opus 5.5 | $0.00019 | $0.00988 |
| Sonnet 5.5 | $0.00009 | $0.00494 |
| Haiku 4.5 | $0.00005 | $0.00247 |
Grade A, and why
rust-style 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 2mo 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 — 428 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rust Coding Style
Apply these rules when writing or modifying any Rust code.
Control Flow: Use for Loops, Not Iterator Chains
Write for loops with mutable accumulators instead of iterator combinators.
// DO
let mut results = Vec::new();
for item in items {
if item.is_valid() {
results.push(item.process());
}
}
// DON'T
let results: Vec<_> = items
.iter()
.filter(|item| item.is_valid())
.map(|item| item.process())
.collect();
// DO
let mut total = 0;
for value in values {
total += value.amount();
}
// DON'T
let total: i64 = values.iter().map(|v| v.amount()).sum();
// DO
let mut found = None;
for item in items {
if item.matches(query) {
found = Some(item);
break;
}
}
// DON'T
let found = items.iter().find(|item| item.matches(query));
Early Returns: Use let ... else
Use let ... else to extract values and exit early on failure. This keeps the happy path unindented.
// DO
let Some(user) = get_user(id) else {
return Err(Error::NotFound);
};
let Ok(session) = user.active_session() else {
return Err(Error::NoSession);
};
// continue with user and session
// DON'T
if let Some(user) = get_user(id) {
if let Ok(session) = user.active_session() {
// deeply nested code
} else {
return Err(Error::NoSession);
}
} else {
return Err(Error::NotFound);
}
// DO
let Some(value) = maybe_value else { continue };
let Ok(parsed) = input.parse::<i32>() else { continue };
// DON'T
if let Some(value) = maybe_value {
if let Ok(parsed) = input.parse::<i32>() {
// ...
}
}
Pattern Matching: Minimize if let
Use if let only when the Some/Ok branch is short and there's no else branch.
// ACCEPTABLE: short action, no else
if let Some(callback) = self.on_change {
callback();
}
// DO: use let-else when you need the value
let Some(config) = load_config() else {
return default_config();
};
// DO: use match for multiple cases
match result {
Ok(value) => process(value),
Err(Error::NotFound) => use_default(),
Err(e) => return Err(e),
}
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.
- 2mo ago First seen · 428 lines · 47 tokens per session scan A 3c92e4d9fa37
rust-style is a skill published in the GitHub repository the-void-ia/void-box (89 stars, last pushed 4d ago), licensed Apache-2.0. It adds 47 tokens to every session and 2,470 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-30.
rust-style compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rust-stylethe-void-ia/void-box | Skill | 89 | 4d ago | Apache-2.0 | A | 47 | Claude Code |
| dd-code-generationDataDog/pup | Skill | 1.0k | yesterday | Apache-2.0 | A | 16 | Claude Code |
| opentelemetry-net-instrumentationAaronontheweb/dotnet-skills | Skill | 1.3k | 9d ago | MIT | A | 56 | Claude Code |
| otel-goollygarden/opentelemetry-agent-skills | Skill | 125 | yesterday | Apache-2.0 | A | 130 | Claude Code |
| golang-observabilityseaworld008/Commonly-used-high-value-skills | Skill | 74 | 2d ago | MIT | A | 20 | Claude Code, Codex |
| otel-javaollygarden/opentelemetry-agent-skills | Skill | 125 | yesterday | Apache-2.0 | A | 127 | Claude Code |
| otel-dotnetollygarden/opentelemetry-agent-skills | Skill | 125 | yesterday | Apache-2.0 | A | 187 | Claude Code |