Skip to main content
Glama

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

TableJSON Schema
NameRequiredDescriptionDefault
bodyNo
nameYes
licenseNo
metadataNo
descriptionYes
allowed_toolsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description fully carries the transparency burden. It discloses the exact actions (creates directory, writes SKILL.md), the additive non-overwriting constraint, failure conditions (name invalid or already exists), and the placeholder insertion for empty bodies. This is thorough behavioral disclosure beyond what structured annotations could provide.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is structured into labeled sections (function_purpose, Description, Constraints, Args, Returns) making it highly scannable and organized. While longer than the minimal ideal, each section contributes necessary information without redundancy or filler, earning a solid 4.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter creation tool with no annotations, the description is remarkably complete. It covers purpose, detailed constraints, parameter semantics, failure conditions, and return value structure. The agent has everything needed to select and invoke the tool correctly in context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% parameter description coverage, but the Args section directly compensates by explaining all 6 parameters with types and semantic meaning. It adds valuable guidance like 'hyphen-case recommended' for name, 'optional list of tool names' for allowed_tools, and the behavior for empty bodies, going beyond mere type definitions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb-resource pair: 'Create a new skill directory containing a SKILL.md per Agent Skills Spec.' This clearly identifies the tool's function and distinguishes it from sibling read-only tools like skill_list_all and skill_get_detail. It also clarifies the deliverable (SKILL.md file), making the purpose unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear contextual guidance: it is for creating new skills, is additive only, and fails if the skill already exists or the name is invalid. However, it does not explicitly specify when NOT to use this tool or point to alternatives (e.g., for updating existing skills), so it stops short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tsoernes/skills-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server