claude-md-optimizer
Use this agent when the user wants to autonomously validate and optimize their CLAUDE.md files. This agent runs claudelint validation, analyzes results, and…
Agent body content should meet minimum length requirements
> /plugin marketplace add pdugan20/claudelint > /plugin install claudelint@claudelint
How it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Agent body content should meet minimum length requirements
description: "Agent body content should meet minimum length requirements"
<RuleHeader description="Agent body content should meet minimum length requirements" severity="warn" :fixable="false" :configurable="true" category="Agents" />
This rule checks that the markdown body of an agent file (the content after frontmatter) contains enough substantive text. Very short body content typically indicates an incomplete agent definition that lacks the detailed instructions needed for effective agent behavior. The minimum length is configurable via the `minLength` option.
Agent body that is too short
--- name: code-review description: Reviews code for quality --- Review code.
Agent body with sufficient instructions
--- name: code-review description: Reviews code for quality --- ## System Prompt You are a code review agent. Analyze pull requests for correctness, performance, and style issues. Provide actionable feedback with specific suggestions.
Add more detailed instructions, guidelines, or context to the agent body content. Include a System Prompt section with clear behavioral directives.
Default options:
{
"minLength": 50
}Require at least 100 characters of body content:
{
"agent-body-too-short": [
"warn",
{
"minLength": 100
}
]
}Use a lower threshold for simple agents:
{
"agent-body-too-short": [
"warn",
{
"minLength": 30
}
]
}Disable this rule if your agents use an external system prompt source and the agent file body is intentionally minimal.
Available since: v0.2.0
A linter for Claude Code projects. Validates CLAUDE.md files, skills, settings, hooks, MCP servers, plugins, and more.
Repo: pdugan20/claudelint
Use this agent when the user wants to autonomously validate and optimize their CLAUDE.md files. This agent runs claudelint validation, analyzes results, and…
Hook configuration in agents.json violates schema requirements