Codex Installation#
Install Vibetracker to track your OpenAI Codex sessions.
Quick Install (Recommended)#
Run the install command to automatically configure Codex:
bunx vibetracker install --source codexThis adds the notify hook to ~/.codex/config.toml.
Manual Installation#
Configure Hooks#
Add the following to your ~/.codex/config.toml:
notify = ["bunx", "vibetracker", "ingest", "--source", "codex"]The notify hook triggers on agent-turn-complete events, automatically capturing session data. The hook receives a JSON payload via stdin containing session_id, transcript_path, and cwd.
Transcript Location#
Codex stores session transcripts in:
~/.codex/sessions/YYYY/MM/DD/<session-id>.jsonlEach line in the JSONL file contains one of:
session_meta- Session metadata including git infoturn_context- Model and approval settings per turnresponse_item- Messages and function callsevent_msg- User messages and token counts
Verify Installation#
Check that events were captured:
bunx vibetracker status