mdvs: Skill for Claude Code

.claude/skills/audit-fix/SKILL.md

audit-fix is a skill for Claude Code from edochi/mdvs. It costs 88 tokens per session (2,522 once invoked), scanned A, original, MIT.

A workflow for diagnosing and fixing failed Rust dependency-audit checks, including security advisories, withdrawn packages, unmaintained crates, licence problems, and banned dependencies. Rust is a programming language, and a crate is one of its packages.

In plain words
What is it for?
Use it when cargo audit or cargo deny fails, when a RustSec advisory appears, or when an audit workflow turns a pull request red.
Why use it?
It helps restore failed local or continuous-integration checks with a small dependency update or an explicitly documented exception. Continuous integration automatically runs project checks for changes.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: positional $N argument; mentions AGENTS.md.

This is edochi/mdvs's own configuration. It tells Claude Code how to work on mdvs itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mdvs configures →

Reuse

Borrowing it

Nothing to install: this file belongs to edochi/mdvs. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/edochi/mdvs/main/.claude/skills/audit-fix/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/edochi/mdvs

Made for: Claude Code.

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 audit-fix

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/edochi/mdvs/audit-fix"><img src="https://agentmods.dev/badge/skills/edochi/mdvs/audit-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,522 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00088 $0.02522
Opus 5.5 $0.00035 $0.01009
Sonnet 5.5 $0.00018 $0.00504
Haiku 4.5 $0.00009 $0.00252

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

Security

Grade A, and why

audit-fix scanned grade A 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 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -A "$UA" "https://crates.io/api/v1/crates/$1/$2/dependencies" \
.claude/skills/audit-fix/SKILL.md · 229 lines

How it starts

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

Audit Fix

.github/workflows/audit.yml runs cargo audit then cargo deny check every Monday at 06:00 UTC. ci.yml runs the same two commands on every PR, so a new advisory turns every open PR red at once, whatever code it touches. Fix it fast, in a minimal PR that merges first.

Precedents: PR #68, #72, #76.

Conventions

What Pattern
Branch fix/audit-YYYY-MM-DD
PR title / commit (1) fix(deps): bump <crate> to <version> for RUSTSEC-YYYY-NNNN
PR title / commit (2+) fix(deps): bump <crate> to <version> for <N> RustSec advisories
Several crates fix(deps): bump <crate-a> and <crate-b> for <N> RustSec advisories
  • Date is the UTC date of the failed run (gh run list shows it). If the failure was found locally or in PR CI with no scheduled run, use the date it was first seen. If that branch already exists, append -2.
  • Ignore-only fixes (no patched version exists): fix(deps): ignore RUSTSEC-YYYY-NNNN (<crate>, no fix available).
  • Always ask the user before creating the branch (AGENTS.md).

Workflow

1. Diagnose the run

gh run list --workflow Audit --limit 5
gh run view <run-id>                       # which step failed: audit or deny?
gh run view <run-id> --log-failed | sed 's/\x1b\[[0-9;]*m//g' \
  | grep -E 'Crate:|Version:|ID:|Title:|Severity:|Solution:|error|warning'

If cargo audit fails, cargo deny check never runs, so CI shows only half the picture. Always reproduce both locally.

2. Reproduce on an up-to-date main

git checkout main && git pull --ff-only
cargo audit
cargo deny check

Advisories published after the run may show up locally. Fold them into the same PR (as #68 did) so the workflow goes fully green.

Read the full file on GitHub · 229 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 · +6 lines 451657b63dca
  2. 1mo ago First seen · 223 lines · 88 tokens per session scan A 845fcc921fa5

Subscribe to this mod's changes

audit-fix is a skill published in the GitHub repository edochi/mdvs (27 stars, last pushed today), licensed MIT. It adds 88 tokens to every session and 2,522 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-22.

Related

audit-fix compared with skills from other repositories

audit-fix next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
audit-fixedochi/mdvsSkill27todayMITA88Claude Code
rust-checkHmbown/CodeWhaleSkill41kyesterdayMITA15Claude Code, Codex
dd-code-generationDataDog/pupSkill1.0ktodayApache-2.0A16Claude Code
rust-crate-ciZaxbyHub/opencode-swarmSkill549todayMITA60Claude Code
codemarkDanielCardonaRojas/codemarkSkill1412d agoMITA97Claude Code
Agent Browser AutomationPramodDutta/qaskillsSkill25227d agoMITA37Claude Code, Codex
pixiv-cli-nativeFlanChanXwO/pixiv-cliSkill1408d agoMITA49Codex