Home / Docs / Connect Codex

Connect Codex

Codex doesn't have a hooks system like Claude Code, but it can run one command at the end of every turn — the notify setting. Silicon Workers uses it to learn "a turn just finished, take a look".

What you get

If you already use notify

Codex's notify can hold only one command. If your ~/.codex/config.toml already has one (say, desktop notifications), the one-click Connect wraps it instead of replacing it:

Manual wrapping (rare)

Only needed if your notify value is written in a form the auto-wrapper can't parse (e.g. a multi-line array). Create a small script that calls your original command first, then the capture script:

#!/bin/sh
/path/to/your-original-notify "$@"
/Users/YOU/.butler/hooks/codex-notify.sh "$@"

Make it executable and point notify at it. Two things to know:

Rolling back

Next: How it works · Uninstall