inspect-codex-trajectory

inspect-codex-trajectory is a skill for Claude Code, Codex from icesixgod/codex-trajectory. It costs 88 tokens per session (982 once invoked), scanned A, original, MIT.

A viewer for the record of a local Codex task, including its messages, tool calls, failures, timing, and token use.

In plain words
What is it for?
Use it to inspect a task timeline, review an execution trace, analyze tool performance, or view a live task record.
Why use it?
It makes it easier to understand what happened during a task and investigate slow steps or errors without opening the underlying internal files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads ~/.codex paths; mentions Codex.

Good fit Use it to inspect a task timeline, review an execution trace, analyze tool performance, or view a live task record.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/icesixgod/codex-trajectory/inspect-codex-trajectory
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add icesixgod/codex-trajectory --skill inspect-codex-trajectory
Clone the repo
git clone --depth 1 https://github.com/icesixgod/codex-trajectory

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for inspect-codex-trajectory

README.md
[![agentmods](https://agentmods.dev/badge/skills/icesixgod/codex-trajectory/inspect-codex-trajectory/github.svg)](https://agentmods.dev/skills/icesixgod/codex-trajectory/inspect-codex-trajectory)
Your own site
<a href="https://agentmods.dev/skills/icesixgod/codex-trajectory/inspect-codex-trajectory"><img src="https://agentmods.dev/badge/skills/icesixgod/codex-trajectory/inspect-codex-trajectory/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for inspect-codex-trajectory

Your own site · 80×15
<a href="https://agentmods.dev/skills/icesixgod/codex-trajectory/inspect-codex-trajectory"><img src="https://agentmods.dev/badge/skills/icesixgod/codex-trajectory/inspect-codex-trajectory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 982 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00088 $0.00982
Opus 5.5 $0.00035 $0.00393
Sonnet 5.5 $0.00018 $0.00196
Haiku 4.5 $0.00009 $0.00098

Measured today against content hash 2f46be20ab46, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

inspect-codex-trajectory scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/codex-trajectory/skills/inspect-codex-trajectory/SKILL.md · 21 lines

How it starts

The opening of the file, as written. The whole thing — 21 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Inspect Codex Trajectory

Use the plugin's session MCP tools instead of opening raw files under the Codex home directory.

  1. For the current task, use a caller-provided verified session ID, or call list_codex_sessions and select the matching exact ID before calling show_codex_trajectory. Omit the ID only when the user requests the latest modified active task; omission is not caller binding and excludes archives by default. Keep the default detailLevel: summary; this renders the interactive trajectory UI without tool inputs or outputs.
  2. For a historical task, call list_codex_sessions (set includeArchived: true only when archived history is wanted), choose the exact session ID, then call show_codex_trajectory with that ID.
  3. Use get_codex_trajectory when the user wants analysis without the interactive UI. Cite turn numbers and record indexes from its structured result. If the requested evidence predates the returned page, call it again with the response's pagination.nextBeforeRecord as beforeRecord; continue only as far back as the request requires.
  4. When the user wants a live or picture-in-picture view, call show_codex_trajectory in summary mode. The user can click Live window. Codex uses its supported side panel with task Token totals, quota windows, and a chronological safe-summary event stream; regular Chromium hosts can use native video PiP. The native right-panel Codex Trajectory entry can also open the calling task without a model turn. Status and quotas reflect persisted samples. The viewer provides no stopping or automatic-stop feature. Do not call the app-only native-entry or live-update helpers as model tools.
  5. Supply the exact selected session ID and use detailLevel: full only after the user explicitly asks to inspect full tool input or output. Treat those values as potentially sensitive and quote no more than the task requires. Never expose session_meta.base_instructions, encrypted reasoning, credentials, or environment variables.
  6. Explain that Codex logs do not expose DeepSeek Harness step boundaries directly. The plugin starts a new approximate step when model output resumes after one or more tool results.
  7. Treat read warnings as evidence of skipped malformed records. If a paginated lineage fails validation, report that the local task history is inconsistent; do not bypass the plugin by opening inherited rollout files directly.
  8. A read-limit-exceeded result means the selected log exceeds its byte budget, not that the task is missing. The viewer's error page shows the size and lets the user choose a larger limit. Keep the default 512 MiB unless the user explicitly chooses or requests a larger budget; pass the chosen byte count as maxReadBytes with an explicit sessionId on subsequent reads. Never enable full details merely because a larger read budget was approved. Other line, page, cache, lineage, and filesystem checks continue to apply.
  9. For current-task timing or local versus model/token time, call get_codex_project_timing with the verified selected task ID. The tool keeps its original name for compatibility and now reads only that task, reusing its loaded source/index when available. Report durations and percentages from timing, and disclose untimed turns/tools when nonzero. Distinguish missingTimingTools and invalidTimingTools from zeroDurationTools and submillisecondTools: zero/below-precision calls do not block estimates, while missing/invalid calls reserve their possible execution windows as unattributed. A null duration in a public trajectory record alone does not reveal its timing quality. Explain that active time excludes gaps between turns and parallel tools count once. Model/token time includes estimated response/network/queueing waits and cannot isolate pure token generation. Do not infer time from token counts or reinterpret unattributed time as model time. For the visual view, open the task trajectory and use Calculate task timing.

Read the full file on GitHub · 21 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +1 lines · +10 tokens per session 2f46be20ab46
  2. 19d ago Changed · +1 lines 85e62d9aa569
  3. 1mo ago First seen · 19 lines · 78 tokens per session scan A 29da5b70032d

Subscribe to this mod's changes

inspect-codex-trajectory is a skill published in the GitHub repository icesixgod/codex-trajectory (250 stars, last pushed today), licensed MIT. It adds 88 tokens to every session and 982 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

matlab-integrate-pytorch-vision

Creates MATLAB interfaces to Python image processing and computer vision models from GitHub repositories or pip-installable packages using MPyReq. Use when asked to interface MATLAB with a Python CV/image model (segmentation, depth estimation, object detection, image generation, super-resolution, etc.), given a GitHub…

matlab/matlab-agentic-toolkit · 132 tokens

sdlc-domain-boundary-modeling

Use to model bounded contexts, capabilities, ownership, domain data/language, allowed interactions, and forbidden dependencies.

BlueSkyXN/Codex-is-all-you-need · 31 tokens

dev-prompt-evaluation

Use to design, test, compare, version, and validate prompts or LLM behavior with measurable criteria and datasets.

BlueSkyXN/Codex-is-all-you-need · 29 tokens

optimize-for-gpu

GPU-accelerates scientific Python on NVIDIA hardware and verifies that the result is correct and faster. Use for CUDA/GPU optimization; CPU-bound NumPy, SciPy, pandas, scikit-learn, NetworkX, scikit-image, vector-search, image-processing, graph, simulation, or file-I/O workloads; CuPy, cuDF, cuML, cuGraph, cuVS…

K-Dense-AI/scientific-agent-skills · 151 tokens

developing-genkit-python

Develop AI-powered applications using Genkit in Python. Use when the user asks about Genkit, AI agents, flows, or tools in Python, or when encountering Genkit errors, import issues, or API problems.

google/skills · 49 tokens

thinking-out-loud

A contract for what the agent does when a long, messy, stream-of-consciousness ramble arrives (usually voice dictation): act on nothing until the echo brief is approved. The echo audits the entire transfer, mission, locked decisions and constraints, open questions, flips and parked tangents, with the model's…

Shubhamsaboo/awesome-llm-apps · 206 tokens