OpenParable
Skip to content
← Back to skills

Agent Validate Config

Agent Building
agent-validate-config

Agent Validate Config is an Agent Skill for agent building published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Validate agent YAML frontmatter and configuration. Use before committing agent changes or in CI.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/agent/agent-validate-config-homericintelligence-projectodyssey-2/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/agent-validate-config, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Agent Configuration Validation

Verify agent configurations meet ML Odyssey requirements.

When to Use

  • Creating or modifying agent configurations
  • Before committing agent config changes
  • CI/CD validation before merge
  • Troubleshooting agent loading issues

Quick Reference

# Validate all agents
python3 tests/agents/validate_configs.py .claude/agents/

# Validate single agent
./scripts/validate_agent.sh .claude/agents/agent-name.md

Validation Checklist

Required YAML frontmatter fields:

---
name: agent-name              # kebab-case identifier
description: "Brief desc"     # One sentence purpose
mcp_fallback: none
category: agent               # Classification
level: 0-5                    # Hierarchy level
phase: Plan|Test|Implementation|Package|Cleanup
---

Validation includes:

  • YAML syntax correctness
  • All required fields present
  • Correct field types and values
  • Valid tool names (Read, Write, Bash, Grep, Glob)
  • Valid agent references in delegates_to/escalates_to
  • Correct directory structure

Error Handling

ErrorFix
No YAML frontmatterEnsure file starts/ends with ---
Invalid phase valueUse: Plan, Test, Implementation, Package, Cleanup
Delegation target not foundVerify agent name or create referenced agent
Duplicate keysRemove duplicate entries in frontmatter
Wrong level typeMust be integer 0-5, not string

References

  • /agents/templates/ - Agent configuration templates
  • .claude/agents/ - All agent configurations
  • CLAUDE.md - Agent system guidelines