fieldtrip
tools / hosting / railway / codex

Railway in Codex.

Codex can read your logs and check deploys on Railway, but deploying or deleting anything needs your OK. This is for the Codex app or Codex in your Terminal, on your own Mac or Linux computer.

passed Nov 16 · Railway CLI

fieldtrip add railway

New to fieldtrip? Install it first: curl -fsSL fieldtrip.sh/install | sh

Codex can

  • Read build and app logs.
  • Check what's deployed and running.
  • Read your settings.

Asks you first

  • Deploy or redeploy.
  • Change live settings.
  • Delete anything.

Try asking Codex

Paste one into Codex. Underneath: what it runs.

How it’s set up for Codex

the keyIn 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 noteSaved as a skill in ~/.agents/skills/railway, where Codex looks. Codex reads it when you ask about Railway. It says how to use Railway, and what to check with you about first.
after setupQuit Codex and start it again. It reads its settings when it starts.
two checksCodex 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 itAsk Codex on your computer to run fieldtrip doctor. It should say “Running in Codex” and show a ✓ beside Railway.

Do this once.

  1. Make a key on Railway for one workspace, not "No workspace". fieldtrip will give you the link and tell you which to pick, and why.
  2. 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. Railway 5.74.0 passed all five checks, Mon, Nov 16 · 11:09 AM CST.

Each square is one night.

Other AIs

Railway in Claude Code → · Railway in Cursor →

← All of Railway: every AI, every version · Railway in Claude Code → · Railway in Cursor → · What’s a CLI?