cargo-test

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

Instructions for running tests in a Rust project, including all tests, detailed output, or one named test.

In plain words
What is it for?
It is for running Rust tests, displaying test output, testing a specific case, and reviewing failed results.
Why use it?
It provides a standard way to check whether Rust code works and to investigate failures.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/rootwarp/claude-code-plugins-monorepo/cargo-test.svg)](https://agentmods.dev/skills/rootwarp/claude-code-plugins-monorepo/cargo-test)
Your own site
<a href="https://agentmods.dev/skills/rootwarp/claude-code-plugins-monorepo/cargo-test"><img src="https://agentmods.dev/badge/skills/rootwarp/claude-code-plugins-monorepo/cargo-test.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 75 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.00075
Opus 5 $0.00000 $0.00037
Sonnet 5 $0.00000 $0.00015
Haiku 4.5 $0.00000 $0.00007

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

Security

Grade A, and why

cargo-test 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 3d 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-test/SKILL.md · 26 lines

What it actually says

/cargo-test

Run tests for the Rust project.

Instructions

Run tests with output:

cargo test

For verbose output showing test names:

cargo test -- --nocapture

To run a specific test:

cargo test <test_name>

If tests fail, analyze the failures 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. 3d ago First seen · 26 lines · 0 tokens per session scan A 56f305117c83

Subscribe to this mod's changes

cargo-test 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 75 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

zunit

Generate and run zunit tests for java-cli-app projects. Use when asked to create tests, write tests, add tests, or generate test files for a java-cli-app project. Triggers on "zunit", "write tests", "create tests", "add tests", "test this", "generate tests", or requests to test a java-cli-app application. Also trigger…

AdamBien/airails · 111 tokens

verify

Run ACN's full Rust verification — formatting, Clippy, tests, and type checking — plus the canonical tmux smoke test when interactive TUI behavior is affected.

FTShare-Lab/agent-claim-network · 36 tokens

continuous-testing

Continuous test-driven development loop — after every code change, builds the project, starts the server, and runs Unit Tests, Integration Tests, and System Tests. Applies on top of microprofile-server skill. Use during development when you want full verification after each change. Triggers on "continuous testing"…

AdamBien/airails · 84 tokens

zephyr-testing

Comprehensive guidance for unit testing and integration testing Zephyr RTOS applications. Use this skill when you need to: (1) Create test suites using the Ztest framework, (2) Write test cases with fixtures, assertions, and expectations, (3) Configure testcase.yaml for Twister test runner, (4) Mock functions using…

ksachdeva/zephyr-rtos-ai · 112 tokens

rust-safety

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

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

test-gen

Generate test cases from type constraints and specs. Creates boundary tests, edge cases, and fixtures automatically. Pact-lang inspired. Triggers on: generate tests, test from spec, create fixtures, boundary tests.

chidekina/aria-superpowers · 44 tokens