skill_create
Create a new Agent Skill by generating a skill directory containing a SKILL.md file with YAML frontmatter and markdown body.
Instructions
function_purpose: Create a new skill directory containing a SKILL.md per Agent Skills Spec.
Description:
Creates a new directory under the skills root whose name matches the skill 'name' frontmatter.
Writes a SKILL.md file with YAML frontmatter (name, description, optional license, allowed_tools, metadata) followed by the markdown body.
Fails if a skill with that name already exists or if the name is invalid.
Constraints:
Additive only; will not overwrite existing skills.
Name must be hyphen-case or simple alphanumeric with dashes/underscores.
Body may be empty; if empty a placeholder is inserted.
Args:
name: str Skill directory and frontmatter name (hyphen-case recommended)
description: str Concise description of the skill
body: str Markdown guidance content (optional)
license: str | None Optional license identifier/text
allowed_tools: list[str] Optional list of tool names this skill permits
metadata: dict[str, Any] Optional arbitrary metadata mapping
Returns:
dict[str, Any] with:
created: bool
path: str (relative path to SKILL.md within skills dir)
message: str status narrative
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| name | Yes | ||
| license | No | ||
| metadata | No | ||
| description | Yes | ||
| allowed_tools | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||