cargo-build

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

A task guide for building Rust projects with Cargo, Rust’s standard build and package tool.

In plain words
What is it for?
It helps compile a Rust project with cargo build or create an optimized release build with cargo build --release.
Why use it?
It gives the coding agent the exact commands for normal and release builds and a way to respond when compilation fails.

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-build
Any agent
npx skills add rootwarp/claude-code-plugins-monorepo --skill cargo-build
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-build

README.md
[![agentmods](https://agentmods.dev/badge/skills/rootwarp/claude-code-plugins-monorepo/cargo-build.svg)](https://agentmods.dev/skills/rootwarp/claude-code-plugins-monorepo/cargo-build)
Your own site
<a href="https://agentmods.dev/skills/rootwarp/claude-code-plugins-monorepo/cargo-build"><img src="https://agentmods.dev/badge/skills/rootwarp/claude-code-plugins-monorepo/cargo-build.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 57 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.00057
Opus 5 $0.00000 $0.00028
Sonnet 5 $0.00000 $0.00011
Haiku 4.5 $0.00000 $0.00006

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

Security

Grade A, and why

cargo-build 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-build/SKILL.md · 20 lines

What it actually says

/cargo-build

Build the Rust project.

Instructions

Run the Cargo build command to compile the project:

cargo build

For release builds:

cargo build --release

If there are build 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 · 20 lines · 0 tokens per session scan A 78eb4ec31173

Subscribe to this mod's changes

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

Related

Other skills, from other repositories

rust-safety

写 Rust 时使用。所有权、错误处理、unsafe 的正确实践。.

Wade-DevCode/awesome-coding-skills-cn · 20 tokens

rust-patterns

Idiomatic Rust patterns, ownership, error handling, traits, concurrency, and best practices for building safe, performant applications.

majiang213/OpenClaw-MAS · 28 tokens

wasm-edge-computing-expert

Expert guide for WebAssembly (WASM) and Edge Computing. Covers WASI preview 2, Spin/Fermyon, Cloudflare Workers WASM, and high-performance browser computing / Panduan ahli untuk WebAssembly (WASM) dan Edge Computing. Mencakup WASI preview 2, Spin/Fermyon, Cloudflare Workers WASM, dan komputasi performa tinggi di…

roedyrustam/vibes-plug · 91 tokens

deno-frontend

Use when building a web frontend with Deno — running React, Vite, Astro, SvelteKit, Next.js, Nuxt or other npm frameworks under Deno, or working with Fresh, Deno's own island-architecture framework. Covers which path to pick, Fresh 2.x routes, handlers, islands, Preact signals, Tailwind, and Fresh 1.x to 2.x migration.

denoland/skills · 88 tokens

hermes-diagnostic-review

Use when running a read-only diagnostic review of recent Hermes sessions to find recurring mistakes, failed tool calls, and repeated fixes, then propose suggestion-only improvements and reusable skills. Human-gated; never auto-applies.

AtlasOmnia/hermes-custom-pack · 49 tokens

zcfg

Integrate zcfg (Zero Dependency Configuration Utility) into Java applications. Use when adding configuration loading, reading properties files, setting up application configuration, or integrating zcfg into a Java project. Triggers on "zcfg", "add configuration", "load properties", "application configuration with…

AdamBien/airails · 75 tokens