About skill-creator
A skill for agents creating gbrain skills and extending a skill library. It guides gap and trigger-overlap checks, creates a conforming SKILL.md, updates the manifest and resolver, and runs conformance tests.
Key features
- 01Identify needs not covered by existing skills
- 02Check for overlapping skill triggers
- 03Create SKILL.md to the required standard
- 04Update the skill manifest and resolver
- 05Run skill conformance tests
Use cases
- 01Create a skill for an uncovered user intent
- 02Check that a new skill does not duplicate existing capabilities
- 03Add a skill to routing and the manifest
- 04Verify a skill file passes conformance tests
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ garrytan/ gbrain --skill skill-creatorAfter installing, type/skill-creatorin Claude Code to confirm it loaded.
Details
From the project READMESkill Creator
Contract
This skill guarantees:
- New skill follows conformance standard (frontmatter + required sections)
- MECE check: no overlap with existing skills' triggers
- Manifest.json updated
- RESOLVER.md updated with routing entry
- Skill passes conformance tests (
bun test test/skills-conformance.test.ts)
Phases
- Identify the gap. What capability is missing? What user intent has no skill?
- MECE check. Review
skills/manifest.jsonandskills/RESOLVER.md. Does any existing skill already cover this? If so, extend it instead of creating a new one. - Create SKILL.md. Use this template:
---
name: {skill-name}
version: 1.0.0
description: |
{One paragraph describing what the skill does and when to use it.}
triggers:
- "{trigger phrase 1}"
- "{trigger phrase 2}"
tools:
- {tool1}
- {tool2}
mutating: {true|false}
---
# {Skill Title}
## Contract
{What this skill guarantees — 3-5 bullet points}
## Phases
{Numbered workflow steps}
## Output Format
{What good output looks like}
## When it fails
Follow the [agent operator protocol](../conventions/agent-operator-protocol.md) for any gbrain error `code`, exit code, `[AGENT]` block or notice block. Specific to this skill:
{2-5 concrete failures this skill hits — error codes, refusals, notices — and what to do and tell the user}
## Anti-Patterns
{What NOT to do — 3-5 items}
## Tools Used
{GBrain operations used, with descriptions}
- Add to manifest. Update
skills/manifest.jsonwith name, path, description. - Add to resolver. Update
skills/RESOLVER.mdwith routing entry in the appropriate category. - Verify. Run
bun test test/skills-conformance.test.tsto confirm the new skill passes.
Output Format
New skills/{name}/SKILL.md file + updated manifest + updated resolver.
When it fails
Follow the agent operator protocol for any gbrain error code, exit code, [AGENT] block or notice block. Specific to this skill:
bun test test/skills-conformance.test.tsfails: the new SKILL.md lacks a required section (Contract, Anti-Patterns, Output Format, When it fails) or frontmatter; add it and re-run.gbrain check-resolvablereports the skill unreachable: add the RESOLVER row in a fitting category, then re-run.
Anti-Patterns
- Creating a skill that overlaps with an existing one (violates MECE)
- Skipping the MECE check against existing skills
- Creating a skill without triggers in frontmatter
- Not updating manifest.json and RESOLVER.md
- Creating a skill without an Anti-Patterns section
Comments
Markdown supported