From agents
Agent definition conventions. Validate frontmatter, update indexes. Use when creating or modifying agents. NOT for skills, MCP servers, or CLAUDE.md.
npx claudepluginhub wyattowalsh/agents --plugin agentsThis skill uses the workspace's default tool permissions.
Apply these conventions when creating or modifying AI agent definitions.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Apply these conventions when creating or modifying AI agent definitions.
| $ARGUMENTS | Action |
|---|---|
| Active (auto-invoked when working on agent files) | Apply all conventions below |
| Empty | Display convention summary |
check | Run validation checks only |
| File | Purpose |
|---|---|
references/readme-template.md | Template for agent README.md index entries |
Every agent file must include these fields in YAML frontmatter:
name -- kebab-case, must match filename without .mddescription -- non-empty, describes the agent's purposetools -- comma-separated tool allowlist (default: all)disallowedTools -- comma-separated tool denylistmodel -- sonnet | opus | haiku | inherit (default: inherit)permissionMode -- default | acceptEdits | delegate | dontAsk | bypassPermissions | planmaxTurns -- integer cap on agentic turnsskills -- list of skills preloaded into agent contextmcpServers -- list of MCP servers available to this agentmemory -- user | project | localhooks -- lifecycle hooks scoped to this agentMemory field conventions:
local for temporary insights, project for shared patterns, user for cross-project preferencesdebugging.md, api-patterns.md), not chronologically^[a-z0-9][a-z0-9-]*$.md) must match the name frontmatter field exactlyWhen defining a new agent at any level:
~/.{gemini|copilot|codex|claude}/agents/.claude/agents/ (project-level)Update the corresponding README.md index in the same directory:
name and description in frontmatter -- they are requiredwagents validate after any agent frontmatter changeCanonical terms (use these exactly):
agent -- an AI agent definition file in agents/ directoryfrontmatter -- YAML metadata between --- delimiterssystem prompt -- the markdown body after frontmatterindex table -- the markdown table in README.md listing all agentskebab-case -- lowercase words separated by hyphens