$npx -y skills add dkyazzentwatwa/chatgpt-skills --skill skill-creatorCreate or update agent skills with concise SKILL.md instructions, bundled resources, agent metadata, validation, and packaging. Use when building or refactoring skills.
| 1 | # Skill Creator |
| 2 | |
| 3 | Design or refactor skills so they are small, triggerable, and mechanically valid. |
| 4 | |
| 5 | ## Workflow |
| 6 | |
| 7 | 1. Define the exact user requests that should trigger the skill. |
| 8 | 2. Keep `SKILL.md` short and put deep detail in `references/`. |
| 9 | 3. Add only the scripts, assets, or references that make execution materially more reliable. |
| 10 | 4. Generate `agents/openai.yaml` and validate before packaging. |
| 11 | |
| 12 | ## Scripts |
| 13 | |
| 14 | - `scripts/init_skill.py` initializes a new skill with optional resource folders and `agents/openai.yaml`. |
| 15 | - `scripts/generate_openai_yaml.py` writes `agents/openai.yaml` from explicit interface values. |
| 16 | - `scripts/quick_validate.py` enforces strict frontmatter, directory naming, agent metadata, and script dependency rules. |
| 17 | - `scripts/package_skill.py` validates first, then zips the skill for distribution. |
| 18 | |
| 19 | ## Rules |
| 20 | |
| 21 | - Keep frontmatter to `name` and `description` only. |
| 22 | - Make `description` do the trigger work: what the skill does and when to use it. |
| 23 | - Match the folder name exactly to `name`. |
| 24 | - Prefer one focused workflow over a kitchen-sink skill. |
| 25 | - Remove placeholder files and generic boilerplate before publishing. |
| 26 | |
| 27 | ## Typical Commands |
| 28 | |
| 29 | ```bash |
| 30 | python3 skill-creator/scripts/init_skill.py my-skill --path . |
| 31 | python3 skill-creator/scripts/generate_openai_yaml.py my-skill \ |
| 32 | --interface display_name="My Skill" \ |
| 33 | --interface short_description="One-line summary" \ |
| 34 | --interface default_prompt="Help me use this skill." |
| 35 | python3 skill-creator/scripts/quick_validate.py my-skill |
| 36 | python3 skill-creator/scripts/package_skill.py my-skill ./dist |
| 37 | ``` |