
Skill Creator
- 261 installs
- 125 repo stars
- Updated February 4, 2026
- igorwarzocha/opencode-workflows
Scaffold new agent skills with structure, triggers, and references so custom capabilities plug cleanly into OpenCode or Claude Code workflows.
About
skill-creator from igorwarzocha/opencode-workflows guides agents through authoring new Claude skills with proper structure, triggers, and bundled resources. It targets agent and CLI workflows where teams repeatedly package domain know-how into installable, maintainable skill modules.
- Scaffolds new agent skills
- Defines triggers and skill structure
- Fits OpenCode workflow repos
- Encourages reusable agent extensions
- Speeds custom capability packaging
Skill Creator by the numbers
- 261 all-time installs (skills.sh)
- +7 installs in the week ending Aug 2, 2026 (Skillselion tracking)
- Ranked #2,472 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Data as of Aug 2, 2026 (Skillselion catalog sync)
npx skills add https://github.com/igorwarzocha/opencode-workflows --skill skill-creatorAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 261 |
|---|---|
| repo stars | ★ 125 |
| Last updated | February 4, 2026 |
| Repository | igorwarzocha/opencode-workflows ↗ |
What it does
Scaffold new agent skills with structure, triggers, and references so custom capabilities plug cleanly into OpenCode or Claude Code workflows.
Files
Skill Creator
Create opencode skills that extend agent capabilities with specialized knowledge and workflows.
<overview>
What Skills Provide
- Specialized workflows - Multi-step procedures for specific domains
- Tool integrations - Instructions for file formats, APIs, libraries
- Domain expertise - Company-specific knowledge, schemas, business logic
- Bundled resources - Reusable scripts, references, and assets
Skill Locations
| Scope | Path |
|---|---|
| Project | .opencode/skill/<name>/SKILL.md |
| Global | ~/.config/opencode/skill/<name>/SKILL.md |
- Project skills: Team-shared, repo-specific (e.g.,
our-api-patterns,project-deploy) - Global skills: Personal tools for all projects (e.g.,
pdf-editor,commit-helper)
For project paths, OpenCode walks up from cwd to git worktree root.
</overview>
<structure>
Skill Structure
skill-name/
├── SKILL.md # Required - frontmatter + instructions
├── scripts/ # Optional - executable code (Python/Bash)
├── references/ # Optional - docs loaded on-demand
└── assets/ # Optional - templates, images, fontsSKILL.md Format
---
name: skill-name
description: [Self-contained workflow summary — see guidelines below]
---
# Instructions here (markdown body)Name: Short, hyphen-case identifier. Should be descriptive but concise (max 64 chars).
Description: Agent sees this + the name before loading. Must be self-contained with:
- What workflow/capabilities it provides
- "Use proactively when" trigger contexts
- 3-5 concrete examples
CRITICAL: The `description` field is the primary trigger mechanism.
Skills are SOPs/workflows, NOT agents. DO NOT use role descriptions like "You are a..." or "[Role] expert."
Before loading, the agent sees only the name and description in <available_skills>:
<available_skills>
<skill>
<name>skill-name</name>
<description>...</description>
</skill>
</available_skills>The description must be self-contained — agents won't load a skill just to "see what it does."
Name + description should work together:
- Name: Short, hyphen-case identifier (e.g.,
typescript-advanced) - Description: Self-contained workflow summary with capabilities, triggers, and examples
Description pattern (LLM-optimized):
---
name: skill-name
description: |-
[Action verb/capabilities]. Use for [specific cases]. Use proactively when [contexts].
Examples:
- user: "query" → action
- user: "query" → action
---Dense, machine-parseable, specific. Avoid prose.
CRITICAL YAML SYNTAX: Multi-line descriptions with examples MUST use literal block scalar (|-). The hyphen strips the trailing newline. Do NOT use plain YAML with unquoted colons or lists:
# ❌ WRONG - breaks YAML parsing
description: Handle plugins. Examples:
- user: "..." → action
# ✅ CORRECT - use |- for multi-line
description: |-
Handle plugins.
Examples:
- user: "..." → actionExample:
---
name: typescript-advanced
description: |-
Handle TypeScript 5.9 advanced typing, generics, strict configs, type errors, migrations,
erasable syntax compliance, and test writing. Use proactively for complex generics,
conditional types, utility types, TS compiler config, or test authoring.
Examples:
- user: "Create a type-safe event emitter" → implement with generics and mapped types
- user: "Migrate to strict TypeScript" → add discriminated unions, exhaustive checks
- user: "Build typed API client from OpenAPI" → generate request/response types with inference
- user: "Write unit tests" → create strict, typed tests with realistic fixtures
---Requirements:
- Start with action verb (NOT "You are" or "[Role] expert")
- List specific capabilities (vague "helps with X" = ignored)
- Include "Use proactively when" trigger contexts
- Provide 3-5 concrete
user: "..." → ...examples - Use
|-literal block scalar for multi-line descriptions (plain YAML with lists/colons breaks parsing) - Dense, LLM-parseable — description alone must justify loading
Reduce redundancy: Don't repeat description content in SKILL.md body.
Bundled Resources
| Directory | Purpose | When to use |
|---|---|---|
scripts/ | Reusable Python/Bash code | Same code rewritten repeatedly |
references/ | Docs, schemas, API specs | Info agent needs while working |
assets/ | Templates, images, fonts | Files used in output (not loaded) |
MUST NOT include: README.md, CHANGELOG.md, INSTALLATION_GUIDE.md, or other auxiliary docs. Skills contain only what the agent needs to do the job.
</structure>
<principles>
Core Principles
Be Concise
The context window is shared. Only add info the agent doesn't already have.
- Challenge each paragraph: "Does this justify its token cost?"
- Prefer examples over explanations
- SHOULD keep SKILL.md under 500 lines
Match Freedom to Fragility
| Freedom Level | Format | Use When |
|---|---|---|
| High | Text instructions | Multiple valid approaches |
| Medium | Pseudocode/parameterized scripts | Preferred pattern exists |
| Low | Specific scripts | Fragile ops, consistency critical |
Progressive Disclosure
1. Metadata (name + description) - Always loaded (~100 words)
- The
descriptionis the PRIMARY discovery mechanism - Agents see this and decide whether to load the skill
- If description is vague, the skill will never be used
2. SKILL.md body - Loaded when skill triggers
- Core workflow and detailed instructions
- Keep focused on what the agent needs to do the work
3. Bundled resources - Loaded on-demand by agent
- Move variant-specific details to
references/
Keep core workflow in SKILL.md. Move variant-specific details to references/.
Example structure:
cloud-deploy/
├── SKILL.md (workflow + provider selection)
└── references/
├── aws.md
├── gcp.md
└── azure.mdAgent loads only the relevant provider file.
</principles>
<workflow>
Creation Process
1. Understand → Gather concrete usage examples 2. Plan → Identify reusable scripts/references/assets 3. Initialize → Create directory and SKILL.md manually 4. Edit → Write SKILL.md frontmatter + body, add resources 5. Validate → Verify the skill loads and triggers correctly 6. Iterate → Test, improve, repeat
Step 1: Understand
Gather concrete examples of how the skill will be used. Ask:
- "What should this skill do?"
- "What requests should trigger it?"
- "Can you give example user queries?"
Skip only if usage patterns are already clear.
Step 2: Plan
For each use case, identify reusable resources:
| If you find yourself... | Add to... |
|---|---|
| Rewriting same code | scripts/ |
| Re-discovering schemas/docs | references/ |
| Copying same templates | assets/ |
Examples:
pdf-editor: "Rotate this PDF" →scripts/rotate_pdf.pybigquery: "How many users today?" →references/schema.mdfrontend-builder: "Build me a todo app" →assets/react-template/
Step 3: Initialize
Create the skill directory and SKILL.md manually:
# Global skill (personal tools)
mkdir -p ~/.config/opencode/skill/my-skill
# Project skill (team-specific)
mkdir -p .opencode/skill/my-skillCreate SKILL.md with frontmatter:
---
name: my-skill
description: |-
[Workflow/capabilities]. Use for [specific cases]. Use proactively when [contexts].
Examples:
- user: "query" → action
- user: "query" → action
---
# [Skill Name]
[Instructions start here]Description template example:
---
name: typescript-advanced
description: |-
Handle TypeScript 5.9 advanced typing, generics, strict configs, type errors, migrations,
and test writing. Use proactively for complex generics, conditional types, utility types, TS compiler
config, or test authoring.
Examples:
- user: "Create a type-safe event emitter" → implement with generics and mapped types
- user: "Migrate to strict TypeScript" → add discriminated unions, exhaustive checks
- user: "Build typed API client from OpenAPI" → generate request/response types with inference
- user: "Write unit tests" → create strict, typed tests with realistic fixtures
---Add optional directories as needed:
cd my-skill
mkdir scripts references assets # only create what you'll actually useStep 4: Edit
Writing guidelines:
- MUST use imperative form ("Run the script", not "You should run")
- SHOULD use bullet points over prose
- SHOULD link to references for detailed info
- MUST test all scripts before including
Frontmatter requirements:
name: lowercase-hyphen format, must match directory name exactlydescription: CRITICAL — follow the format specified in <structure> above. This is how agents discover your skill.
Step 5: Validate
Verify the skill is discoverable:
1. Check structure:
SKILL.mdexists in skill directory- Directory name matches
name:in frontmatter exactly - YAML frontmatter is valid
2. Test discovery:
- The skill should appear in agent's
<available_skills>section - Description should be specific enough to match relevant queries
3. Verify triggers:
- Read your description — would you know when to use this skill based solely on it?
- Do the examples cover the main use cases?
Note: Skills are used directly from their directories. No packaging or installation step required.
Step 6: Iterate
After real usage: 1. Notice where the skill fails to trigger or provides unclear guidance 2. Update the description to include missing trigger contexts 3. Add more examples to the description or SKILL.md body 4. Re-validate discovery and triggers
</workflow>
<permissions>
Agent Permissions
Control skill access per-agent in agent config:
{
"permission": {
"skill": { "*": "deny", "my-skill": "allow" }
}
}Values: "allow", "deny", "ask". Use "*" as wildcard default.
</permissions>
<question_tool>
Batching: Use the question tool for 2+ related questions. Single questions → plain text.
Syntax: header ≤12 chars, label 1-5 words, add "(Recommended)" to default.
When to ask: Ambiguous request, multiple skill patterns apply, or scope unclear.
</question_tool>
<bundled_references>
Available References
This skill includes reference documents for advanced patterns. Load on-demand:
| Reference | When to Load |
|---|---|
references/output-patterns.md | Designing template outputs, example-based guidance |
references/workflows.md | Sequential or conditional workflow structures |
Usage: Read the relevant reference file when you need detailed patterns beyond the core workflow.
</bundled_references>
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.Output Patterns
<template_pattern>
Template Outputs
Strict format (for API responses, data formats):
ALWAYS use this structure:
# [Title]
## Executive summary
[One paragraph]
## Key findings
- Finding 1
- Finding 2
## Recommendations
1. Action 1
2. Action 2- MUST use exact structure for strict templates
- MUST NOT deviate from specified headings
Flexible format (when adaptation useful):
Default format (adjust as needed):
# [Title]
## Summary
## Findings
## Recommendations- SHOULD follow default structure
- MAY adjust based on content needs
</template_pattern>
<examples_pattern>
Example-Based Outputs
Show input/output pairs when output style matters:
**Example 1:**
Input: Added user auth with JWT
Output:feat(auth): implement JWT authentication
Add login endpoint and token middleware
**Example 2:**
Input: Fixed date display bug
Output:fix(reports): correct date timezone conversion
- SHOULD use examples over descriptions for style guidance
- SHOULD include 2-3 examples covering different cases
</examples_pattern>
Workflow Patterns
<sequential>
Sequential Workflows
List numbered steps at the start of SKILL.md:
PDF form filling:
1. Analyze form → run `analyze_form.py`
2. Map fields → edit `fields.json`
3. Validate → run `validate_fields.py`
4. Fill → run `fill_form.py`
5. Verify → run `verify_output.py`- MUST number steps in execution order
- SHOULD include tool/script references for each step
- MAY include decision points between steps
</sequential>
<conditional>
Conditional Workflows
Use decision trees for branching logic:
1. Determine type:
- **Creating?** → See "Creation workflow"
- **Editing?** → See "Editing workflow"
2. Creation workflow: [steps]
3. Editing workflow: [steps]- MUST define decision criteria clearly
- SHOULD group related steps under named workflows
- MAY nest conditionals (max 2 levels)
</conditional>