Notion in Codex.
Codex can search, read and write the Notion pages you share with it, and nothing else. Trashing a page needs your OK. This is for the Codex app or Codex in your Terminal, on your own Mac or Linux computer.
passed Nov 16 · Notion CLI
fieldtrip add notionNew to fieldtrip? Install it first: curl -fsSL fieldtrip.sh/install | sh
Codex can
- Search and read the pages you share.
- Write and edit them, if you let it.
- Leave comments, if you let it.
Asks you first
- Trash a page.
- Delete what's on a page.
Can't do
- See pages you didn't share.
Try asking Codex
Paste one into Codex. Underneath: what it runs.
Find my roadmap page in Notion.
ntn api v1/search query=roadmapSummarise the Q4 plan page.
ntn pages get <page-id>Write up today's notes as a new page under Meetings.
ntn pages create --parent page:<id>your key needs Insert contentComment on the roadmap that the launch moved.
ntn api v1/comments …your key needs Insert commentsTrash the old draft page.
ntn pages trash <id> --yesasks you firstyour key needs Update content
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/notion, where Codex looks. Codex reads it when you ask about Notion. It says how to use Notion, 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 Notion. |
Do this once.
- Make a connection in Notion, read-only to start, and share the pages your AI may use. fieldtrip will give you the link and tell you which boxes to tick, and why.
- 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
Yes. Notion 0.23.30 passed all five checks, Mon, Nov 16 · 11:09 AM CST.
Each square is one night.
Other AIs
← All of Notion: every AI, every version · Notion in Claude Code → · Notion in Cursor → · What’s a CLI?