Skip to content
Agentmart
Submit a tool

cargo

Use when initializing Rust projects or modifying Cargo.toml, Cargo.lock, cargo config, or other cargo-related files.

Skill by szokeasaurusrex

IndexedMIT★ 2
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/szokeasaurusrex-cargo

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when initializing Rust projects or modifying Cargo.toml, Cargo.lock, cargo config, or other cargo-related files. Prefer this skill for dependency changes, features, package metadata, workspaces, and cargo commands. Do not load it for editing Rust source code generally.

Use cases: writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/cargo

What's inside

Skill name
cargo
Description
Use when initializing Rust projects or modifying Cargo.toml, Cargo.lock, cargo config, or other cargo-related files. Prefer this skill for dependency changes, features, package metadata, workspaces, and cargo commands. Do not load it for editing Rust source code generally.
License
MIT
Instructions
44 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Cargo

Prefer `cargo` commands over manual edits to `Cargo.toml`, `Cargo.lock`, and other cargo-related files.

## Workflow

1. Use `cargo` for project setup and manifest changes whenever possible.
2. If you need an operation not listed here, inspect `cargo help` or the relevant subcommand help, for example `cargo help add` or `cargo help init`.
3. Edit cargo-related files manually only after you fail to find a `cargo` command that achieves the needed outcome.

## Examples

Initialize a new project:

```bash
cargo init
cargo init --lib
cargo new my-crate
cargo new my-crate --lib
```

Add dependencies:

```bash
cargo add serde
cargo add tokio --dev
cargo add anyhow --build
```

Enable dependency features:

```bash
cargo add serde --features derive
cargo add tokio --features rt-multi-thread,macros
cargo add reqwest --no-default-features --features json,rustls-tls
```

Remove a dependency:

```bash
cargo remove serde
```

From szokeasaurusrex/pi-agent, MIT.

More from szokeasaurusrex/pi-agent

Signals

Stars
2
Forks
0
Open issues
0
Last commit (this folder)
May 11, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from szokeasaurusrex

Cite this page

cargo skill. Agent Mart. https://agentmart.dev/skills/szokeasaurusrex-cargo (last updated 2026-10-24)