Friday for Codex is a local macOS project that gives Codex a voice-triggered wake flow.
You say a wake phrase, the greeting starts almost immediately, Codex opens, and then you get a spoken briefing about what to do next based on your recent work context.
This project is inspired by the FRIDAY/JARVIS vibe, but it is built as a practical local automation setup, not as a fake cinematic demo.
- Plays a pre-rendered greeting immediately.
- Opens the Codex app in the right workspace.
- Reads out a cached spoken briefing so wake-up feels fast.
- Refreshes that briefing every 30 minutes with a macOS LaunchAgent.
- Builds the briefing from Chronicle summaries, recent Codex chats, emails, and calendar context.
- Uses a proper macOS voice trigger through Voice Control.
The wake flow is designed to feel fast because the expensive work is done before you wake it.
- A 30-minute background refresh prepares the latest briefing.
- You say your wake phrase.
- The wake command runs
Friday for Codex Wake. - A greeting plays immediately.
- Codex opens.
- The cached briefing audio plays.
- If the cache is older or missing, the project falls back to a live refresh.
Important detail:
- the greeting is live immediately
- the briefing is supposed to come from hot cached audio
- the refresh job keeps that cache ready in the background
The spoken briefing is generated from multiple sources together:
- Chronicle memory summaries
- the 10 most recently updated Codex chats
- the last 10 received emails
- Google Calendar context
The ranking logic is meant to balance:
- urgency
- importance
- deadline proximity
- time remaining
- blocking impact
- whether the same task appears across multiple sources
Chronicle is treated as the strongest signal for what you were actively doing recently, but email and calendar can still outrank it if something is genuinely more urgent.
Important:
- this project does not use live Chronicle screenshots anymore
- it uses Chronicle summary files when they exist
- if Chronicle summaries are missing, it falls back to chats plus email and calendar
That keeps the refresh path lighter and more stable.
You need:
- macOS
- Apple silicon if you want voice activation
- Homebrew
- Codex CLI already installed and working
- Codex logged in with the connectors you want to use
- Chronicle enabled in Codex if you want Chronicle-based work context
- Accessibility permission for the setup helpers when macOS asks for it
Clone the repo:
git clone https://github.com/mxdhavgautam/friday-for-codex.git
cd friday-for-codexRun the installer:
./install.shThat one command will:
- install
python@3.11through Homebrew if needed - install
ffmpegthrough Homebrew if needed - create
.venv-coqui - install the Python dependencies
- download the XTTS model into
xtts-model/ - pre-render the greeting bank
- build the first cached briefing
- install the 30-minute LaunchAgent refresh job
- create a stable machine-level launcher in
~/Library/Application Support/FridayForCodex/ - import or reuse the shortcut
Friday for Codex Wake - enable Voice Control if needed
- create the wake phrase command in Voice Control
- switch Voice Control into
Command Modeso normal speech is ignored instead of being typed into text fields
The default wake phrase is:
wake up daddy's home
You can override it:
./install.sh --wake-phrase "your custom phrase"If you want the local briefing stack without the voice trigger for now:
./install.sh --skip-voice-activationThe current trigger design is:
Voice Control- one custom command for your wake phrase
- action:
Run Shortcut - shortcut:
Friday for Codex Wake
This project used to rely on a slower Siri-style path. The current Voice Control path is faster because it removes that extra handoff.
The installer manages these pieces for you:
- stable launcher:
~/Library/Application Support/FridayForCodex/friday-wake.command - machine install state:
~/Library/Application Support/FridayForCodex/install_state.json - imported shortcut:
Friday for Codex Wake - Voice Control custom command for your phrase
- Voice Control
Command Mode
Why Command Mode matters:
Dictation Modecan dump heard speech into focused text fieldsCommand Modemakes Voice Control listen for commands without acting like dictation
That is why the installer explicitly switches to Command Mode.
This repo keeps the project runtime local instead of scattering it all over your system.
Project-local runtime folders:
.venv-coqui/xtts-model/out/coqui/tmp/cache/.cache/logs/
Machine-level helper files:
~/Library/Application Support/FridayForCodex/friday-wake.command~/Library/Application Support/FridayForCodex/install_state.json~/Library/LaunchAgents/com.fridayforcodex.refresh.plist
Important:
- the imported macOS Shortcut lives in Apple’s Shortcuts library
- the Voice Control command lives in Apple accessibility preferences
- those are not stored inside the repo itself
The project uses a cache-first design.
The refresh job:
- runs every 30 minutes
- asks Codex to generate a short spoken briefing
- splits that into short speech-safe chunks
- renders those chunks into audio
- stores the latest cache manifest in
cache/latest_briefing.json
The wake path is supposed to use that cache directly.
To avoid broken wake-ups, the cache update is atomic:
- new briefing audio is rendered under a temporary staging prefix first
- the cache is only swapped live after the full new set exists
- partial renders are not published as the new live cache
This matters because otherwise the wake flow can greet you and then stall while rebuilding a broken cache.
If you move or reclone the repo and run ./install.sh from the new path, the installer does a hard cutover.
That means it:
- rewrites the stable launcher to point only to the new path
- rewrites the machine-level install state
- unloads the old LaunchAgent
- deletes old runtime folders from the previous repo path if that old path still exists
So the active install is always tied to one repo path only.
You do not need to retrain the trigger again just because the repo moved, as long as the wake phrase stays the same.
./install.sh sets up the project and voice trigger.
It will:
- reuse an existing imported shortcut if it already exists
- reuse the same wake phrase configuration on path cutover
- keep only one active machine-level launcher path
- keep only one active cache set
Run:
./uninstall.shIt removes:
.venv-coquixtts-model/models/out/tmp/cache/.cache/logs/config/- the LaunchAgent
- the stable launcher in
~/Library/Application Support/FridayForCodex/ - the Voice Control command that belongs to this project
It does not delete:
- the repo source files themselves
- your general Codex login
- your connector logins
After uninstall, there is still one Apple-managed thing you remove manually:
- the imported Shortcut named
Friday for Codex Wake
The uninstaller opens Shortcuts to the right filtered view and waits until that shortcut is actually deleted.
After install:
source .venv-coqui/bin/activate
python coqui_lab.py list-greetings
python coqui_lab.py greeting --play
python coqui_lab.py play-prerendered-greeting --play
python wake_briefing.py
python wake_briefing.py --refresh-only
python wake_briefing.py --print-cache-status
python automation/manage_launch_agent.py status
python automation/manage_launch_agent.py run-now
python automation/voice_activation.py statuscoqui_lab.py: XTTS voice generation and greeting-bank commandswake_briefing.py: main wake flow and briefing logicautomation/refresh_runner.py: scheduled refresh runnerautomation/manage_launch_agent.py: LaunchAgent install/status/run/uninstall helperautomation/voice_activation.py: machine-level launcher and Voice Control setup helperinstall.sh: one-command local installuninstall.sh: runtime cleanup
Current limitations:
- macOS only
- Apple silicon only for voice activation
- depends on Codex already being installed
- depends on your connectors being available if you want email/calendar context
- Chronicle is most useful only after it has had some time to build summary files
- Voice Control is faster than the old trigger path, but it is still an Apple accessibility feature, so behavior can drift across macOS versions
Current state of the project:
- voice trigger works through Voice Control
- greeting bank is pre-rendered
- briefings are cache-first
- cache refresh runs every 30 minutes
- cache publication is atomic now
- path cutover is handled by the installer
- uninstall cleans project-owned runtime and machine-level helper state
So at this point, the setup is not just “demoable.” It is actually usable as a local daily-driver wake flow.
