Credentials. The viewer reads local task logs that can contain sensitive content, so keep the safe summary view unless you need full details.
Who it is forA developer whose Codex task took much longer than expected and who wants to know whether tools or model time caused the delay.
The problemCodex task logs hold many events, and it is hard to tell which tool calls or waits consumed the time.
The outcomeA timing breakdown for the selected task showing local/tool execution, estimated model/token time, and unattributed time, with percentages, plus a timeline to locate slow calls.
What you need first
- Codex installed on macOS, Linux, or Windows
- uv installed (https://docs.astral.sh/uv/getting-started/installation/)
- Local Codex task logs on the same device
Steps
- Run
codex plugin marketplace add icesixgod/codex-trajectory - Run
codex plugin add codex-trajectory@icesixgod - Open a new Codex task to load the plugin.
- In the task's right panel, select + → More tools… → Plugins and MCPs → Codex Trajectory.
- Find Current task timing distribution below the top statistics and click Calculate task timing.
- Click Recalculate after the task changes to get a new snapshot.
Prompt for your agent
Using the icesixgod/codex-trajectory repo, open the timing breakdown for the Codex task <task name or sessionId> with the show_codex_trajectory tool. Report the tool, model/token, and unattributed time shares with percentages. Verify that missing or invalid tool timing is listed separately from zero-duration events.
Caveat. Model/token time is an estimate that includes network and queueing waits, not a measure of pure token generation.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for icesixgod/codex-trajectory and "Find where a Codex task spent its time"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer