Nima Skill Creator
by @nimachu
Create, refactor, and improve Codex-compatible skills with gated requirement discovery, reusable resource planning, executable scaffolding scripts, and valid...
clawhub install nima-skill-creatorπ About This Skill
name: nima-skill-creator description: Create, refactor, and improve Codex-compatible skills with gated requirement discovery, reusable resource planning, executable scaffolding scripts, and validation. Use when building a new skill, tightening an existing SKILL.md, adding scripts/references/assets, or redesigning a skill around tool-wrapper, generator, reviewer, inversion, or pipeline patterns.
Nima Skill Creator
Treat skill creation as workflow design, not just file formatting.
Start Here
1. Ground the skill in 2-4 concrete user requests before writing structure.
2. Choose the simplest fitting pattern from design-patterns.md.
3. Create only the resources that remove repeated work: scripts/, references/, assets/, and optionally agents/openai.yaml.
4. Keep SKILL.md procedural and concise. Move deep detail into references/.
5. Validate before packaging.
Do not create the skill body until the trigger examples, outputs, and reusable resources are clear.
Phase 1: Discovery Gate
Run this phase first. Do not jump into implementation until the gaps below are resolved.
Capture:
Ask in Chinese when the user is exploring requirements. Keep it short and concrete. Use the prompts in interaction-guide.md if the request is underspecified.
Before moving on, summarize:
Phase 2: Pattern Selection
Choose one primary pattern, then add a secondary pattern only if it removes ambiguity.
tool-wrapper, generator, reviewer, inversion, or pipeline.inversion when the agent must collect structured context before acting.generator when output shape must stay consistent.reviewer when evaluation criteria should live in a checklist.pipeline when steps must happen in order with explicit checkpoints.tool-wrapper when the main value is on-demand domain guidance.For most skill-creation requests, combine:
inversion for discoverygenerator for scaffoldingreviewer for validationpipeline for the overall sequencePhase 3: Resource Planning
Translate the examples into reusable artifacts.
scripts/.references/.assets/.Use best-practices.md to tighten naming, frontmatter, and progressive disclosure. Use workflows.md to shape staged skills with gates.
Avoid:
README.md, PROJECT.md, or status reports inside the skill folder.SKILL.md and references/.Phase 4: Implementation
When creating a new skill, initialize it with the provided scripts instead of hand-building the folder.
Create a new skill
python3 scripts/init_skill.py my-skill --path "${CODEX_HOME:-$HOME/.codex}/skills" --resources scripts,references
Optional:
python3 scripts/init_skill.py my-skill --path /path/to/skills --resources scripts,references,assets --examples --interface display_name="My Skill" --interface short_description="Create or update My Skill tasks"
Validate a skill
python3 scripts/validate_skill.py /path/to/skill
Package a skill
python3 scripts/package_skill.py /path/to/skill
Phase 5: Review Gate
Before calling the skill done, verify:
name and description.description explains both function and trigger scenarios.SKILL.md tells the agent what to do, not what the project is.SKILL.md.If the skill still feels vague, run another discovery pass instead of adding filler.
Output Shape
When responding to a user about a skill you are creating or improving, prefer this order:
1. Discovery summary 2. Chosen pattern and why 3. Planned resources 4. Files created or changed 5. Validation result
Use output-patterns.md when you need a compact deliverable format.