DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to locate failed and slow tool calls in past Codex runs with Codex Trajectory

Search and filter earlier task history to find failing or slow tool calls and inspect them.

Short answer: Run codex plugin marketplace add icesixgod/codex-trajectory; then run codex plugin add codex-trajectory@icesixgod; open Codex Trajectory from the task's right panel. All steps.

Credentials. Choosing Load full details exposes bounded tool inputs and outputs to the active conversation, so confirm before sharing them.

Who it is forAn engineer debugging a Codex run that stalled or failed and who needs the exact event where it went wrong.

The problemA long task history mixes messages, tool calls, and compaction events, so the failing step is hard to find by reading the raw log.

The outcomeThe matching event selected in the event ledger, with its duration and execution status visible in the inspector.

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

  1. Run codex plugin marketplace add icesixgod/codex-trajectory
  2. Run codex plugin add codex-trajectory@icesixgod
  3. Open Codex Trajectory from the task's right panel.
  4. Click Load earlier records to browse history, including compressed and paginated logs.
  5. Use search and event filters to find the record, then select it to inspect it.

Prompt for your agent

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.

Caveat. Steps are approximate, and reasoning summaries appear only when they were saved in the log.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for icesixgod/codex-trajectory and "Locate failed and slow tool calls in past Codex runs"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer