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.
npx skills add ckorhonen/hone-skills --skill method-brevity-auditgit clone --depth 1 https://github.com/ckorhonen/hone-skillsWrote 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.
[](https://agentmods.dev/skills/ckorhonen/hone-skills/method-brevity-audit)<a href="https://agentmods.dev/skills/ckorhonen/hone-skills/method-brevity-audit"><img src="https://agentmods.dev/badge/skills/ckorhonen/hone-skills/method-brevity-audit/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.
<a href="https://agentmods.dev/skills/ckorhonen/hone-skills/method-brevity-audit"><img src="https://agentmods.dev/badge/skills/ckorhonen/hone-skills/method-brevity-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00063 | $0.01286 |
| Opus 5 | $0.00032 | $0.00643 |
| Sonnet 5 | $0.00013 | $0.00257 |
| Haiku 4.5 | $0.00006 | $0.00129 |
Grade A, and why
hone:method-brevity-audit 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Method Brevity Audit
What This Skill Does
Walks the source tree and identifies methods, functions, and closures whose line count exceeds a configurable threshold. For each finding it reports the fully qualified name, file path with line range, language, line count, and optional complexity hints (nesting depth, number of branches, parameter count). Findings are ranked longest-first so the worst offenders surface immediately.
When To Use
- On a weekly schedule as a codebase health check.
- After a large merge or feature branch lands to catch method bloat.
- When onboarding to an unfamiliar codebase to find hot spots.
- When the user asks to "find long methods" or "audit method length".
Do Not Use
- For style or formatting issues (indentation, whitespace, line wrapping).
- For naming quality — use
hone:intent-clarity-auditinstead. - For test-specific naming — use
hone:test-naming-auditinstead. - For duplication detection — use
hone:duplication-huntinstead. - To auto-refactor or split methods. This skill only reports findings.
Inputs To Confirm
- Scope: Which directories or file patterns to scan (default: entire repo, excluding vendored/generated code).
- Threshold: Maximum acceptable method length in lines (default: 30 lines).
- Top-N: How many findings to include in the report (default: 20).
- Exclusions: Glob patterns for files or directories to skip (e.g.,
vendor/,generated/,node_modules/).
Instructions
-
Identify scannable files. Walk the repository tree. Exclude directories that match common vendored or generated patterns (
node_modules,vendor,dist,build,.git,__pycache__) and any user-specified exclusions. -
Detect language per file. Use file extension to determine the language. Support at minimum: TypeScript/JavaScript (
.ts,.tsx,.js,.jsx), Python (.py), Ruby (.rb), Go (.go), Java (.java), Kotlin (.kt), Rust (.rs), Swift (.swift), C/C++ (.c,.cpp,.h), C# (.cs), PHP (.php), Shell (.sh,.bash).
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.
- 11d ago First seen · 128 lines · 63 tokens per session scan A 80475d92bb00
hone:method-brevity-audit is a skill published in the GitHub repository ckorhonen/hone-skills (0 stars, last pushed 4mo ago), licensed MIT. It adds 63 tokens to every session and 1,286 once invoked, about $0.0003 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-08-31.
Other skills, from other repositories
review-pr
Multi-agent PR review with four modes (review, re-review, self-review, address-feedback) - spawns parallel subagents, saves diff to /tmp for context efficiency, supports file exclusion patterns.
Biome
Biome 2.x — fast all-in-one web toolchain in Rust. Formats, lints, assists. Replaces Prettier + ESLint.
biome
Biome - Fast all-in-one toolchain for web projects (linter + formatter in Rust, 100x faster than ESLint).
vibe-check
Audit code for "vibe coding sins" — patterns that indicate AI-generated code was accepted without proper review. Produces a scored report card with fix suggestions.
ruff-docs
Ruff — fast Python linter and formatter in Rust. 900+ rules, Black-compatible formatter, LSP, CI/CD.
recipe-front-review
Reviews completed frontend implementation for governing-source compliance, scope economy, repository quality, and security, then applies user-approved React corrections.