add-agent-templates
npx machina-cli add skill yu-iskw/meta-agent-skills/add-agent-templates --openclawAdd Agent Templates
Purpose
This skill standardizes the process of adding new Agent templates to the meta-agent-skills framework. It ensures that new agents follow the required structure for automatic generation and skill binding by the Meta-Agent.
When to Use
- When you want to add a new specialized agent (e.g.,
cloud-deployer-agent,perf-optimizer-agent) to the framework. - When you want to define a new set of capabilities that a subagent should possess.
Instructions
-
Define Agent Persona:
- Identify the agent's name (e.g.,
sre-agent). - Define its primary purpose and responsibilities.
- Identify the agent's name (e.g.,
-
Select Required Skills:
- List the skills from
skills/meta-agent-skills/assets/templates/skills/that this agent will need. - These should be listed in the YAML frontmatter.
- List the skills from
-
Use Boilerplate:
- Read
assets/agent-template-boilerplate.mdfor the standard structure. - Create a new file in
skills/meta-agent-skills/assets/templates/agents/named<agent-name>.md.
- Read
-
Configure Template:
- Fill in the YAML frontmatter (
name,description,skills). - Use the
<!-- SKILLS_START -->and<!-- SKILLS_END -->markers in the Capabilities section. - Refer to references/agent-conventions.md for detailed formatting rules.
- Fill in the YAML frontmatter (
-
Register Capability:
- Update the
Capabilities Generatedsection inskills/meta-agent-skills/SKILL.mdto include the new agent.
- Update the
-
Verify:
- Ensure the template is readable and follows the format of existing agents like
codebase-maintainer-agent.md.
- Ensure the template is readable and follows the format of existing agents like
References
Source
git clone https://github.com/yu-iskw/meta-agent-skills/blob/main/.claude/skills/add-agent-templates/SKILL.mdView on GitHub Overview
This skill standardizes how to add new Agent templates to the meta-agent-skills framework. It ensures templates follow the required structure for automatic generation and proper skill binding by the Meta-Agent.
How This Skill Works
You define the agent persona, select required skills in the YAML frontmatter, and create a new agent file using the boilerplate. The file at skills/meta-agent-skills/assets/templates/agents/<agent-name>.md must include name, description, skills, and the Capabilities markers <!-- SKILLS_START --> and <!-- SKILLS_END -->. Finally, you register the capability by updating the Capabilities Generated section in skills/meta-agent-skills/SKILL.md and verify readability against established templates like codebase-maintainer-agent.md.
When to Use It
- You want to add a new specialized agent (e.g., cloud-deployer-agent) to the framework.
- You need to define a new set of capabilities that a subagent should possess.
- You are creating a template file for a new agent under skills/meta-agent-skills/assets/templates/agents/.
- You want to ensure the template uses the boilerplate and correctly formatted YAML frontmatter.
- You must register the new agent in the framework by updating the Capabilities Generated section.
Quick Start
- Step 1: Define the agent's persona (name and primary purpose).
- Step 2: List required skills in the YAML frontmatter and reference assets/templates/agents boilerplate.
- Step 3: Create skills/meta-agent-skills/assets/templates/agents/<agent-name>.md, fill frontmatter, add <!-- SKILLS_START --> ... <!-- SKILLS_END -->, then update SKILL.md and verify.
Best Practices
- Define a clear, singular persona for the new agent (name and primary responsibilities).
- List all required skills explicitly in the YAML frontmatter in skills/meta-agent-skills/assets/templates/agents/.
- Use the boilerplate in assets/agent-template-boilerplate.md to maintain consistency.
- Fill in the YAML frontmatter with name, description, and skills exactly, and place capabilities between <!-- SKILLS_START --> and <!-- SKILLS_END -->.
- Validate readability by comparing against existing templates like codebase-maintainer-agent.md and update SKILL.md accordingly.
Example Use Cases
- Template for cloud-deployer-agent.md defining deployment-related skills and capabilities.
- Template for perf-optimizer-agent.md listing performance tuning skills.
- Template for sre-agent.md describing site reliability and incident response skills.
- Template for data-pipeline-monitor-agent.md outlining monitoring and alerting capabilities.
- Template for codebase-maintainer-agent.md with maintenance and repo governance skills.