home / skills / different-ai / agent-bank / skill-creator
This skill helps you create valid OpenCode skills with proper frontmatter and structure, ensuring discoverability and error-free loading.
npx playbooks add skill different-ai/agent-bank --skill skill-creatorReview the files below or copy the command above to add this skill to your agents.
---
name: skill-creator
description: Create new OpenCode skills with valid SKILL.md frontmatter.
compatibility: opencode
---
## Purpose
Create well-formed OpenCode skills that load correctly and follow naming rules.
## When to Use
Use this skill when you need to add a new `.opencode/skill/<name>/SKILL.md` file
or fix an existing skill definition.
## Workflow
1. Choose a skill name that matches the directory name and the regex
`^[a-z0-9]+(-[a-z0-9]+)*$`.
2. Add YAML frontmatter with `name` and `description`.
3. Keep `description` between 1–1024 characters.
4. Add clear sections for purpose, usage, and workflow.
5. Verify the skill is discoverable via the `skill` tool.
## Completion Criteria
- The skill loads without errors.
- Frontmatter fields are valid and minimal.
- Content explains when and how to use the skill.
This skill creates and validates new OpenCode skill definition files so they load cleanly and follow naming rules. It helps generate minimal, correct frontmatter and clear sections describing purpose, usage, and workflow. Use it to add or fix skill definitions for a CLI-first banking agent environment.
The skill inspects the target skill directory name and enforces a regex-based naming convention. It generates or fixes the YAML frontmatter with required fields, validates description length, and ensures there are explicit sections for purpose, usage, and workflow. Finally, it verifies discoverability with the local skill discovery tool and reports errors to fix.
What fields are required in the frontmatter?
At minimum include name and description in the YAML frontmatter; keep description concise and within length limits.
How should I choose the skill name?
Use the directory name and follow the regex pattern: lowercase letters and digits, optionally separated by single hyphens.
How do I confirm the skill is discoverable?
Run the local skill discovery CLI tool; the skill should load without errors and appear in the tool's output.