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 disallowedTools must be an array of tool names
> /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 disallowedTools must be an array of tool names
description: "Agent disallowedTools must be an array of tool names"
<RuleHeader description="Agent disallowedTools must be an array of tool names" severity="error" :fixable="false" :configurable="false" category="Agents" />
This rule enforces that the `disallowedTools` field in agent markdown frontmatter is a valid array of strings. Each entry should be a tool name that the agent is prohibited from using. Validation is delegated to the AgentFrontmatterSchema Zod schema. Proper formatting prevents runtime errors when the agent framework parses tool restrictions.
disallowedTools as a single string instead of array
--- name: safe-agent description: Agent with tool restrictions disallowedTools: Bash ---
disallowedTools with non-string entries
--- name: safe-agent description: Agent with tool restrictions disallowedTools: - 123 - true ---
disallowedTools as a valid array of tool names
--- name: safe-agent description: Agent with tool restrictions disallowedTools: - Bash - Write ---
Ensure `disallowedTools` is formatted as a YAML array of strings. Each entry should be a valid tool name like Bash, Write, Edit, or WebFetch.
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