Use Picatory in Codex
Install Picatory as a Codex skill or through AGENTS.md, start it with $picatory, and get checked episodes and prompt sheets in your project.
On this page
Codex runs Picatory the same way Claude Code does: it reads the kit's instructions, writes the series into your project, runs the checker and renders the prompt sheets. You can install the kit as a skill (the simplest way) or point Codex at it from your project's AGENTS.md.
Before you start
- Codex: the CLI, the IDE extension or the app.
- The Picatory kit, downloaded and unzipped into a folder called
picatory. - Optional: Node.js 20 or newer for the checker included in the Base Kit. Without it, Codex checks by hand.
Install as a skill
Copy the picatory folder to one of these places:
| Scope | Path |
|---|---|
| Every project | ~/.agents/skills/picatory/ |
| One repository | .agents/skills/picatory/ at the repository root |
Codex detects new skills by itself; if Picatory does not show up, restart Codex. Check that the file ends up at …/skills/picatory/SKILL.md, with no extra picatory folder in between. OpenAI's skills documentation lists every location Codex reads.
Or install with AGENTS.md
Use this when you want the kit to live inside the repository, or when skills are not available where you run Codex.
- Copy the
picatoryfolder to the repository root. - Paste the text of
picatory/instructions/codex-AGENTS.mdinto the repository'sAGENTS.md. Create the file if there is none. - Commit both, so every copy of the repository has them.
Codex reads AGENTS.md files from the repository root down to the folder you start it in, so the Picatory section applies everywhere in the repository. See OpenAI's AGENTS.md guide.
Start a series
Type $picatory followed by your idea, or pick Picatory from /skills:
$picatory Two rival food-truck owners are forced to share one parking spot for a
summer. 5 episodes, 60 seconds, vertical, for Seedance and Veo.
With the AGENTS.md setup, just describe the series. Codex stops for your approval after the synopsis, the characters and the episodes. At the second stop, make one reference image per character from the prompts Codex gives you.
Depending on your approval settings, Codex may ask before it runs the checker. Approve the node commands that run picatory/bin/picatory.mjs.
Where your files go
series/<your-series>/
series.json
01-synopsis.md 02-characters.md 03-spine.md 04-episodes.md 05-checks.md
prompts/<tool>/E01.md …
Commit the series/ folder if you want a history of your revisions. Picatory never edits the kit folder itself.
Run the checker yourself
node ~/.agents/skills/picatory/bin/picatory.mjs check series/my-series/series.json
node ~/.agents/skills/picatory/bin/picatory.mjs render series/my-series/series.json --tool all --out series/my-series/prompts
With a repository install, use .agents/skills/picatory/bin/picatory.mjs or picatory/bin/picatory.mjs instead.
Add a genre pack
Move the pack's genres/<genre> folder into the genres/ folder of your installed kit. On macOS or Linux:
unzip picatory-genre-thriller-en-v1.0.0.zip -d ~/.agents/skills/
Troubleshooting
| Problem | Fix |
|---|---|
$picatory is not suggested |
Check the path ~/.agents/skills/picatory/SKILL.md and restart Codex. |
Codex writes inside the picatory folder |
Remind it: "Write only under series/." The AGENTS.md snippet says so too. |
| The checker cannot run | Install Node.js 20 or newer, or let Codex check by hand. |
| The answer stops halfway through a long series | Ask Codex to continue from the last finished episode; series.json keeps everything written so far. |