inspect-history

inspect-history is a skill for Claude Code, Codex from hoangsonww/AI-Agents-Orchestrator. It costs 31 tokens per session (206 once invoked), scanned A, original, MIT.

A read-only tool for examining earlier AI coding activity, including commands, tool results, files, sessions, and tests. It cross-checks those records against the current Git state rather than treating history as proof.

In plain words
What is it for?
Use it to search a narrow question, inspect a relevant session, review changed files, and investigate prior work on an active task.
Why use it?
It helps answer what happened without changing project files, while separating recorded facts from guesses and limiting unnecessary exposure of project content.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the ai-collaboration plugin — 5 skills shipped together

Good fit Use it to search a narrow question, inspect a relevant session, review changed files, and investigate prior work on an active task.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hoangsonww/ai-agents-orchestrator/inspect-history
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 hoangsonww/AI-Agents-Orchestrator --skill inspect-history
Clone the repo
git clone --depth 1 https://github.com/hoangsonww/AI-Agents-Orchestrator

Made for: Claude Code, Codex.

Or install ai-collaboration, the plugin that ships this one along with the rest of its 5 skills.

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-history

README.md
[![agentmods](https://agentmods.dev/badge/skills/hoangsonww/ai-agents-orchestrator/inspect-history/github.svg)](https://agentmods.dev/skills/hoangsonww/ai-agents-orchestrator/inspect-history)
Your own site
<a href="https://agentmods.dev/skills/hoangsonww/ai-agents-orchestrator/inspect-history"><img src="https://agentmods.dev/badge/skills/hoangsonww/ai-agents-orchestrator/inspect-history/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-history

Your own site · 80×15
<a href="https://agentmods.dev/skills/hoangsonww/ai-agents-orchestrator/inspect-history"><img src="https://agentmods.dev/badge/skills/hoangsonww/ai-agents-orchestrator/inspect-history.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 206 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.
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.00031 $0.00206
Opus 5.5 $0.00012 $0.00082
Sonnet 5.5 $0.00006 $0.00041
Haiku 4.5 $0.00003 $0.00021

Measured 1mo ago against content hash 7902571949a3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

inspect-history 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 1mo ago.

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.

AI-Collaboration-Skills/skills/inspect-history/SKILL.md · 19 lines

What it actually says

Inspect History

Treat history inspection as read-only unless the user separately requests implementation.

  1. Get the active task with ai_collaboration.current_task.
  2. Use ai_collaboration.search_history with a narrow query derived from the user's question.
  3. Expand a specific session with ai_collaboration.session_events only when needed.
  4. Cross-check historical claims against current Git state with ai_collaboration.changed_files.
  5. Distinguish captured facts from inferences and note when a provider did not emit a field.

Do not dump full payloads by default. Request include_payload only when summaries omit necessary evidence; payloads are redacted but can still contain sensitive project content.

If MCP is unavailable, use bin/ai-collaboration search <query> and bin/ai-collaboration events.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 19 lines · 31 tokens per session scan A 7902571949a3

Subscribe to this mod's changes

inspect-history is a skill published in the GitHub repository hoangsonww/AI-Agents-Orchestrator (99 stars, last pushed 1mo ago), licensed MIT. It adds 31 tokens to every session and 206 once invoked, about $0.0001 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-09-21.

Related

inspect-history compared with skills from other repositories

inspect-history next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
inspect-historyhoangsonww/AI-Agents-OrchestratorSkill991mo agoMITA31Claude Code, Codex
github-review-prfeiskyer/claude-code-settingsSkill1.7k2d agoMITA90Claude Code
github-fix-issuefeiskyer/claude-code-settingsSkill1.7k2d agoMITA42Claude Code
memorix-git-memoryAVIDS2/memorixSkill9152d agoApache-2.0A31Claude Code
respond-to-pr-commentsmicrosoft/PromptKitSkill11310d agoMITA62Claude Code, Codex
github-review-prfeiskyer/codex-settingsSkill2482d agoMITA28Codex
apex-context-managementjonathan-vella/apex-acceleratorSkill502d agoMITA100Claude Code