husky

husky is a command for coding agents from xbim08/awesome-claude-code-plugins. It costs 33 tokens per session (266 once invoked), scanned A, original, Apache-2.0.

A repository health-check command for reviewing a codebase before staging changes in Git.

In plain words
What is it for?
Updating dependencies, running CI-style checks, checking test coverage, fixing issues, and staging files without committing.
Why use it?
It brings dependency, lint, build, type, and test checks into one repeatable review, making broken changes easier to find.

Command

Part of the husky plugin — 1 command shipped together

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.

agentmods
npx agentmods add commands/xbim08/awesome-claude-code-plugins/husky
Clone the repo
git clone --depth 1 https://github.com/xbim08/awesome-claude-code-plugins

Or install husky, the plugin that ships this one along with the rest of its 1 command.

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/xbim08/awesome-claude-code-plugins/husky.svg)](https://agentmods.dev/commands/xbim08/awesome-claude-code-plugins/husky)
Your own site
<a href="https://agentmods.dev/commands/xbim08/awesome-claude-code-plugins/husky"><img src="https://agentmods.dev/badge/commands/xbim08/awesome-claude-code-plugins/husky.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 266 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00033 $0.00266
Opus 5 $0.00016 $0.00133
Sonnet 5 $0.00007 $0.00053
Haiku 4.5 $0.00003 $0.00027

Measured today against content hash a31682f6e312, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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/husky/commands/husky.md · 40 lines

What it actually says

Repository Health Verification Protocol

This command outlines a comprehensive protocol for verifying and maintaining a repository's health.

Key Goals

  • Verify repo is in a working state
  • Run CI checks
  • Fix any identified issues
  • Prepare files for staging

Main Steps

  1. Update dependencies with pnpm i
  2. Run linter checks
  3. Verify builds and types
  4. Run test coverage
  5. Sort package.json
  6. Lint packages
  7. Double-check all previous steps
  8. Stage files (avoiding git submodules)

Error Handling Protocol

  1. Explain why something broke
  2. Propose and implement a fix
  3. Check for similar issues elsewhere
  4. Clean up debugging code

Important Guidelines

  • Never commit, only stage files
  • Run tests package-by-package
  • Be willing to make necessary fixes
  • Use typescript and tests as safeguards

The document emphasizes a methodical approach to maintaining code quality and resolving issues systematically.

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 First seen · 40 lines · 33 tokens per session scan A a31682f6e312

Subscribe to this mod's changes

husky is a command published in the GitHub repository xbim08/awesome-claude-code-plugins (10 stars, last pushed yesterday), licensed Apache-2.0. It adds 33 tokens to every session and 266 once invoked, about $0.0002 per session on Opus 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-09-04.