← Plugins

Codex Goal

fu02121installs

Track Codex goal time and manage goals from the Paseo panel or chat.

$ paseo plugin add fu021/codex-goal
Codex Goal screenshot 1Codex Goal screenshot 2Codex Goal screenshot 3

Codex Goal shows your goal status and elapsed time beside the composer in each Codex session. Manage the current goal from the panel or in chat through the plugin’s MCP tool.

The plugin reads the session's goal from Codex's local SQLite database and uses Codex's native /goal command when you change it. While the agent is running, the timer estimates elapsed time between Codex's recorded updates.

The Goal button uses Codex’s native /goal command. When you switch providers within a Paseo chat, the earlier goal and timer stay in the original Codex session.

The panel also supports creating, replacing, pausing, resuming, and clearing native OpenCode goals on an OpenCode server explicitly configured in Paseo. This was tested with Paseo 0.19.1 and OpenCode 2.4.4. Set the server URL and, if needed, the password in the OpenCode provider environment. The panel displays rounds and the native pause reason when available. Replacing an OpenCode goal starts a fresh goal and round count. Other providers show a compatibility notice.

Requirements

Requires Paseo 0.17.0 or later, Codex CLI 0.128.0 or later, and a plugin runtime with Node.js 22.13 or later. Enable plugins on the Paseo host where Codex runs. The daemon needs access to the npm registry to download the reviewed package and its runtime dependency.

Controls and shortcuts

The Goal button shows a distinct icon and color for each state, including when there is no goal or it could not be read. Open it in the desktop popover or mobile sheet to see the details or set a new goal. After resolving a blocker, choose Resume to continue. If session sync fails, the plugin retries automatically. To retry manually, open the warning or use the composer's extra controls.

On desktop and web, use keyboard shortcuts inside the Goal panel to start or save, edit, pause or resume, open clear confirmation, or retry. Change or unassign shortcuts in Settings → Plugins → Codex Goal. The plugin interface follows Paseo's language, with English and Simplified Chinese available.

MCP tool for Codex agents

Since version 0.1.8, the plugin provides codex_goal_manage through Paseo’s MCP connection. Codex can call it when you ask in chat to view, create, edit, extend, pause, resume, or clear the current goal. Creating a new goal clears the old one and resets the timer. Editing or appending keeps the elapsed time.

The plugin also instructs Codex to use the tool proactively when you ask it to track complex work or a growing task queue. If a goal is blocked, Codex can check its status and resume it when your reply supplies what it needs to continue. A manually paused goal stays paused until you ask to continue.

The plugin prompts Codex to keep the active goal concise as milestones are reached or new work arrives. Rewriting the objective keeps the elapsed time.

The panel can show the current task or a blocker and the action you can take. Choose Show full goal to read the objective. Codex reports these notes through the same MCP tool. The Paseo host stores each note against its goal ID, separately from the native goal and timer.

Enable Paseo tool injection on the host and allow Paseo tools for the Codex provider. Calls follow Codex’s MCP approval policy.

Data access

The plugin reads the goal objective, status and elapsed time from the host's Codex data directory. For OpenCode, it reads the current session's goal and sends panel commands to the configured OpenCode server using its native API. Goal text may be included in prompts sent to the session's configured model provider.

Related plugins

Browse all plugins →