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.
npx skills add G1Joshi/Agent-Skills --skill cargogit clone --depth 1 https://github.com/G1Joshi/Agent-SkillsWrote 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.
[](https://agentmods.dev/skills/g1joshi/agent-skills/cargo)<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.
<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>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00036 | $0.01024 |
| Opus 5.5 | $0.00014 | $0.00410 |
| Sonnet 5.5 | $0.00007 | $0.00205 |
| Haiku 4.5 | $0.00004 | $0.00102 |
Grade B, and why
cargo scanned grade B 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 22d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
| `linking with cc failed: exit code: 1` | Missing linker or C toolchain on host system. | Install build essentials: `sudo apt-get install build-essential`. | How it starts
The opening of the file, as written. The whole thing — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cargo
Cargo is Rust's build system and package manager. It is famous for its reliability and developer experience.
When to Use
- Rust Dependency & Build Management: Compiling, building, packaging, and publishing Rust packages and crates.
- Workspace Multi-Crate Architectures: Managing monorepos with shared dependencies and unified lockfiles.
- Continuous Integration & Static Analysis: Running
cargo test,cargo clippy,cargo fmt, andcargo audit. - Release Optimization & Cross-Compilation: Building stripped, LTO-optimized release binaries for production.
Quick Start
cargo new my-project
cd my-project
cargo run
# Cargo.toml
[dependencies]
serde = "1.0"
Core Concepts
Cargo Workspace Configuration (Cargo.toml)
Managing multiple interdependent crates in a monorepo:
# /Cargo.toml (Workspace Root)
[workspace]
members = [
"crates/api-server",
"crates/core-domain",
"crates/db-migrations",
]
resolver = "2"
[workspace.dependencies]
tokio = { version = "1.40", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tracing = "0.1"
thiserror = "1.0"
[profile.release]
opt-level = 3
lto = "fat" # Link-time optimization
codegen-units = 1 # Maximize optimizations across units
panic = "abort" # Eliminate unwinding code overhead
strip = true # Automatically strip symbols from binary
High-Speed Testing, Benchmarking & Lints
Automating quality checks in CI/CD pipelines:
# Format check
cargo fmt --all -- --check
# Clippy linter with strict warning enforcement
cargo clippy --all-targets --all-features -- -D warnings
# Execute all workspace unit and integration tests in parallel
cargo test --workspace --all-features
# Security audit against RustSec advisory database
cargo audit
Adding and Managing Dependencies
Adding pinned crates with specific feature sets:
# Add dependency with targeted features
cargo add tokio --features full
cargo add serde --features derive
cargo add axum --features ws
# Update dependencies adhering to SemVer
cargo update
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.
- 22d ago Changed · +5 lines fce33a9d1dfa
- 26d ago Changed · +74 lines · +21 tokens per session scan A → B 432fe812a434
- 1mo ago First seen · 59 lines · 15 tokens per session scan A c41d217931ec
cargo is a skill published in the GitHub repository G1Joshi/Agent-Skills (15 stars, last pushed 22d ago), licensed MIT. It adds 36 tokens to every session and 1,024 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
test-driven-development
Drives development with tests using the red-green-refactor loop. Use when implementing any logic, fixing any bug, or changing any behavior. Use when you need to prove that code works, when a bug report arrives, or when you're about to modify existing functionality. Use when asked to add tests to a function, fix a bug…
browser-testing-with-devtools
Tests in real browsers via Chrome DevTools MCP. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data. Requires the chrome-devtools MCP server to be…
rust-programming-expert
Expert-level skill for Rust programming (Rust 2024 / v1.88+). Covers memory safety, Grounded Permissions Model (R/W/O/F), async Axum 0.8/SQLx, CLI, and zero-cost optimization in English and Indonesian.
tauri-expert
Expert guide for Tauri 2.x / 2.12+ cross-platform desktop and mobile development: Rust 1.90+ MSRV, IPC Channel streaming, onpermissionrequest handlers, App-Bound domains, and Capabilities security / Panduan ahli pengembangan desktop dan mobile Tauri 2.x / 2.12+.
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…
test-driven-development
Red-green-refactor cycle with meaningful coverage. Tests are written before implementation. Coverage is a side effect of good tests, not the goal.