rust-check

rust-check is a skill for Claude Code, Codex from Hmbown/CodeWhale. It costs 15 tokens per session (97 once invoked), scanned A, original, MIT.

A skill that runs Rust's Cargo check command on the current project to look for compilation errors and warnings.

In plain words
What is it for?
Use it to check a Rust project, inspect compiler errors and warnings, and then fix issues found by the check.
Why use it?
It gives you an early way to detect code that does not compile without running the full test suite.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/hmbown/codewhale/rust-check
Any agent
npx skills add Hmbown/CodeWhale --skill rust-check
Clone the repo
git clone --depth 1 https://github.com/Hmbown/CodeWhale

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 rust-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/hmbown/codewhale/rust-check.svg)](https://agentmods.dev/skills/hmbown/codewhale/rust-check)
Your own site
<a href="https://agentmods.dev/skills/hmbown/codewhale/rust-check"><img src="https://agentmods.dev/badge/skills/hmbown/codewhale/rust-check.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 97 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00015 $0.00097
Opus 5 $0.00008 $0.00048
Sonnet 5 $0.00003 $0.00019
Haiku 4.5 $0.00002 $0.00010

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

Security

Grade A, and why

rust-check 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 4d 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.

crates/tui/assets/plugins/rust-toolkit/skills/rust-check/SKILL.md · 18 lines

What it actually says

Use this skill when you need to check for Rust compile errors.

How to use:

  1. Run cargo check in the project root
  2. Analyze the output for errors and warnings
  3. Fix any issues found

Example:

cargo check --all-targets

This skill is part of the rust-toolkit plugin.

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. 4d ago First seen · 18 lines · 15 tokens per session scan A 9338c8f558d4

Subscribe to this mod's changes

rust-check is a skill published in the GitHub repository Hmbown/CodeWhale (40,889 stars, last pushed yesterday), licensed MIT. It adds 15 tokens to every session and 97 once invoked, about $0.0001 per session on Opus 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.

Related

Other skills, from other repositories

write-documentation

Write and format Rust documentation correctly. Apply proactively when writing code with rustdoc comments (//! or ///). Covers voice & tone, prose style (opening lines, explicit subjects, verb tense), structure (inverted pyramid), intra-doc links (crate:: paths, reference-style), constant conventions (binary/byte…

r3bl-org/r3bl-open-core · 102 tokens

organize-modules

Apply private modules with public re-exports (barrel export) pattern for clean API design. Includes conditional visibility for docs and tests. Use when creating modules, organizing mod.rs files, or before creating commits.

r3bl-org/r3bl-open-core · 47 tokens

check-bounds-safety

Apply type-safe bounds checking patterns using VPIndex/VPLength types instead of usize. Use when working with arrays, buffers, cursors, viewports, or any code that handles indices and lengths.

r3bl-org/r3bl-open-core · 46 tokens

check-code-quality

Run comprehensive Rust code quality checks including compilation, linting, documentation, and tests. Use after completing code changes and before creating commits.

r3bl-org/r3bl-open-core · 31 tokens

run-clippy

Run clippy linting, enforce comment punctuation rules, format code with cargo fmt, and verify module organization patterns. Use after code changes and before creating commits.

r3bl-org/r3bl-open-core · 36 tokens

release-crate

Publish a crate release to crates.io with changelog, git tag, and GitHub release. Use when releasing a new version of any workspace crate.

r3bl-org/r3bl-open-core · 34 tokens