e2e-test

e2e-test is a skill for Claude Code, Codex from nwiizo/cargo-coupling. It costs 0 tokens per session (468 once invoked), scanned C, original, MIT.

An end-to-end testing helper for the cargo-coupling Rust project. End-to-end tests check a feature through its complete workflow rather than testing one function in isolation.

In plain words
What is it for?
Use it to create a temporary Rust test project and run comprehensive command-line checks for cargo-coupling.
Why use it?
It provides repeatable checks for nested module paths, test exclusion, JSON output, and summary output.

Skill for Claude CodeCodex

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/nwiizo/cargo-coupling/e2e-test
Any agent
npx skills add nwiizo/cargo-coupling --skill e2e-test
Clone the repo
git clone --depth 1 https://github.com/nwiizo/cargo-coupling

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 e2e-test

README.md
[![agentmods](https://agentmods.dev/badge/skills/nwiizo/cargo-coupling/e2e-test.svg)](https://agentmods.dev/skills/nwiizo/cargo-coupling/e2e-test)
Your own site
<a href="https://agentmods.dev/skills/nwiizo/cargo-coupling/e2e-test"><img src="https://agentmods.dev/badge/skills/nwiizo/cargo-coupling/e2e-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 468 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00468
Opus 5 $0.00000 $0.00234
Sonnet 5 $0.00000 $0.00094
Haiku 4.5 $0.00000 $0.00047

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

Security

Grade C, and why

e2e-test scanned grade C 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 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf /tmp/e2e-test-cargo-coupling
.claude/skills/e2e-test/SKILL.md · 70 lines

What it actually says

E2E Test - End-to-End テスト (project)

Run comprehensive E2E tests for cargo-coupling functionality.

Test Execution

# Create test project
rm -rf /tmp/e2e-test-cargo-coupling
mkdir -p /tmp/e2e-test-cargo-coupling/src/level/enemy

# Create Cargo.toml
cat > /tmp/e2e-test-cargo-coupling/Cargo.toml << 'EOF'
[package]
name = "e2e-test-project"
version = "0.1.0"
edition = "2021"
EOF

# Create test files (lib.rs, level/mod.rs, level/projectile.rs, etc.)
# Then run tests

Test Cases

1. Nested Module Paths (Issue #14)

cargo run -- coupling /tmp/e2e-test-cargo-coupling/src 2>&1 | grep -E "level::enemy::spawner"
# Expected: Module name shows full path, not just "spawner"

2. --exclude-tests (Issue #13)

cargo run -- coupling --exclude-tests /tmp/e2e-test-cargo-coupling/src
# Expected: Test functions excluded from counts

3. JSON Output

cargo run -- coupling --json /tmp/e2e-test-cargo-coupling/src | jq .
# Expected: Valid JSON output

4. Summary Mode

cargo run -- coupling --summary /tmp/e2e-test-cargo-coupling/src
# Expected: Compact summary output

Verification Checklist

Test Expected Status
Nested module paths level::enemy::spawner
lib.rs module name lib or empty
mod.rs module name Parent directory name
--exclude-tests Test functions excluded
JSON output Valid JSON
--summary Summary only

Quick Test

# Run all unit tests first
cargo test --all-features

# Then run E2E
cargo run -- coupling ./src
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 70 lines · 0 tokens per session scan C 6ad1ee653732

Subscribe to this mod's changes

e2e-test is a skill published in the GitHub repository nwiizo/cargo-coupling (96 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 468 tokens. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-01.