← back

vet

2026-03-04

vet

AI coding tools are simultaneously the most loved developer tools and the largest source of new production bugs. vet audits the gap.

what it checks

checkwhat
readyis your codebase AI-friendly? scans structure, docs, types, tests
diffAI anti-patterns in git diffs: wholesale rewrites, orphaned imports, removed error handling
modelsdeprecated AI model strings across OpenAI, Anthropic, Google, Cohere
configagent config completeness — CLAUDE.md, .cursorrules, copilot-instructions
historygit commit churn, AI attribution, large changes
scanmalicious patterns in cloned agent configs (.claude/, .cursorrules, .mcp/)
secretsleaked API keys in build output + dev environment
receiptpost-session audit — what did the agent actually do?

usage

npx @safetnsr/vet                    # run all 8 checks
npx @safetnsr/vet --fix              # auto-fix configs, models
npx @safetnsr/vet --ci               # CI mode — exit 1 if below threshold
npx @safetnsr/vet --watch            # live monitoring during AI sessions
npx @safetnsr/vet receipt            # post-session agent receipt

zero deps. works with Claude Code, Cursor, Copilot, Codex, Aider, Windsurf, Cline.

links