From clawlint
Use when the user has modified CLAUDE.md, AGENTS.md, skill frontmatter, hook commands, or settings.json and you want to sanity-check the change before moving on. Also use when the user says "audit my Claude setup", "check my agents", "is this agent file too big", or asks why context is blowing up unexpectedly.
How this skill is triggered — by the user, by Claude, or both
Slash command
/clawlint:clawlint-auditingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
clawlint is a deterministic linter for Claude Code configs. It catches the
clawlint is a deterministic linter for Claude Code configs. It catches the cheap mistakes — oversized agent files, stale path references, overbroad tool permissions, vague skill descriptions, token-heavy output styles, dead skills that nothing references — before they rot.
.claude/agents/*.md changes are the #1 source of silent context
bloat. A quick clawlint check --scope project after edits catches
size regressions.clawlint check # default: scope=all, deterministic only
clawlint check --scope project # just the current repo's .claude/
clawlint check --scope global # just ~/.claude/ and ~/CLAUDE.md
clawlint check --llm-assist # escalate judgment-heavy rules (costs tokens)
clawlint tui # interactive dashboard
--format json emits the canonical envelope — pipe into jq or the TUI
(clawlint check --format json | clawlint tui).
See the clawlint-interpreting-results skill for the diagnostic schema,
severity semantics, and how to tell a real finding from a false positive.
Suppression is for findings that are genuinely wrong in context — not for silencing rules you find annoying. If you suppress, leave a one-line comment explaining why, so future-you doesn't have to re-derive the reasoning.
<!-- clawlint: disable-next-line=agent-file-stale-paths -->
See `src/legacy/` — kept for v1 compat until the migration ships.
clawlint check --scope project after agent-file editsCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub dotbeeps/clawlint --plugin clawlint