- [Refresh Agent Instructions] Pull the latest Synth guidance into 
AGENTS.mdfor your automation to read. - [Launch Codex with Synth] Optionally wire Codex to the Synth provider and a chosen model.
 - [Refresh Credentials] Force a fresh prompt for 
SYNTH_API_KEYbefore launching with a model override. 
Refresh Agent Instructions
- Always writes the current Synth agent guidance into 
AGENTS.md, replacing the placeholder boilerplate. - Keeps Codex and any other agents aligned with the latest recommendations without altering app settings.
 - Run this regularly (or on CI) so your shared instructions stay fresh.
 
In your terminal, run:
Launch Codex with Synth
- Searches for a local 
codexinstall and offers to install it if missing. - Runs 
codex --versionto confirm the binary is usable. - Applies CLI config overrides so Codex targets the Synth provider and 
default_model. - Emits 
OPENAI_API_KEYandSYNTH_API_KEYinto the process environment before the app starts. - Still refreshes 
AGENTS.mdfirst, so your agent-facing instructions are ready inside the workspace. 
In your terminal, run:
Example usage:
Refresh Credentials
- Pass 
--forceto re-run the interactive credential resolver even if a key is cached. Pair with--modelwhen you need to rotate keys. - Useful after rotating 
SYNTH_API_KEYor when switching accounts.