/director-mode-lite:agent-checkfrom director-mode-lite
Validates custom agent files in `.claude/agents/` for correct frontmatter format and structure against the official Claude Code spec and Director Mode conventions.
Ships in director-mode-lite. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Validate agent files in .claude/agents/ for correct format against the
official Claude Code spec (plus Director Mode conventions).
.claude/agents/*.md---
name: agent-name # Required: lowercase, hyphenated, 3-50 chars
description: > # Required: 10-5000 chars, include triggering conditions + <example> blocks
Use this agent when [conditions]. Examples:
<example>
Context: [situation]
user: "[request]"
assistant: "[response using this agent]"
</example>
color: cyan # Required by Director Mode convention (CI-enforced); OPTIONAL per official spec
model: sonnet # Required by Director Mode convention (CI-enforced); OPTIONAL per official spec.
# Valid: fable, opus, sonnet, haiku, inherit, default, best, sonnet[1m], opus[1m]
# (or a full model ID). inherit is the recommended default. NOT opusplan.
effort: medium # Optional: low, medium, high, xhigh, max
tools: # Optional: YAML list (omit = all tools available)
- Read
- Write
- Grep
disallowedTools: # Optional: explicit tool blocking
- NotebookEdit
maxTurns: 20 # Optional: max agentic turns (positive integer)
skills: # Optional: preloaded skill names (list, at most 32)
- linked-skill
memory: project # Optional: one of user, project, local
background: false # Optional: true keeps the agent in the background (boolean)
isolation: worktree # Optional: run the agent in an isolated git worktree
omitClaudeMd: false # Optional (2.1.271+): true starts without CLAUDE.md files
autoCompactWindow: 200000 # Optional (2.1.296+): integer, 100000-1000000
---
Read, Write, Edit, Bash, Grep, Glob, Agent (Task = legacy alias),
Skill, WebFetch, WebSearch, TodoWrite, NotebookEdit, AskUserQuestion
(TodoWrite is only offered on older models unless CLAUDE_CODE_ENABLE_TODO_TOOLS=1;
list an MCP server as mcp__<whole server name>__*)
red, blue, green, yellow, purple, orange, pink, cyan
sonnet, opus, haiku, fable, inherit, sonnet[1m], opus[1m], or a full model ID
(claude-opus-5-5). inherit recommended. Not default, best, or opusplan (/model values).
hooks # Honored in .claude/agents/; ignored when loaded from a plugin
mcpServers # Honored in .claude/agents/; ignored when loaded from a plugin
permissionMode # Honored in .claude/agents/; ignored when loaded from a plugin
initialPrompt # Main-session agents only; ignored when loaded from a plugin
Director Mode ships its agents as a plugin too, so its catalog omits them.
forkContext is not an official field: flag it as unknown.
name exists (lowercase, hyphenated; official limit 256 chars, no :, no leading -)description exists (10-5000 chars, recommend 200-1000 with <example> blocks)color is set (valid color name) — required by Director Mode convention, optional per specmodel is set (valid value below) — required by Director Mode convention, optional per spectools are valid tool names, YAML list format (omit = all tools available)disallowedTools are valid tool nameseffort is one of: low, medium, high, xhigh, maxmaxTurns is a positive integerskills is a list of skill names (references existing skills)memory is one of: user, project, localbackground and omitClaudeMd are booleanisolation is worktreeautoCompactWindow is an integer from 100000 to 1000000experimental holds only cacheTtl: 5m | 1hmodel is valid: sonnet, opus, haiku, fable, inherit, sonnet[1m], opus[1m], or a full model IDhooks, mcpServers, permissionMode, initialPrompt — ignored for plugin subagentsforkContext): Claude Code ignores it silently# Agent Name heading## Activation sectiontools uses YAML list format (not [Read, Write] bracket array) — Director Mode / CI house rule## Agent Validation Report
### Files Checked
| File | Status | Issues |
|------|--------|--------|
| code-reviewer.md | OK | None |
| my-agent.md | WARN | Missing color, model |
### Summary
- Total: [N]
- Valid: [N]
- Needs fixes: [N]
skills to YAML listcolor field (default: cyan)model field (default: inherit)hooks, mcpServers, permissionMode, initialPrompt) or flag for reviewforkContext and other unknown fieldsdefault, best, or opusplan model values with a supported valueWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
agent-validation, agent-format, director-mode, claude-agents
npx claudepluginhub claude-world/director-mode-lite --plugin director-mode-lite35 skills in this plugin
/agentsList all available agents (core, expert, self-evolving). Use when the user asks what agents are available or runs /agents./agent-templateGenerate custom agent from template. Use when creating a new subagent from scratch, or scaffolding an agent file with correct frontmatter./auto-loopTDD-based autonomous development loop with checkpoint recovery and observability changelog/changelogView and manage the runtime changelog for observability/check-environmentVerify Claude, Codex, and Grok availability plus Director guidance, relay, agents, and skills. Audit optional hooks only when selected. Use after installation or when a native surface misbehaves./claude-md-checkValidate CLAUDE.md structure and completenessOther plugins' skills for the same job