Global Skill Creator
Agent Buildingglobal-skill-creatorGlobal Skill Creator is an Agent Skill for agent building published in the wcygan/dotfiles repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Create global Codex skills distributed through this dotfiles repository. Use when adding reusable Codex workflows under config/codex/skills or adapting a project-local skill for global use.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/wcygan/dotfiles/blob/HEAD/.codex/skills/global-skill-creator/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/global-skill-creator, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Global Skill Creator
Goal
Create a portable global Codex skill under config/codex/skills/.
Success means the skill has valid Codex frontmatter, useful trigger language, focused instructions, optional resources only when they add value, and a passing local validator run.
Stop when the skill is created or updated, validation passes, and the user has a concrete invocation example.
Workflow
- Read
config/codex/skills/.system/skill-creator/SKILL.mdfor the current Codex skill-authoring rules. - Ask for the skill's reusable purpose, trigger scenarios, and whether it needs references, scripts, templates, or assets.
- Create
config/codex/skills/<skill-name>/with a matchingSKILL.mdfrontmattername. - Use concise
descriptiontext that front-loads the key task and trigger words. - Keep detailed docs in
references/, deterministic helpers inscripts/, and output resources inassets/. - Generate
agents/openai.yamlwhen UI metadata is useful:
uv run --with pyyaml config/codex/skills/.system/skill-creator/scripts/generate_openai_yaml.py config/codex/skills/<skill-name>
- Validate the skill:
uv run --with pyyaml config/codex/skills/.system/skill-creator/scripts/quick_validate.py config/codex/skills/<skill-name>
- Run
make test-prewhen the change affects shared skill infrastructure, install/link behavior, or repo tests.
Dotfiles Context
This repository tracks global Codex skills in config/codex/skills. scripts/link-config.sh links that directory into ${CODEX_HOME:-~/.codex}/skills.
Keep global skills project-agnostic. Use .codex/skills for workflows that only make sense inside this dotfiles repository.