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 d-oit/rust-2026-template --skill crates-io-name-checkgit clone --depth 1 https://github.com/d-oit/rust-2026-templateWrote 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/d-oit/rust-2026-template/crates-io-name-check)<a href="https://agentmods.dev/skills/d-oit/rust-2026-template/crates-io-name-check"><img src="https://agentmods.dev/badge/skills/d-oit/rust-2026-template/crates-io-name-check/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/d-oit/rust-2026-template/crates-io-name-check"><img src="https://agentmods.dev/badge/skills/d-oit/rust-2026-template/crates-io-name-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Excessive Agency · line 107 Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00069 | $0.00993 |
| Opus 5.5 | $0.00028 | $0.00397 |
| Sonnet 5.5 | $0.00014 | $0.00199 |
| Haiku 4.5 | $0.00007 | $0.00099 |
Grade A, and why
crates-io-name-check 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 16d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
STATUS=$(curl -s -o /dev/null -w "%{http_code}" https://crates.io/api/v1/crates/<your-crate-name>) 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.
Skill: crates-io-name-check
Purpose
Verify that a new Rust crate name is available and appropriate on crates.io before
committing to it in Cargo.toml. This is a generic skill for any Rust project using
this template — run it whenever you create a new crate (workspace member or standalone).
Availability Check
Method 1: cargo search (CLI, recommended)
cargo search <your-crate-name>
- If the exact name appears in results → taken, choose another.
- No exact match → likely available (confirm with Method 2).
Method 2: crates.io API
STATUS=$(curl -s -o /dev/null -w "%{http_code}" https://crates.io/api/v1/crates/<your-crate-name>)
if [ "$STATUS" = "404" ]; then
echo "✓ Name is available"
else
echo "✗ Name is taken (HTTP $STATUS)"
fi
Method 3: Browser
Open https://crates.io/crates/<your-crate-name> — 404 page = available.
Naming Best Practices
| Rule | Good | Bad |
|---|---|---|
Use kebab-case |
my-tool-core |
my_tool_core |
| Be specific | invoice-parser |
parser |
| Avoid generic names | — | utils, helpers, common |
| Scope to project | myapp-cli, myapp-sdk |
cli, sdk |
| Keep it short | foobar-rs |
foobar-rust-library-2026 |
| No name squatting | — | reserving empty crates |
Similarity Check
Also check for confusingly similar names that could mislead users:
# Search for similar prefixes
cargo search <prefix>
# Check typosquat risk manually on crates.io
# https://crates.io/search?q=<your-name>
Cargo.toml Name vs Package Directory
Note that the [package] name in Cargo.toml is the published crate name.
The directory name under crates/ can differ but should match for clarity:
crates/
my-tool-core/ ← directory
Cargo.toml → [package] name = "my-tool-core" ✓
Template Usage Note
The template includes a placeholder crate crates/example-crate/. When you replace
it with your real crate, rename both the directory and the [package] name in
Cargo.toml, and run this skill to verify availability before your first commit.
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.
- 16d ago Changed · +10 lines 887650ef4faf
- 2mo ago Changed · -6 lines 3ef83f2834eb
- 3mo ago First seen · 116 lines · 69 tokens per session scan A 4ddd173d157c
crates-io-name-check is a skill published in the GitHub repository d-oit/rust-2026-template (15 stars, last pushed yesterday), licensed MIT. It adds 69 tokens to every session and 993 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
crates-io-name-check compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| crates-io-name-checkd-oit/rust-2026-template | Skill | 15 | yesterday | MIT | A | 69 | Claude Code, Codex |
| rust-patternsmasrisystems/dot-agents | Skill | 0 | 17d ago | none | A | 28 | Claude Code, Kiro |
| update-v8-versionopeninterpreter/openinterpreter | Skill | 69k | 2d ago | Apache-2.0 | A | 86 | Codex |
| dd-code-generationDataDog/pup | Skill | 1.0k | today | Apache-2.0 | A | 16 | Claude Code |
| swiftidebosun-ai/swiftide | Skill | 807 | today | MIT | A | 43 | Claude Code, Codex |
| azure-keyvault-secrets-rustbenjaminasterA/antigravity-awesome-skills | Skill | 522 | today | MIT | A | 0 | Claude Code, Codex |
| rust-errorBerriAI/litellm | Skill | 64k | today | none | A | 72 | Claude Code, Codex |