Skills Everywhere: Portable Playbooks for Codex, Claude, and Dia

Codex now supports drop-in skills: small, documented bundles that tell the CLI how to act. They live in ~/.codex/skills/<name>/SKILL.md, load automatically, and can be listed with codex --enable skills (see the Codex skills doc).

🤔 Problem

Repeated instructions slow down every session: how to parse a PDF, how to triage logs, how to scaffold a new repo. Without a shared skill format, each agent stack invents its own prompts and teams lose consistency. Claude and Dia already expose skill catalogs, so a portable Codex format keeps your workflows aligned across tools (Claude skill docs, Dia skills gallery).

🛠️ Solution

Think of a skill as a mini playbook expressed in Markdown. Codex looks for SKILL.md files under ~/.codex/skills/** and loads their metadata on startup.

How to define one:

  1. Create a folder named after the skill and add SKILL.md with a short name and description block.
  2. Describe the intent in a few bullet points. Keep it tight to stay KISS and DRY.
  3. Include reminders or linked scripts if the skill needs tools (scripts/ or references/ work well).
  4. Restart Codex or run codex --enable skills to confirm it loads.

Mini template:

---
name: my-skill
description: One-line purpose
---

# What it does
- Step 1
- Step 2

Why bother:

🧪 Example

pdf-processing is a small skill that ships with two bullets:

It lives at ~/.codex/skills/pdf-processing/SKILL.md and loads automatically. From a terminal:

codex --enable skills
# ...you should see: pdf-processing - extract text and tables from PDFs

Real-world skills you can copy today:

🚀 Take it further

Codex skills turn your best prompts into reusable parts. Start with one, keep it small, and let the catalog grow with the way your team works.

Comments