Subagentlint — Code Quality skill for Claude Code
Lint Claude Code subagent files (.claude/agents) before they fail silently: frontmatter typos, missing descriptions, duplicate names, broken hook scripts, description token budget.
How to install Subagentlint
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open celaldrg/subagentlint and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Subagentlint does
Lint Claude Code subagent files (.claude/agents) before they fail silently: frontmatter typos, missing descriptions, duplicate names, broken hook scripts, description token budget. Zero-dependency Python CLI.
Alternatives in Code Quality
- Selfreview — Self code review before a release — four narrow reviewers over the change (or the whole repo), findings ranked 96 ★
- Claude Starter — Production-ready Claude Code configuration template with 40 auto-activating skills across 8 domains, TOON form 65 ★
- Wikimate Lint — 옵시디언 볼트를 읽기전용으로 건강검진 (중복·깨진 링크·고아·frontmatter·끊긴 색인) 51 ★
README
subagentlint
[](https://github.com/celaldrg/subagentlint/actions/workflows/ci.yml)   
**Lint Claude Code subagents before they fail silently.**
Custom subagents live in `.claude/agents/*.md`. Claude Code skips a file with broken frontmatter, a missing `description`, or a `name` that starts with `-`, and it ignores a typo such as `permission_mode` or `disallowTools` without showing an error in the session. The reason, if it is recorded at all, ends up in the debug log. `subagentlint` checks those files in your editor or in CI, against the [published subagent format](https://code.claude.com/docs/en/sub-agents).
- Catches the mistakes that prevent a subagent from loading: invalid YAML, missing
name/description, illegal names, unclosed frontmatter. - Flags fields and tool names Claude Code will ignore, with typo suggestions (
permission_mode→permissionMode,Grap→Grep). - Checks hook scripts exist and are executable, skills resolve, and inline MCP servers have a
commandorurl. - Reports duplicate names in the same agents tree (only one will load), names that override built-ins, and combined
descriptionfields that exceed the 15,000-token startup budget. - Text, JSON and GitHub Actions annotation output. Zero dependencies, Python 3.10+.
Install
pip install git+https://github.com/celaldrg/subagentlint@v0.1.0
# or grab the wheel from the v0.1.0 release
Usage
subagentlint # discover .claude/agents in the current repo
subagentlint .claude/agents # one agents folder
subagentlint path/to/reviewer.md # one file
subagentlint --user # also scan ~/.claude/agents
subagentlint --strict # warnings fail too
subag
Related Skills
Ctxlint
Lint CLAUDE.md, AGENTS.md & Cursor rules against your repo: catch stale paths, missing scripts and broken impo
Skillvet
Lint Agent Skills before an agent loads them: frontmatter, context budget, references and supply-chain risks.
Okf Skill
A stronger Claude Code skill/plugin for the Open Knowledge Format (OKF) v0.1: deterministic zero-dependency va
Etemi Prompt Enhancer Skill
Transform rough prompts into production-ready six-part instructions (Role, Context, Task, Pitfalls, Examples/F
Memory Lint
Lint a layered-memory directory for missing frontmatter, orphaned facts, and oversized files
Superb Prompt
A Claude skill that builds or fixes prompts using the five-part framework (role, task, context, constraints, f
Related Agents
Agent Hygiene Monthly
Scheduled agent - monthly read-only catalog scan of ~/agenticOS/agents/ that flags missing frontmatter, short
Baseline Reviewer
Read-only reviewer for changes to this plugin — skills, agent definitions, manifests, hooks and eval cases. Ch
Web Maintainer
Audits the website source for broken internal links, missing or duplicate meta descriptions, and facts that co