← Retour aux projets
Sundown
#Sundown
Sundown gives Codex time to wrap up before an account usage limit is exhausted. At 95% usage, it asks the agent to stop, report what is complete, and leave the rest for another session.
#Install
Paste this into your terminal:
mkdir -p ~/.codex curl -fsSL https://raw.githubusercontent.com/teej/sundown/main/sundown.json -o ~/.codex/sundown.json codex plugin marketplace add teej/sundown codex plugin add sundown@sundown
Codex does not currently provide a non-interactive command that permanently trusts hooks. Run codex, enter /hooks, review and trust the two Sundown hooks, then start a new task.
#Configure
Edit ~/.codex/sundown.json to change the threshold or message. threshold is the percentage used, so 95 means Sundown fires when 95% has been used.