agent-name
Agent name must be lowercase-with-hyphens, under 64 characters, with no XML tags
$ npx -y skills add pdugan20/claudelint --agent claude-codeHow it fires
How this agent gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Agent name must be lowercase-with-hyphens, under 64 characters, with no XML tags
Agent definition
agent-name.mddescription: "Agent name must be lowercase-with-hyphens, under 64 characters, with no XML tags"
agent-name
<RuleHeader description="Agent name must be lowercase-with-hyphens, under 64 characters, with no XML tags" severity="error" :fixable="false" :configurable="false" category="Agents" />
Rule Details
This rule enforces naming constraints on the name field in agent markdown frontmatter. The name must be lowercase with hyphens, under 64 characters, and must not contain XML tags. Validation is delegated to the AgentFrontmatterSchema.shape.name Zod schema. Consistent naming ensures agents are easily discoverable and avoids conflicts with reserved syntax.
Incorrect
Agent name with uppercase letters
---
name: My-Agent
description: Handles code reviews
---
Agent name containing XML tags
---
name: <agent>helper</agent>
description: Handles code reviews
---
Correct
Agent name using lowercase and hyphens
---
name: code-review-agent
description: Handles code reviews for pull requests
---
How To Fix
Rename the agent to use only lowercase letters, digits, and hyphens. Ensure the name is under 64 characters and does not include any XML-style tags.
Options
This rule does not have any configuration options.
Related Rules
- [`agent-description`](/rules/agents/agent-description)
Resources
- [Rule Implementation](https://github.com/pdugan20/claudelint/blob/main/src/rules/agents/agent-name.ts)
- [Rule Tests](https://github.com/pdugan20/claudelint/blob/main/tests/rules/agents/agent-name.test.ts)
Version
Available since: v0.2.0
Read more
description: "Agent name must be lowercase-with-hyphens, under 64 characters, with no XML tags"
agent-name
<RuleHeader description="Agent name must be lowercase-with-hyphens, under 64 characters, with no XML tags" severity="error" :fixable="false" :configurable="false" category="Agents" />
Rule Details
This rule enforces naming constraints on the name field in agent markdown frontmatter. The name must be lowercase with hyphens, under 64 characters, and must not contain XML tags. Validation is delegated to the AgentFrontmatterSchema.shape.name Zod schema. Consistent naming ensures agents are easily discoverable and avoids conflicts with reserved syntax.
Incorrect
Agent name with uppercase letters
--- name: My-Agent description: Handles code reviews ---
Agent name containing XML tags
--- name: <agent>helper</agent> description: Handles code reviews ---
Correct
Agent name using lowercase and hyphens
--- name: code-review-agent description: Handles code reviews for pull requests ---
How To Fix
Rename the agent to use only lowercase letters, digits, and hyphens. Ensure the name is under 64 characters and does not include any XML-style tags.
Options
This rule does not have any configuration options.
Related Rules
- [`agent-description`](/rules/agents/agent-description)
Resources
- [Rule Implementation](https://github.com/pdugan20/claudelint/blob/main/src/rules/agents/agent-name.ts)
- [Rule Tests](https://github.com/pdugan20/claudelint/blob/main/tests/rules/agents/agent-name.test.ts)
Version
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
Other agents on claudelint.
- 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 makes targeted improvements to reduce file size, fix import issues, remove generic content, and improve organization.
Open agent - agent-body-too-short
Agent body content should meet minimum length requirements
Open agent - agent-description
Agent description must be at least 10 characters
Open agent - agent-disallowed-tools
Agent disallowedTools must be an array of tool names
Open agent - agent-events
Agent events must be an array with maximum 3 event names
Open agent - agent-hooks-invalid-schema
Hook configuration in agents.json violates schema requirements
Open agent

