add-skill-templates
npx machina-cli add skill yu-iskw/meta-agent-skills/add-skill-templates --openclawAdd Skill Templates
Purpose
This skill standardizes the process of adding new Agent Skill templates to the meta-agent-skills framework. It ensures that new templates follow the required structure for automatic instantiation by the Meta-Agent.
When to Use
- When you want to add a new standard capability (e.g.,
deploy-k8s,performance-bench) to themeta-agent-skillsframework. - When existing templates need to be cloned or used as a basis for a new one.
Instructions
-
Identify New Skill Requirements:
- Determine the name and purpose of the new skill.
- Identify the primary commands that should be included in its Commands table.
-
Use Boilerplate:
- Read the boilerplate template from
assets/skill-template-boilerplate.md. - Create a new file in
skills/meta-agent-skills/assets/templates/skills/named<skill-name>.md.
- Read the boilerplate template from
-
Configure Template:
- Fill in the YAML frontmatter (
name,description). - Use placeholders like
{{ order }},{{ component }},{{ path }},{{ layer }},{{ command }}, and{{ description }}in the Commands table. - Refer to references/conventions.md for guidance on placeholder usage and layer naming.
- Fill in the YAML frontmatter (
-
Register Capability:
- Update the
Capabilities Generatedsection inskills/meta-agent-skills/SKILL.mdto include the new skill.
- Update the
-
Verify:
- Ensure the template is readable and follows the format of existing templates like
lint-fix.md.
- Ensure the template is readable and follows the format of existing templates like
References
Source
git clone https://github.com/yu-iskw/meta-agent-skills/blob/main/.claude/skills/add-skill-templates/SKILL.mdView on GitHub Overview
This skill standardizes adding new Agent Skill templates to the meta-agent-skills framework. It ensures templates follow the required structure, use the boilerplate, and include proper placeholders so they can be automatically instantiated. It also covers registering the skill in Capabilities Generated and validating readability.
How This Skill Works
Start by identifying the new skill and its Commands. Copy the boilerplate from assets/skill-template-boilerplate.md and create skills/meta-agent-skills/assets/templates/skills/<skill-name>.md. Fill the YAML frontmatter and use the placeholders {{ order }}, {{ component }}, {{ path }}, {{ layer }}, {{ command }}, {{ description }} as guided by references. Update Capabilities Generated and verify readability like lint-fix templates.
When to Use It
- When adding a new standard capability (e.g., deploy-k8s, performance-bench) to the meta-agent-skills framework.
- When you need to clone an existing template as a base for a new skill.
- When you must ensure the new skill follows the required Commands table structure.
- When updating the Capabilities Generated section to register the new skill.
- When validating that the template is readable and consistent with existing templates.
Quick Start
- Step 1: Identify the new skill name and purpose.
- Step 2: Copy assets/skill-template-boilerplate.md and create skills/meta-agent-skills/assets/templates/skills/<skill-name>.md, then fill frontmatter and placeholders.
- Step 3: Update Capabilities Generated and run a readability check against existing templates.
Best Practices
- Start from the boilerplate template to ensure consistency.
- Use the prescribed placeholders in the Commands table exactly as shown.
- Complete the YAML frontmatter with accurate name and description.
- Keep the new file under assets/templates/skills with the correct path and naming.
- After creation, update the Capabilities Generated section and run a quick readability check.
Example Use Cases
- Create a deploy-k8s skill template following the boilerplate for meta-agent-skills.
- Clone an existing lint-fix.md pattern to model a performance-bench skill.
- Add a new skill template and reference references/conventions.md for placeholders.
- Use the boilerplate to standardize a new template and ensure automatic instantiation.
- Register the new skill in skills/meta-agent-skills/SKILL.md's Capabilities Generated.