- Install the Val Town CLI and log in
- Install OpenAI Codex and log in
Creating and editing vals
Section titled “Creating and editing vals”The most reliable way to let Codex write vals for you is with vt watch, which will automatically sync your changes to Val Town.
vt create,vt remix, orvt clonea val. Select “Yes” to add editor files*cdinto your val’s directoryvt checkout -b <branch>to isolate changes (optional)vt watchto sync with Val Towncodexto start your Codex session
* Running vt create|remix|clone will prompt you to add editor files, including AGENTS.md with our system prompt, which Codex should recognize.