Skip to content
Back to skills

Inspect

ASecurity

Show where this chat's tokens went: requests and tokens by kind and by model, the sub-agents, context growth and the compactions, the biggest tool outputs, searches and repeated reads. Numbers only, each with its source.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 13, 2026
ai-agentsshell

Security analysis

A100/100

Scanned November 13, 2026

npx -y skills add Noah-OS/longhaul --skill inspect --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Inspect?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Inspect
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/noah-os-inspect/badge)](https://www.skillsdirectory.com/skills/noah-os-inspect)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: inspect
description: "Show where this chat's tokens went: requests and tokens by kind and by model, the sub-agents, context growth and the compactions, the biggest tool outputs, searches and repeated reads. Numbers only, each with its source."
---

The report is Longhaul's reading of this chat's own rollout, the file
Codex records the chat in under CODEX_HOME/sessions, and its sub-agents'.
It holds numbers, model names, tool names and file paths only; never
message text or tool output. Each heading names where its numbers came
from and how sure they are: measured, counted, inferred or estimated.

Longhaul's command is `../../bin/longhaul`, a path relative to the folder
this SKILL.md is in: run it by its absolute path, that folder's path
followed by `/../../bin/longhaul`, quoted, from whatever folder the shell
is in. Run it for this chat, whose id Codex sets in each command you run:

```sh
../../bin/longhaul inspect --agent codex "$CODEX_THREAD_ID"
```

Show the report to the user as it is, in a code block, without changing or
rounding any number. If it says no rollout was found, say so and show the
message: the chat may be too new for Codex to have written its file, or
Codex's folder may be elsewhere (CODEX_HOME). If the user named another
chat (its id, the start of one, or its rollout's path), run the same
command with that, quoted, in place of `"$CODEX_THREAD_ID"`, and show that.

The report may name an install command; show it, take no install step.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.