cargo-knowledge-patch

cargo-knowledge-patch is a skill for Claude Code from Nevaberry/nevaberry-plugins. It costs 7 tokens per session (2,421 once invoked), scanned A, original, MIT.

A reference guide for changing Rust project configuration and dependency workflows with Cargo, Rust's build and package manager. It covers manifests, lockfiles, workspaces, publishing, scripts, and unstable Cargo features.

In plain words
What is it for?
Use it when editing Cargo files, dependencies, workspaces, builds, packaging, publishing settings, scripts, or unstable Cargo options.
Why use it?
Cargo behavior depends on the installed toolchain and project configuration, and older commands or settings may no longer apply. The guide helps inspect those details before making changes and testing them.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the knowledge-patch plugin — 197 skills, 1 hook shipped together

Good fit Use it when editing Cargo files, dependencies, workspaces, builds, packaging, publishing settings, scripts, or unstable Cargo options.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nevaberry/nevaberry-plugins/cargo-knowledge-patch
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.

Any agent
npx skills add Nevaberry/nevaberry-plugins --skill cargo-knowledge-patch
Clone the repo
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins

Made for: Claude Code.

Or install knowledge-patch, the plugin that ships this one along with the rest of its 197 skills, 1 hook.

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-knowledge-patch

README.md
[![agentmods](https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/cargo-knowledge-patch/github.svg)](https://agentmods.dev/skills/nevaberry/nevaberry-plugins/cargo-knowledge-patch)
Your own site
<a href="https://agentmods.dev/skills/nevaberry/nevaberry-plugins/cargo-knowledge-patch"><img src="https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/cargo-knowledge-patch/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.

agentmods 80×15 button for cargo-knowledge-patch

Your own site · 80×15
<a href="https://agentmods.dev/skills/nevaberry/nevaberry-plugins/cargo-knowledge-patch"><img src="https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/cargo-knowledge-patch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,421 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 77
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.1 $0.00007 $0.02421
Opus 5.5 $0.00003 $0.00968
Sonnet 5.5 $0.00001 $0.00484
Haiku 4.5 $0.00001 $0.00242

Measured today against content hash f6c86c2f274c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cargo-knowledge-patch 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 today.

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/knowledge-patch/patches-claude/cargo-knowledge-patch/SKILL.md · 205 lines

How it starts

The opening of the file, as written. The whole thing — 205 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cargo knowledge patch

Use this skill when changing Cargo manifests or configuration, upgrading build automation, publishing workspace packages, or working with Cargo's nightly features. Read the relevant topic reference for version-specific behavior and examples.

Topic references

Reference Topics
Upgrades and compatibility Extraction security, runtime libraries, manifest compatibility, automatic fixes, removed options, lockfile formats
Configuration, networking, and cache Includes, precedence, relative paths, jobs, TLS, SSH, Git fetching, cache cleanup, terminal output
Builds, targets, and artifacts Host and custom targets, compiler flags, linking, build directories, cleanup, tests, documentation
Packaging, publishing, and registries Workspace publication, archive contents, VCS checks, credentials, registry protocols, installation
Scripts, build scripts, and subcommands Embedded manifests, script paths, build-script environment and metadata, completion, JSON output, Cargo library APIs
Unstable analysis, lints, and build controls Warning policy, Cargo lints, timing reports, build analysis, standard-library builds, compiler controls, SBOMs
Workspaces, dependencies, and metadata Feature unification, dependency trees, patches, metadata, lockfile relocation, updates, cooldowns, vendoring

Upgrade and migration checks

On Unix-like systems, use a toolchain patched for both crate-extraction vulnerabilities that can change permissions outside the extraction directory: CVE-2026-33055 and CVE-2026-33056. Official Rust-distribution Cargo binaries require libatomic on 32-bit platforms; Cargo depends on OpenSSL 3.

Read the full file on GitHub · 205 lines

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. today Changed · -14 lines f6c86c2f274c
  2. 3mo ago First seen · 219 lines · 7 tokens per session scan A de0f99747d9d

Subscribe to this mod's changes

cargo-knowledge-patch is a skill published in the GitHub repository Nevaberry/nevaberry-plugins (25 stars, last pushed yesterday), licensed MIT. It adds 7 tokens to every session and 2,421 once invoked, about $0.0000 per session on Opus 5.5. 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-30.

Related

cargo-knowledge-patch compared with skills from other repositories

cargo-knowledge-patch next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cargo-knowledge-patchNevaberry/nevaberry-pluginsSkill25yesterdayMITA7Claude Code
rust-network-modulefakoli/fakoli-pluginsSkill43d agoMITA43Claude Code, Codex
omh-rustrlaope/oh-my-hermesSkill6.2ktodayMITA19Claude Code
cloudflare-workers-multi-langsecondsky/claude-skillsSkill2572d agoMITA45Claude Code
rust-systemsWrongStack/WrongStackSkill447todayMITA93Claude Code
agent-rust-experttravisjneuman/.claudeSkill115todayMITA85Claude Code
rust-ops0xDarkMatter/claude-modsSkill868d agoMITA85Claude Code