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
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Skill name | |
| global | No | Create globally (default: project-local) | |
| content | Yes | Skill content/instructions | |
| description | Yes | When to use this skill |