Get the FREE Ultimate OpenClaw Setup Guide →

add-agent-templates

npx machina-cli add skill yu-iskw/meta-agent-skills/add-agent-templates --openclaw
Files (1)
SKILL.md
1.8 KB

Add 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

  1. Define Agent Persona:

    • Identify the agent's name (e.g., sre-agent).
    • Define its primary purpose and responsibilities.
  2. 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.
  3. Use Boilerplate:

    • Read assets/agent-template-boilerplate.md for the standard structure.
    • Create a new file in skills/meta-agent-skills/assets/templates/agents/ named <agent-name>.md.
  4. 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.
  5. Register Capability:

    • Update the Capabilities Generated section in skills/meta-agent-skills/SKILL.md to include the new agent.
  6. Verify:

    • Ensure the template is readable and follows the format of existing agents like codebase-maintainer-agent.md.

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

  1. Step 1: Define the agent's persona (name and primary purpose).
  2. Step 2: List required skills in the YAML frontmatter and reference assets/templates/agents boilerplate.
  3. 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.

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers