crates-io-name-check

crates-io-name-check is a skill for Claude Code, Codex from d-oit/rust-2026-template. It costs 69 tokens per session (912 once invoked), scanned A, original, MIT.

A name-availability check for Rust packages on crates.io, the public package registry used by Rust projects.

In plain words
What is it for?
Use it when starting or renaming a Rust crate, adding a workspace member, or preparing a package for its first publication.
Why use it?
It helps avoid choosing a package name that is already taken before adding it to Cargo.toml or publishing it.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when starting or renaming a Rust crate, adding a workspace member, or preparing a package for its first publication.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/d-oit/rust-2026-template/crates-io-name-check
Install

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.

Any agent
npx skills add d-oit/rust-2026-template --skill crates-io-name-check
Clone the repo
git clone --depth 1 https://github.com/d-oit/rust-2026-template

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for crates-io-name-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/d-oit/rust-2026-template/crates-io-name-check.svg)](https://agentmods.dev/skills/d-oit/rust-2026-template/crates-io-name-check)
Your own site
<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="Measured on agentmods" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 912 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
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.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.00912
Opus 5 $0.00034 $0.00456
Sonnet 5 $0.00014 $0.00182
Haiku 4.5 $0.00007 $0.00091

Measured 8d ago against content hash 4ddd173d157c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

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 8d 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>)
.agents/skills/crates-io-name-check/SKILL.md · 116 lines

How it starts

The opening of the file, as written. The whole thing — 116 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).

When to Use

  • Creating a new crate under crates/ in the workspace
  • Starting a new Rust project from this template
  • Before the first cargo publish
  • When renaming a crate

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"  ✓

Read the full file on GitHub · 116 lines

Files

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.

Changes

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.

  1. 8d ago First seen · 116 lines · 69 tokens per session scan A 4ddd173d157c

Subscribe to this mod's changes

crates-io-name-check is a skill published in the GitHub repository d-oit/rust-2026-template (10 stars, last pushed 2d ago), licensed MIT. It adds 69 tokens to every session and 912 once invoked, about $0.0003 per session on Opus 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.