cargo-check

cargo-check is a skill for Claude Code, Codex from rootwarp/claude-code-plugins-monorepo. It costs 0 tokens per session (81 once invoked), scanned A, original, MIT.

A quick Rust code check that looks for compilation errors without producing program binaries.

In plain words
What is it for?
Use it to run cargo check, or cargo check --all-targets when checking tests and examples as well.
Why use it?
It gives fast feedback about whether Rust code compiles while skipping the slower code-generation part of a full build.

Skill for Claude CodeCodex

Part of the rust plugin — 5 skills shipped together

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/rootwarp/claude-code-plugins-monorepo/cargo-check
Any agent
npx skills add rootwarp/claude-code-plugins-monorepo --skill cargo-check
Clone the repo
git clone --depth 1 https://github.com/rootwarp/claude-code-plugins-monorepo

Made for: Claude Code, Codex.

Or install rust, the plugin that ships this one along with the rest of its 5 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/rootwarp/claude-code-plugins-monorepo/cargo-check.svg)](https://agentmods.dev/skills/rootwarp/claude-code-plugins-monorepo/cargo-check)
Your own site
<a href="https://agentmods.dev/skills/rootwarp/claude-code-plugins-monorepo/cargo-check"><img src="https://agentmods.dev/badge/skills/rootwarp/claude-code-plugins-monorepo/cargo-check.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 81 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.00000 $0.00081
Opus 5 $0.00000 $0.00041
Sonnet 5 $0.00000 $0.00016
Haiku 4.5 $0.00000 $0.00008

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

Security

Grade A, and why

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

plugins/rust/skills/cargo-check/SKILL.md · 22 lines

What it actually says

/cargo-check

Quickly check Rust code for errors without producing binaries.

Instructions

Run cargo check for fast compilation checking:

cargo check

This is faster than cargo build as it skips code generation.

To check all targets including tests and examples:

cargo check --all-targets

If there are errors, analyze them and suggest fixes.

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 · 22 lines · 0 tokens per session scan A 35c4a5577984

Subscribe to this mod's changes

cargo-check is a skill published in the GitHub repository rootwarp/claude-code-plugins-monorepo (2 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 81 tokens. 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.