This skill should be used when the user asks to validate, lint, or check Claude Code agent files, review agent frontmatter fields, or verify agent configurations against the official spec. Trigger phrases: 'validate my agents', 'check this agent file', 'lint agent files', 'review agent configs'.
From agent-reviewernpx claudepluginhub lifegenieai/lifegenie-claude-marketplace --plugin agent-reviewerThis skill uses the workspace's default tool permissions.
evals/evals.jsonevals/trigger_eval.jsonSearches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Implements structured self-debugging workflow for AI agent failures: capture errors, diagnose patterns like loops or context overflow, apply contained recoveries, and generate introspection reports.
The official spec lives at https://code.claude.com/docs/en/sub-agents. Before validating format-specific rules (valid field names, allowed values, required vs optional), fetch the current spec using Context7:
Context7 library ID: /llmstxt/code_claude_llms_txt
Query: "subagent frontmatter supported fields required optional valid values"
If Context7 is unavailable, use WebFetch on https://code.claude.com/docs/en/sub-agents and extract the "Supported frontmatter fields" table.
Do not validate from training data or cached knowledge. The spec changes frequently.
These checks enforce documented requirements. Severity: CRITICAL.
| Check | Rule |
|---|---|
| YAML parses | Frontmatter between --- delimiters must be valid YAML |
name present | Required. Lowercase letters, numbers, hyphens only |
description present | Required. Tells Claude when to delegate to this agent |
| Duplicate names | No two agent files may define the same name value |
tools type (if set) | Must be a comma-separated string or YAML list, not a quoted comma-string like "Read,Write" |
These are not documented requirements but improve agent quality. Severity: IMPORTANT unless noted.
| Check | Rule | Severity |
|---|---|---|
| Description length | Descriptions over 200 chars may waste context on every message | IMPORTANT |
| Description with examples | Official examples use 1-2 sentences, not <example> blocks | IMPORTANT |
| System prompt exists | Body after frontmatter should contain a system prompt | IMPORTANT |
| System prompt voice | Should use 2nd person ("You are...", "Your role is...") | NICE-TO-HAVE |
model: opus cost flag | Flag for cost awareness — not an error, just a heads-up | NICE-TO-HAVE |
For each agent file:
--- delimiters)---)severity: CRITICAL | IMPORTANT | NICE-TO-HAVEsource: "official docs" or "recommendation"file: filenamefield: which field or sectionissue: what's wrongsuggested_fix: how to fix it