Skip to main content
Glama

opencode_skill_create

Create a reusable SKILL.md prompt template for specialized tasks by providing a name, usage description, and instructions; it returns content for manual saving.

Instructions

Create a new skill (SKILL.md file). Skills are reusable prompt templates for specialized tasks. Returns the skill content to save manually.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>",
      "description": "<description>",
      "content": "<content>"
    },
    "name": "opencode_skill_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesSkill name
globalNoCreate globally (default: project-local)
contentYesSkill content/instructions
descriptionYesWhen to use this skill

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.8/5.0
Behavior4/5

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

The description discloses the single most important non-obvious behavior: "Returns the skill content to save manually," meaning the tool does not persist the SKILL.md itself and the agent must write the file. That contradicts a naive read of "Create" but is consistent with destructiveHint=false and is genuinely load-bearing. It stops short of saying what happens on a name collision (idempotentHint=false implies a re-run may duplicate or error) or whether existing skills are checked.

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

Conciseness5/5

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

Three short sentences, front-loaded with the action and immediately followed by the definition and the critical return-behavior caveat. No filler or redundant restatement of the schema.

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

Completeness4/5

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

With no output schema, the description correctly explains what comes back (content to save manually) and what the tool creates. It omits edge behavior around duplicate names and global-vs-local implications, which matters for a non-idempotent, open-world create operation, but the core contract is present.

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

Parameters3/5

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

Schema description coverage is 100%, so every parameter is already documented, and the description adds only the parenthetical that the artifact is a SKILL.md file. The `global` scope default and the name pattern are left entirely to the schema, which is acceptable at full coverage but adds no extra meaning.

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

Purpose4/5

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

States a specific verb and resource ("Create a new skill (SKILL.md file)") and defines what a skill is ("reusable prompt templates for specialized tasks"). It does not compare itself to siblings such as opencode_skill_list, but the create-vs-list distinction is obvious from the verb.

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

Usage Guidelines3/5

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

Usage is implied by "Create a new skill" and the definition of what skills are for, but there is no explicit when-to-use guidance, no mention of when to choose global vs project-local scope, and no stated alternatives for capturing reusable instructions. An agent gets the gist but must infer the selection criteria.

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