{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "icesixgod-codex-trajectory--find-slow-steps-in-codex-task",
 "repo": "icesixgod/codex-trajectory",
 "repo_url": "https://github.com/icesixgod/codex-trajectory",
 "repo_slug": "icesixgod-codex-trajectory",
 "title": "Find where a Codex task spent its time",
 "page_title": "How to find where a Codex task spent its time with Codex Trajectory",
 "summary": "Break one task's active time into tool, model/token, and unattributed shares to locate slow steps.",
 "who": "A developer whose Codex task took much longer than expected and who wants to know whether tools or model time caused the delay.",
 "problem": "Codex task logs hold many events, and it is hard to tell which tool calls or waits consumed the time.",
 "outcome": "A 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.",
 "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."
 ],
 "agent_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.",
 "agents": [
  "codex"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "Model/token time is an estimate that includes network and queueing waits, not a measure of pure token generation.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "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"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "The viewer reads local task logs that can contain sensitive content, so keep the safe summary view unless you need full details."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/icesixgod-codex-trajectory/find-slow-steps-in-codex-task/",
 "md": "https://dedupedai.com/use-cases/icesixgod-codex-trajectory/find-slow-steps-in-codex-task/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/icesixgod-codex-trajectory--find-slow-steps-in-codex-task.json",
 "api_version": "v1"
}
