Reusable skills for Codex-style coding agents, including OpenAI Codex CLI, Code, and Every Code.
Each skill lives in its own directory with a SKILL.md file. Skills can include
supporting references, scripts, agents, assets, and examples when the workflow
benefits from more than a single instruction file.
Clone this repository somewhere durable, then symlink it into the agent config directory:
git clone git@github.com:OWNER/codex-skills.git ~/Developer/codex-skills
ln -s ~/Developer/codex-skills ~/.code/skillsIf ~/.code/skills already exists, move it aside before creating the symlink.
This repository is intended to be safe for public sharing. Put personal, machine-specific, client-specific, or private workflow data in ignored local files instead of committing it.
Preferred patterns:
.local/
*.local.*
Examples:
.local/profile.md
.local/github-repo-workflow.md
.local/github-plan.md
When a skill needs local context, it should treat the local file as optional and
continue to work without it. Commit *.example.md files when a template would
help other users configure their own private overlay.
Avoid storing tokens or passwords even in ignored files. Prefer environment variables, credential helpers, or secret managers, and document only the variable names a skill expects.
The GitHub workflow skill includes github-repo-workflow/scripts/gh-with-env-token,
a small wrapper around gh that reads an ignored .env file and exports a token
only for the command it runs.
Copy .env.example to .env and set one of:
GH_TOKENGITHUB_TOKENCODEX_GITHUB_TOKEN
Then call:
github-repo-workflow/scripts/gh-with-env-token pr viewThe .env file is ignored by git. Do not commit real tokens.
Before publishing or pushing a new skill, scan for:
- personal home paths
- private repository, organization, client, or project names
- tokens, keys, passwords, and copied command output containing secrets
- generated local runtime files
- files under
.system/,.local/, or.disabled/
One useful local scan:
rg -n --hidden --glob '!**/.git/**' \
'(TOKEN|SECRET|PRIVATE|/Users/|github_pat_|ghp_|sk-[A-Za-z0-9])'