💡 Summary
A CLI tool that routes tasks to skill playbooks stored in markdown files.
🎯 Target Audience
🤖 AI Roast: “Powerful, but the setup might scare off the impatient.”
Risk: Medium. Review: shell/CLI command execution; filesystem read/write scope and path traversal. Run with least privilege and audit before enabling in production.
codex-skills
Small CLI that routes tasks to skill playbooks stored as SKILL.md files. The binary ships with two bundled skills (brand-guidelines, frontend-design) and can load any additional skills you add to a skills directory.
Install
- From this repo:
cargo install --path . --force - Confirm:
codex-skills list
Build the binary
- Release:
cargo build --release - Debug (faster compile):
cargo build - Binary output:
target/release/codex-skills(ortarget/debug/codex-skills) - Run locally:
./target/release/codex-skills list
Quickstart (correct flag order)
The global options (like --skills-dir) must appear before the subcommand.
# use default ./skills folder codex-skills init --force codex-skills instructions codex-skills list codex-skills pick "your task description" --top 3 --show codex-skills show "<skill-name>" # use a custom skills directory codex-skills --skills-dir /path/to/skills init --force codex-skills --skills-dir /path/to/skills list
You can also set SKILLS_DIR=/path/to/skills instead of passing --skills-dir.
Adding a new skill
- Create a folder under
skills/with a slugged name (e.g.,skills/my-new-skill). - Add a
SKILL.mdfile with YAML frontmatter followed by the playbook body:
--- name: My New Skill description: One-sentence summary of what this skill covers. tags: - keyword1 - keyword2 --- Write the detailed playbook here. Include step-by-step guidance the agent should follow.
- Keep the file name
SKILL.md(case-insensitive variantsskill.mdalso load). - Test loading:
codex-skills listandcodex-skills show "My New Skill".
Notes:
- The CLI searches recursively under the skills directory for
SKILL.mdfiles. init --forcewrites the bundled example skills; it won’t overwrite your additions unless they share the same paths.- When embedding new default skills into the binary, place them in
skills/and rebuild (cargo install --path . --force).
Troubleshooting
- “unexpected argument '--skills-dir'”: move the flag before the subcommand (see Quickstart).
- “No skills found in skills”: ensure your
SKILL.mdfiles exist and are readable; runcodex-skills listfrom the directory containingskills/or point--skills-dirto it.
Pros
- Flexible skill management through markdown files
- Easy to add new skills
- Supports custom skills directories
Cons
- Requires familiarity with CLI tools
- Limited built-in skills
- Dependency on markdown format for skills
Related Skills
cc-wf-studio
A“A visual workflow editor that might just make coding feel like a game of Tetris.”
pytorch
S“It's the Swiss Army knife of deep learning, but good luck figuring out which of the 47 installation methods is the one that won't break your system.”
agno
S“It promises to be the Kubernetes for agents, but let's see if developers have the patience to learn yet another orchestration layer.”
Disclaimer: This content is sourced from GitHub open source projects for display and rating purposes only.
Copyright belongs to the original author mosif16.
