Netlify in Codex.
Codex can make test deploys and read logs on Netlify, but going live or deleting anything needs your OK. This is for the Codex app or Codex in your Terminal, on your own Mac or Linux computer.
failed Nov 16 · Netlify CLI
fieldtrip add netlifyNew to fieldtrip? Install it first: curl -fsSL fieldtrip.sh/install | sh
Codex can
- Make draft deploys and share the link.
- Read your logs and settings.
Asks you first
- Put a deploy live.
- Delete a site or stored files.
- Change your settings or secrets.
Try asking Codex
Paste one into Codex. Underneath: what it runs.
Make a draft deploy and send me the link.
netlify deploy --dir dist --jsonList my sites.
netlify sites:list --jsonShow me my site's recent logs.
netlify logs --jsonPut the draft live.
netlify deploy --prod --dir dist --jsonasks you first
How it’s set up for Codex
| the key | In Codex's own settings, ~/.codex/config.toml, in the part that only applies to the commands Codex runs. Your Terminal can't see it. |
|---|---|
| the note | Saved as a skill in ~/.agents/skills/netlify, where Codex looks. Codex reads it when you ask about Netlify. It says how to use Netlify, and what to check with you about first. |
| after setup | Quit Codex and start it again. It reads its settings when it starts. |
| two checks | Codex has its own settings for when it asks before running a command. fieldtrip's note adds a check that doesn't depend on them. |
| check it | Ask Codex on your computer to run fieldtrip doctor. It should say “Running in Codex” and show a ✓ beside Netlify. |
Do this once.
- Make a key on Netlify. It reaches every site you can, so use a separate account if your AI should see less. fieldtrip will give you the link.
- Paste your key when fieldtrip asks you to.
Your key goes into your Terminal when fieldtrip asks. It never goes through Codex’s chat.
Checked every night
Not last night. Likely a hiccup, not Netlify.
| version | 27.19.0 |
|---|---|
| what failed | installing |
| why | npm stopped without saying why |
| when | Mon, Nov 16 · 11:09 AM CST |
| before | passed Nov 15 on this same version |
Each square is one night.
Other AIs
← All of Netlify: every AI, every version · Netlify in Claude Code → · Netlify in Cursor → · What’s a CLI?