Session-scoped goal seeking for piclaw.
Inspired by the /goal loop described in Simon Willison’s write-up of Codex CLI 0.128.0, this add-on lets a chat keep working toward a saved objective until it is completed, paused, or the configured token budget is exhausted.
Open Settings → Add-Ons and install goal from the catalog.
/goal commands for starting, resuming, pausing, clearing, and inspecting a goal runupdate_goal tool so the model can mark a goal complete after verification/goal command/goal — post help text and current goal state to the timeline/goal <objective> — start or replace the active goal run in the current chat/goal status — show the current goal state/goal on or /goal resume — resume the saved objective/goal off — pause goal seeking in this chat/goal clear or /goal reset — clear the saved goal stateOpen Settings → Goal to:
The editable prompt templates support these placeholders:
{{ objective }}{{ time_used_seconds }}{{ tokens_used }}{{ token_budget }}{{ remaining_tokens }}{{ status }}{{ chat_jid }}{{ completion_summary }}| What | Where |
|---|---|
| Global prompt templates | Extension KV (goal, global scope) |
| Default token budget | Extension KV (goal, global scope) |
| Per-chat goal state and latest progress phase | Extension KV (goal, chat scope) |
400k tokens.[⣿⣿⣦⣀], where filled cells are remaining budget; visible token counts use friendly units such as 20k or 1.25m.update_goal with status complete.