Copy the skill folder to your Codex skills directory:
mkdir -p "$CODEX_HOME/skills"
cp -R tools/codex/agdr-decide "$CODEX_HOME/skills/agdr-decide"If CODEX_HOME is not set, copy into your local Codex home:
mkdir -p ~/.codex/skills
cp -R tools/codex/agdr-decide ~/.codex/skills/agdr-decideInvoke the skill explicitly in a prompt:
$agdr-decide decide REST vs GraphQL for the new API
You can also rely on automatic triggering when a prompt clearly asks for a technical choice.
When Codex is about to make a non-trivial technical decision, the skill will:
- Stop before implementing
- Compare at least 2 real options with pros/cons
- Create an AgDR file at
docs/agdr/AgDR-NNNN-slug.md - Then proceed with implementation
| File | Purpose |
|---|---|
agdr-decide/SKILL.md |
Skill instructions for Codex decision gating and AgDR generation |