cargo

cargo is a skill for Claude Code, Codex from G1Joshi/Agent-Skills. It costs 15 tokens per session (300 once invoked), scanned A, original, MIT.

Rust's package manager and build tool. It downloads Rust libraries, compiles projects, runs tests, formats code, and manages groups of packages in one repository.

In plain words
What is it for?
It is for creating Rust projects, adding crates, checking and compiling code, running tests, formatting, linting, and managing Rust workspaces.
Why use it?
It puts dependency versions and common development tasks in a standard workflow, helping projects build consistently across machines.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for creating Rust projects, adding crates, checking and compiling code, running tests, formatting, linting, and managing Rust workspaces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/g1joshi/agent-skills/cargo
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 G1Joshi/Agent-Skills --skill cargo
Clone the repo
git clone --depth 1 https://github.com/G1Joshi/Agent-Skills

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 cargo

README.md
[![agentmods](https://agentmods.dev/badge/skills/g1joshi/agent-skills/cargo/github.svg)](https://agentmods.dev/skills/g1joshi/agent-skills/cargo)
Your own site
<a href="https://agentmods.dev/skills/g1joshi/agent-skills/cargo"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/cargo/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.

agentmods 80×15 button for cargo

Your own site · 80×15
<a href="https://agentmods.dev/skills/g1joshi/agent-skills/cargo"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/cargo.svg" alt="Reviewed on agentmods" width="80" 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 300 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00015 $0.00300
Opus 5 $0.00008 $0.00150
Sonnet 5 $0.00003 $0.00060
Haiku 4.5 $0.00002 $0.00030

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

Security

Grade A, and why

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

skills/devops/cargo/SKILL.md · 59 lines

What it actually says

Cargo

Cargo is Rust's build system and package manager. It is famous for its reliability and developer experience.

When to Use

  • Rust Projects: Mandatory.
  • Formatting/Linting: cargo fmt, cargo clippy.
  • Testing: cargo test is built-in.

Quick Start

cargo new my-project
cd my-project
cargo run
# Cargo.toml
[dependencies]
serde = "1.0"

Core Concepts

Crates

Packages. Published to crates.io.

Cargo.lock

Ensures reproducible builds. Always commit for binaries, ignore for libraries.

Workspaces

Manage multiple packages in one repo. [workspace] in root Cargo.toml.

Best Practices (2025)

Do:

  • Use cargo check: Faster than build for checking syntax during dev.
  • Use clippy: Listen to the linter. It teaches you Rust.
  • Use cargo-deny: Scan dependency tree for licenses and bans.

Don't:

  • Don't bloat: Rust binaries can get huge. Use cargo-bloat to analyze size.

References

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. 5d ago First seen · 59 lines · 15 tokens per session scan A c41d217931ec

Subscribe to this mod's changes

cargo is a skill published in the GitHub repository G1Joshi/Agent-Skills (12 stars, last pushed 7mo ago), licensed MIT. It adds 15 tokens to every session and 300 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-09-03.

Related

Other skills, from other repositories

raspberry-pi-rust-embedded

Production-grade embedded Rust guidelines for Raspberry Pi (bare-metal nostd and Linux embedded std/rppal/embedded-hal). Use when developing low-latency hardware control apps, embedded Rust drivers, Linux GPIO/SPI/I2C/UART software, real-time interrupt handlers, and memory-safe hardware abstractions.

hamzabellouch/agent-skills · 72 tokens

tauri-rust-and-frontend-desktop

Architectural patterns, security IPC, performance optimization, native integration, and production best practices for building cross-platform desktop applications using Tauri (v2) and Rust with modern web frontends (React, Svelte, Vue). Use when designing, building, or optimizing Tauri desktop apps.

hamzabellouch/agent-skills · 68 tokens

Cargo Fuzz Testing

Fuzz testing for Rust applications using cargo-fuzz and libFuzzer to discover memory safety issues, panics, and undefined behavior.

PramodDutta/qaskills · 32 tokens

cargo-fuzz

Skill "cargo-fuzz" from Fodhol/skills, covering cargo-fuzz, when to use, quick start, edit fuzz/fuzztargets/fuzztarget1.rs with your harness and installation.

Fodhol/skills · 32 tokens

rust-engineer

Writes, reviews, and debugs idiomatic Rust code with memory safety and zero-cost abstractions. Implements ownership patterns, manages lifetimes, designs trait hierarchies, builds async applications with tokio, and structures error handling with Result/Option. Use when building Rust applications, solving ownership or…

eric861129/SKILLS_All-in-one · 120 tokens

temporal-python-testing

Test Temporal workflows with pytest, time-skipping, and mocking strategies. Covers unit testing, integration testing, replay testing, and local development setup. Use when implementing Temporal workflow tests or debugging test failures.

wshobson/agents · 45 tokens