crate-ops

crate-ops is a skill for Claude Code, Codex from vinhnx/VTCode. It costs 62 tokens per session (945 once invoked), scanned A, original, Apache-2.0.

A workflow for safely changing Rust crates, which are Rust code packages, and checking each affected package on its own.

In plain words
What is it for?
It helps update Cargo.toml files, move code between crates, gate modules behind features, and verify builds in local, CI, and cargo publish scenarios.
Why use it?
A Rust workspace can hide missing features or dependencies because shared build settings make code compile together while failing alone or during publishing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents); mentions AGENTS.md.

Good fit It helps update Cargo.toml files, move code between crates, gate modules behind features, and verify builds in local, CI, and cargo publish scenarios.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vinhnx/vtcode/crate-ops
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 vinhnx/VTCode --skill crate-ops
Clone the repo
git clone --depth 1 https://github.com/vinhnx/VTCode

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 crate-ops

README.md
[![agentmods](https://agentmods.dev/badge/skills/vinhnx/vtcode/crate-ops/github.svg)](https://agentmods.dev/skills/vinhnx/vtcode/crate-ops)
Your own site
<a href="https://agentmods.dev/skills/vinhnx/vtcode/crate-ops"><img src="https://agentmods.dev/badge/skills/vinhnx/vtcode/crate-ops/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 crate-ops

Your own site · 80×15
<a href="https://agentmods.dev/skills/vinhnx/vtcode/crate-ops"><img src="https://agentmods.dev/badge/skills/vinhnx/vtcode/crate-ops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 945 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.
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.00062 $0.00945
Opus 5.5 $0.00025 $0.00378
Sonnet 5.5 $0.00012 $0.00189
Haiku 4.5 $0.00006 $0.00094

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

Security

Grade A, and why

crate-ops 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 2d 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.

.agents/skills/crate-ops/SKILL.md · 57 lines

How it starts

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

Crate Ops

Any harness (Muse, Claude Code, Codex, VT Code, human) can run this workflow. It is the procedure, not the runner: a Muse executable version lives at .agents/workflows/crate-ops.js, but the steps below are the source of truth.

The core trap: feature-unification masking

A workspace-wide build (cargo check, ./scripts/check-dev.sh) unifies features across all default members. A crate can compile there while its own manifest is broken: a missing features = ["..."] declaration only surfaces when the crate builds alone (cargo check -p <crate>), in a restricted CI command, or during cargo publish verification (which rebuilds the packaged tarball). Real case: vtcode depended on vtcode-core with default-features = false and no explicit tui, so the binary failed with 145 errors everywhere except the default workspace build.

Workflow

1. Orient

  • Read root AGENTS.md and each touched crate's AGENTS.md.
  • Read the touched manifests plus every dependent's declaration of the changed crate (grep -rn '<crate-name>' --include=Cargo.toml crates/ Cargo.toml, excluding target/).
  • Check git log on the manifests for intent behind default-features = false or version pins.

2. Reproduce in isolation

Reproduce with the crate alone, never with a workspace-wide build:

cargo check --locked -p <crate>

Match the failure against the reported one (same crate, same error class/count) before changing anything.

3. Fix

  • Keep changes surgical: only touch files the change owns.
  • When a crate needs an optional feature of a dependency, declare it explicitly on that dependency edge. Precedent (fuzz/Cargo.toml, root Cargo.toml): vtcode-core = { path = "...", version = "...", default-features = false, features = ["tui"] }
  • Keep path+version on all workspace path dependencies; never rely on unification from other members.
  • Follow repo rules: anyhow::Result with context, no unwrap/expect/panic in production code, workspace lints apply. Do not commit unless asked.

Read the full file on GitHub · 57 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. 2d ago First seen · 57 lines · 62 tokens per session scan A cb8042f24fea

Subscribe to this mod's changes

crate-ops is a skill published in the GitHub repository vinhnx/VTCode (907 stars, last pushed yesterday), licensed Apache-2.0. It adds 62 tokens to every session and 945 once invoked, about $0.0002 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-11-11.

Related

crate-ops compared with skills from other repositories

crate-ops next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
crate-opsvinhnx/VTCodeSkill907yesterdayApache-2.0A62Claude Code, Codex
uniflyhyperb1iss/uniflySkill2766d agoApache-2.0A63Claude Code
uniflyhyperb1iss/uniflySkill2766d agoApache-2.0A63Claude Code
rust-doctorarthjean/rust-doctorSkill234d agoApache-2.0A49Claude Code, Codex
ratatui-tuistyrene-lab/omegonSkill48todaynoneA38Claude Code, Codex
m07-concurrencykikakkz/wait-agentSkill242d agononeA75Claude Code
rust-learnerkikakkz/wait-agentSkill242d agononeA123Claude Code