create-skill

Create and update OpenCode skill definitions with SKILL.md and README catalog entries.

5|1|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/garethrhughes/fragile --skill create-skill-garethrhughes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-skill
Source: https://github.com/garethrhughes/fragile/tree/main/.opencode/skills/create-skill
Command: npx skills add https://github.com/garethrhughes/fragile --skill create-skill-garethrhughes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the guesswork from creating or updating OpenCode skills by turning a vague idea into a complete, correctly structured skill definition.

Core Features & Use Cases

  • Skill discovery and mode selection: Determines whether the request is for a brand-new skill or an update to an existing one.
  • Structured skill interview: Collects the skill’s identity, purpose, workflow, outputs, tool usage, project context, and operating rules.
  • Ready-to-use authoring: Produces a final SKILL.md with proper frontmatter, required sections, and a matching README catalog entry when needed.
  • Use case: A team member wants to add a new project-local skill for release checks and needs the full file generated in the correct repository format.

Quick Start

Use the create-skill skill to interview me for a new or existing OpenCode skill and return the finished SKILL.md plus the matching skills README row.

Frequently Asked Questions about create-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an OpenCode skill definition with the correct frontmatter?

Creating an OpenCode skill involves a structured interview that captures the skill's identity, workflow, and tool usage to generate a SKILL.md file with validated frontmatter and required sections.

What is the best way to update an existing OpenCode skill?

The best way to update an existing OpenCode skill is through a structured interview that adjusts workflow specifications and operating rules, then regenerates the SKILL.md file with validated frontmatter.

Does generating a new OpenCode skill also update the repository README?

Yes, generating an OpenCode skill produces a matching README catalog entry row, ensuring proper repository registration alongside the final SKILL.md file in project-local or global repositories.

How do I specify MCP tools and project context when authoring an OpenCode skill?

You specify MCP tools and project context during the skill authoring interview by defining tool usage and project-context templating, ensuring the generated OpenCode skill operates with correct environment configurations.

Can I use this approach to build project-local skills for specific workflows like release checks?

Yes, you can build project-local skills for workflows like release checks by defining the workflow specification and output formatting during the interview, yielding a complete skill definition in the correct repository format.