Sentry in Codex.
Codex can read your errors and what caused them, so it can fix them. This is for the Codex app or Codex in your Terminal, on your own Mac or Linux computer.
passed Nov 16 · Sentry
fieldtrip add sentryNew to fieldtrip? Install it first: curl -fsSL fieldtrip.sh/install | sh
Codex can
- Read your errors and what caused them.
- Get Sentry's AI to suggest a fix.
- Mark issues fixed, if your key allows it.
Can't do
- Delete anything.Sentry refuses without you.
Try asking Codex
Paste one into Codex. Underneath: what it runs.
What are my most common errors this week?
sentry issue list --json --limit 10 --sort freq --period 7dShow me the stack trace for MY-APP-1A.
sentry issue events MY-APP-1A --json --limit 5 --fullFind the cause of MY-APP-1A and fix it.
sentry issue explain MY-APP-1A --jsonMark MY-APP-1A as resolved.
sentry issue resolve MY-APP-1Aasks you firstyour key needs Issue & Event: Write
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/sentry, where Codex looks. Codex reads it when you ask about Sentry. It says how to use Sentry, 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 Sentry. |
Do this once.
- Make a key on Sentry. Reading errors is enough to start. 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. Sentry 0.49.0 passed all five checks, Mon, Nov 16 · 11:09 AM CST.
Each square is one night.
Other AIs
← All of Sentry: every AI, every version · Sentry in Claude Code → · Sentry in Cursor → · What’s a CLI?