What do you want to do?
4 use cases
-
Find where a Codex task spent its time
Break one task's active time into tool, model/token, and unattributed shares to locate slow steps.
- Codex Trajectory
- Codex
- Software and DevOps
- Intermediate
View prompt
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.
-
Check token use and estimated cost of a Codex task
Review task and turn token totals, cache usage, and estimated cost in one viewer.
- Codex Trajectory
- Codex
- Software and DevOps
- Beginner
View prompt
Using the icesixgod/codex-trajectory repo, open the trajectory for the Codex task <sessionId> and report its token totals, cache usage, and estimated cost. Verify that the cost is labeled as an estimate based on bundled API prices, not a subscription bill.
-
Locate failed and slow tool calls in past Codex runs
Search and filter earlier task history to find failing or slow tool calls and inspect them.
- Codex Trajectory
- Codex
- Software and DevOps
- Intermediate
View prompt
Using the icesixgod/codex-trajectory repo, search the history of the Codex task <sessionId> for failed or slow tool calls and list the matching events with their durations and status. Verify that each listed event has a status and that zero and sub-millisecond durations are not reported as failures.
-
Let an agent read a task's trajectory through MCP
Have Codex call the trajectory tools to pull a safe structured summary of a specific task.
- Codex Trajectory
- Codex
- Software and DevOps
- Intermediate
View prompt
Using the icesixgod/codex-trajectory repo, call get_codex_trajectory with the sessionId <sessionId> and return a safe summary of that task's steps and timing. Verify that the reply has no tool inputs, outputs, or raw metadata, since those stay hidden in the safe summary.
How to use Codex Trajectory
- Check you have what it needs: 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.
- Open icesixgod/codex-trajectory on GitHub and read the README and license.
- 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.
These steps come from our top use case, Find where a Codex task spent its time, which also has a copy-paste agent prompt.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeCodex Trajectory alternatives · Best AI repos for Software and DevOps
About this repo
- Who it is forDevelopers and power users of the Codex app who want to understand what a task did, where its time went, and what it cost.
- Why it is hot
- LanguagePython
- Sourcegithub.com/icesixgod/codex-trajectory · Back to Hot repos
Requirements
- 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
Maintain Codex Trajectory? Add the Featured on Deduped badge
Paste this into your README:
[](https://dedupedai.com/use-cases/icesixgod-codex-trajectory/?ref=badge)
Questions about Codex Trajectory
What is Codex Trajectory?
Codex Trajectory is a privacy-aware plugin that turns local Codex task logs into a searchable event ledger, an interactive timeline, and timing, token, and cost views. It is an open-source project on GitHub: https://github.com/icesixgod/codex-trajectory.
Who is Codex Trajectory for?
Developers and power users of the Codex app who want to understand what a task did, where its time went, and what it cost.
What can I do with Codex Trajectory?
4 use cases so far, for example: Find where a Codex task spent its time; Check token use and estimated cost of a Codex task; Locate failed and slow tool calls in past Codex runs. Each has steps and a copy-paste agent prompt.
What do I need to run Codex Trajectory?
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.
What are alternatives to Codex Trajectory?
Other hot AI repos in Software and DevOps: Harness2, iFixAi, Orca, Diagram Design, AI Memory.
Is Codex Trajectory safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.