tevm: Command for Claude Code

.claude/commands/husky.md

husky is a command for Claude Code from evmts/tevm. It costs 0 tokens per session (1,080 once invoked), scanned A, original, MIT.

A repository-check command that runs dependency, lint, type, build, documentation, and test checks, then stages the files.

In plain words
What is it for?
Use it to verify a JavaScript or TypeScript repository is healthy, fix reported issues, and prepare changes in Git's staging area.
Why use it?
It helps find problems before code is shared or committed, and repeats earlier checks after fixes to catch regressions.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is evmts/tevm's own configuration. It tells Claude Code how to work on tevm 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 tevm configures →

Reuse

Borrowing it

Nothing to install: this file belongs to evmts/tevm. 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/evmts/tevm/main/.claude/commands/husky.md
Clone the repo
git clone --depth 1 https://github.com/evmts/tevm

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 husky

README.md
[![agentmods](https://agentmods.dev/badge/commands/evmts/tevm/husky/github.svg)](https://agentmods.dev/commands/evmts/tevm/husky)
Your own site
<a href="https://agentmods.dev/commands/evmts/tevm/husky"><img src="https://agentmods.dev/badge/commands/evmts/tevm/husky/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 husky

Your own site · 80×15
<a href="https://agentmods.dev/commands/evmts/tevm/husky"><img src="https://agentmods.dev/badge/commands/evmts/tevm/husky.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,080 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.00000 $0.01080
Opus 5.5 $0.00000 $0.00432
Sonnet 5.5 $0.00000 $0.00216
Haiku 4.5 $0.00000 $0.00108

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

Security

Grade A, and why

husky 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 1mo 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.

.claude/commands/husky.md · 92 lines

How it starts

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

Summary

The goal of this command is to verify the repo is in a working state and fix issues if they exist.

Goals

Run CI checks and fix issues until repo is in a good state and then add files to staging. All commands are run from repo root. 0. Make sure repo is up to date via running pnpm i

  1. Check that the linter passes by running pnpm lint
  2. Check that types and build pass by running pnpm nx run-many --targets=build:types,build:dist,build:app,generate:docs,dev:run,typecheck. If one of the specific commands fail, save tokens via only running that command while debugging
  3. Check that tests pass via running pnpm nx run-many --target=test:coverage Source the .env file first before running if it exists
  4. Check package.json is sorted via running pnpm run sort-package-json
  5. Check packages are linted via running pnpm nx run-many --targets=lint:package,lint:deps
  6. Double check. If you made any fixes run preceeding checks again. For example, if you made fixes on step 3. run steps 1., 2., and 3. again to doublecheck there wasn't a regression on the earlier step.
  7. Add files to staging with git status and git add. Make sure you don't add any git submodules in the lib/* folders though

Do NOT continue on to the next step until the command listed succeeds. You may sometimes have prompts in between or have to debug but always continue on unless I specifically give you permission to skip a check. Print the list of tasks with a checkmark emoji next to every step that passed at the very end

Protocol when something breaks

Take the following steps if CI breaks

1. Explain why it's broke

  • Whenever a test is broken first give think very hard and a complete explanation of what broke. Cite source code and logs that support your thesis.
  • If you don't have source code or logs to support your thesis, think hard and look in codebase for proof.
  • Add console logs if it will help you confirm your thesis or find out why it's broke
  • If you don't know why it's broke or there just isn't enough context ask for help

Read the full file on GitHub · 92 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. 1mo ago First seen · 92 lines · 0 tokens per session scan A cc9f1caecf24

Subscribe to this mod's changes

husky is a command published in the GitHub repository evmts/tevm (449 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,080 tokens. 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-31.

Related

Other commands, from other repositories

speckit.companion.living-coverage

Report living-spec requirement→test coverage — per requirement, whether its coverage tier maps a test (opt-in, read-only, never halts).

alfredoperez/speckit-companion · 29 tokens

pr-ready

Run the project's pre-commit review loop to determine whether the current branch is ready to push — lint, tests, parallel pr-review-toolkit agents plus an over-engineering audit, fix-and-re-run until convergence.

costajohnt/oss-autopilot · 45 tokens

devkit.typescript.code-review

Provides comprehensive TypeScript monorepo code review for Nx workspaces including NestJS backend, React web, and React Native mobile apps. Use when reviewing architecture, boundaries, security, performance, CI/CD and Nx-specific practices.

giuseppe-trisciuoglio/developer-kit · 45 tokens

pr-enhance

Command "pr-enhance" from ruvnet/ruflo, covering pr-enhance, usage, options, examples and enhance pr.

ruvnet/ruflo · 0 tokens

claude-loop

Use a fresh headless Claude session (Fable by default) as an independent reviewer of the whole repo, area by area (or of one branch's diff with --base), fix every real finding with regression tests, and loop until each area comes back clean twice in a row. The /codex-loop pattern on Anthropic usage. Runs autonomously.

runnithan/claudex-setup · 72 tokens

pn-audit-api

Surgical API design review — REST conventions, status codes, response shapes, validation, and schema leaks. Use standalone or as part of pn-backend-audit. Outputs a scored fix roadmap.

perniemann/pnCore · 44 tokens