Agent skill

Cargo Coupling

by nwiizo in nwiizo/cargo-coupling

Explain cargo-coupling CLI options and .coupling.toml configuration.

MITAuto-check passedTesting & QA

Install Cargo Coupling

skills CLI
$ npx skills add nwiizo/cargo-coupling --skill cargo-coupling -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install nwiizo/cargo-coupling cargo-coupling --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/nwiizo/cargo-coupling.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/cargo-coupling .claude/skills/cargo-coupling && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cargo-coupling
GitHub stars
111
Token cost
~290 tokens
SKILL.md length
118 words
Files
2
Skills in repo
12
Repo updated
First seen
Licence
MIT

At a glance

Explain cargo-coupling CLI options and .coupling.toml configuration.

  • Setup questions
  • Calls cargo

What it does

Cargo Coupling is an agent skill from nwiizo/cargo-coupling. Explain cargo-coupling CLI options and .coupling.toml configuration. Use for command or setup questions.

Its SKILL.md is about 290 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `commands.md`).

It sits in Testing & QA. The repository describes itself as: A coupling analysis tool for Rust projects - measuring the 'right distance' in your code. The licence is MIT.

When your agent uses it

  • Setup questions

Example prompts

  • “/cargo-coupling”

What it can do on your machine

Read from SKILL.md and the folder at commit aa0d18b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • cargo

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cargo Coupling loads about 290 tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 118 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~30
When it runs · the whole SKILL.md, loaded when a task matches
~290

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from nwiizo/cargo-coupling at commit aa0d18b, republished under its MIT licence (© nwiizo). 118 words, ~290 tokens.

Download SKILL.mdSave it as .claude/skills/cargo-coupling/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
cargo-coupling
description
Explain cargo-coupling CLI options and .coupling.toml configuration. Use for command or setup questions.

cargo-coupling CLI Guidance

Answer the requested command or configuration question with the smallest useful example. Run commands from this repository; an external project is the analysis path, not the directory from which to run this package's cargo run.

bash
rtk proxy cargo run -- coupling --help
  • Read commands.md for examples of analysis modes and configuration.
  • Use analyze when asked to run and interpret an analysis.
  • Use web when asked to launch the visualization.

Check current help and CLI definitions for precise flag behavior. For configuration precedence or pattern matching, inspect config.rs and the repository's .coupling.toml. Exclusion patterns are relative to the config directory; the config search starts at the analysis path and walks upward. Subdomains describe business-driven volatility and must not be relabeled to hide findings.

© nwiizo, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .claude/skills/cargo-coupling of nwiizo/cargo-coupling.

  • SKILL.md
  • commands.md

Open the folder on GitHubat commit aa0d18b

Compare with similar skills

Cargo Coupling next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cargo Coupling compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cargo Coupling this skillnwiizo/cargo-coupling111—~290Automated safety check: PassMIT
Web Application Testinganthropics/skills180k51 repos~966Automated safety check: PassApache-2.0
Diagnosing Bugsfossasia/eventyay-interpretation1.6k32 repos~2.1kAutomated safety check: PassApache-2.0
TDDpietheinstrengholt/rssmonster56430 repos~906Automated safety check: PassMIT
TDD WorkflowhellangleZ/burn-in-cceverywhere-ralph11211 repos~2.4kAutomated safety check: PassNone
TDDsanity-io/sanity6.4k20 repos~1kAutomated safety check: PassMIT

Similar skills

  • Web Application Testing

    anthropics/skills

    Official

    Tests local web applications with Python Playwright scripts, checking frontend behavior, capturing screenshots and reading browser console logs.

    180k GitHub starsUsed in 51 repos~966 tokens
    Testing & QAAuto-check passed
  • Diagnosing Bugs

    fossasia/eventyay-interpretation

    Diagnosis loop for hard bugs and performance regressions. An agent skill from fossasia/eventyay-interpretation.

    1.6k GitHub starsUsed in 32 repos~2.1k tokens
    Testing & QAAuto-check passed
  • TDD

    pietheinstrengholt/rssmonster

    Test-driven development. An agent skill from pietheinstrengholt/rssmonster.

    564 GitHub starsUsed in 30 repos~906 tokens
    Testing & QAAuto-check passed
  • TDD Workflow

    hellangleZ/burn-in-cceverywhere-ralph

    A skill your agent uses when writing new features, fixing bugs, or refactoring code.

    112 GitHub starsUsed in 11 repos~2.4k tokens
    Testing & QAAuto-check passed
  • TDD

    sanity-io/sanity

    Official

    Test-driven development with red-green-refactor loop. An agent skill from sanity-io/sanity.

    6.4k GitHub starsUsed in 20 repos~1k tokens
    Testing & QAAuto-check passed
  • Context Driven Development

    Ibrahim-3d/orchestrator-supaconductor

    A skill your agent uses when working with Conductor's context-driven development methodology, managing project context artifacts, or understanding the relationship between product.md, tech-stack.md…

    381 GitHub starsUsed in 9 repos~2.9k tokens
    Testing & QAAuto-check passed

