Skip to content
Back to skills

Agent Validate Config

ASecurity

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

  • 666 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 4, 2026
ai-agentspythongobashci/cd

Works with

  • mcp

Security analysis

A100/100

Scanned June 4, 2026

npx -y skills add majiayu000/claude-skill-registry --skill agent-validate-config-homericintelligence-projectodyssey --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Validate Config?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agent Validate Config
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-agent-validate-config/badge)](https://www.skillsdirectory.com/skills/majiayu000-agent-validate-config)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agent-validate-config
description: "Validate agent YAML frontmatter and configuration. Use before committing agent changes or in CI."
mcp_fallback: none
category: agent
user-invocable: false
---

# 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

```bash
# 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:

```yaml
---
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

| Error | Fix |
|-------|-----|
| No YAML frontmatter | Ensure file starts/ends with `---` |
| Invalid phase value | Use: Plan, Test, Implementation, Package, Cleanup |
| Delegation target not found | Verify agent name or create referenced agent |
| Duplicate keys | Remove duplicate entries in frontmatter |
| Wrong level type | Must be integer 0-5, not string |

## References

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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.