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 model should be a known alias or valid model ID
> /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 model should be a known alias or valid model ID
description: "Agent model should be a known alias or valid model ID"
<RuleHeader description="Agent model should be a known alias or valid model ID" severity="warn" :fixable="false" :configurable="false" category="Agents" />
This rule checks that the `model` field in agent markdown frontmatter is either a known alias (`sonnet`, `opus`, `haiku`, `inherit`) or a full Claude model ID (e.g. `claude-opus-4-6`). The `inherit` option tells the agent to use the parent conversation model. Unrecognized values produce a warning since Claude Code accepts arbitrary model strings.
Non-Claude model name
--- name: code-review description: Reviews code for quality model: gpt-4 ---
Model name with wrong casing
--- name: code-review description: Reviews code for quality model: Sonnet ---
Valid model alias
--- name: code-review description: Reviews code for quality model: sonnet ---
Full model ID
--- name: code-review description: Reviews code for quality model: claude-opus-4-6 ---
Using inherit to match the parent model
--- name: code-review description: Reviews code for quality model: inherit ---
Set the `model` field to a known alias (`sonnet`, `opus`, `haiku`, `inherit`) or a full Claude model ID (e.g. `claude-opus-4-6`).
This rule does not have any configuration options.
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