More from nwiizo/cargo-coupling

All 12 skills in this repo
  • Balanced Coupling

    nwiizo/cargo-coupling

    Interpret cargo-coupling findings using Khononov's strength, distance, and volatility model.

    111 GitHub stars~516 tokensUpdated today
    Auto-check passed
  • Release

    nwiizo/cargo-coupling

    Prepare or publish a cargo-coupling version when the user requests a release.

    111 GitHub stars~491 tokensUpdated today
    Auto-check passed
  • Analyze

    nwiizo/cargo-coupling

    Run cargo-coupling and interpret a Rust project's coupling report, history, or baseline diff.

    111 GitHub stars~354 tokensUpdated today
    Auto-check passed
  • Check Balance

    nwiizo/cargo-coupling

    Check a Rust project's coupling health summary or run a requested CI quality gate.

    111 GitHub stars~307 tokensUpdated today
    Auto-check passed
  • Hotspots

    nwiizo/cargo-coupling

    Rank a Rust project's refactoring candidates using cargo-coupling hotspot results.

    111 GitHub stars~260 tokensUpdated today
    Auto-check passed
  • Mutants

    nwiizo/cargo-coupling

    Run cargo-mutants on selected Rust code and investigate gaps in tests revealed by surviving mutations.

    111 GitHub stars~414 tokensUpdated today
    Auto-check: notes

Categories

Questions about Cargo Coupling

What does Cargo Coupling do?

Explain cargo-coupling CLI options and .coupling.toml configuration. Cargo Coupling is an agent skill from nwiizo/cargo-coupling.toml configuration.

When should I use Cargo Coupling?

Cargo Coupling fits situations like: setup questions.

How do I install Cargo Coupling in Claude Code?

Run `npx skills add nwiizo/cargo-coupling --skill cargo-coupling -a claude-code`. Or copy the skill folder (.claude/skills/cargo-coupling in nwiizo/cargo-coupling) into .claude/skills/cargo-coupling in your project. Claude Code loads it when a task matches its description.

How do I install Cargo Coupling in Codex?

Run `npx skills add nwiizo/cargo-coupling --skill cargo-coupling -a codex`. Or copy the skill folder (.claude/skills/cargo-coupling in nwiizo/cargo-coupling) into .agents/skills/cargo-coupling in your project. Codex loads it when a task matches its description.

Can I use Cargo Coupling in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add nwiizo/cargo-coupling --skill cargo-coupling -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cargo-coupling, .gemini/skills/cargo-coupling, .github/skills/cargo-coupling and .opencode/skills/cargo-coupling in your project.

What does Cargo Coupling need to run?

Going by SKILL.md and its folder, Cargo Coupling needs the command-line tools its instructions call (cargo).

Does Cargo Coupling access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Cargo Coupling safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cargo Coupling use?

Cargo Coupling is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cargo Coupling use?

About 290 tokens (SKILL.md is roughly 1.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Cargo Coupling?

Skills that share tags, products or a category with Cargo Coupling: Web Application Testing (anthropics/skills, 180k stars), Diagnosing Bugs (fossasia/eventyay-interpretation, 1.6k stars), TDD (pietheinstrengholt/rssmonster, 564 stars) and TDD Workflow (hellangleZ/burn-in-cceverywhere-ralph, 112 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cargo Coupling?

nwiizo (a GitHub user) maintains it in nwiizo/cargo-coupling, which has 111 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 9, 2026.

Source: nwiizo/cargo-coupling on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.