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 $0.00006 $0.00041
Haiku 4.5 $0.00003 $0.00021

Measured 2d ago against content hash 7902571949a3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-23, 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 2d 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. 2d 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 (84 stars, last pushed 2d 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

Other skills, from other repositories

github-review-pr

Review GitHub pull requests with detailed, multi-perspective code analysis using parallel subagents. Use this skill whenever the user wants to review a PR, asks for code review on a pull request, mentions "review PR", "check this PR", "look at pull request", or references a PR number or GitHub PR URL. Do NOT use for…

feiskyer/claude-code-settings · 90 tokens

github-fix-issue

Fix GitHub issues end-to-end — analysis, branch creation, implementation, testing, and PR submission. Use whenever the user mentions fixing a GitHub issue, says "fix issue.

feiskyer/claude-code-settings · 42 tokens

github-review-pr

Review a GitHub pull request with evidence-backed, multi-angle analysis and false-positive filtering. Use when the user asks to review, inspect, or check a pull request by number or URL. Not for local uncommitted changes.

feiskyer/codex-settings · 50 tokens

memorix-git-memory

Use when the task depends on commit history, what changed, when a fix shipped, or linking engineering evidence to reasoning memory.

AVIDS2/memorix · 31 tokens

respond-to-pr-comments

Respond to pull request review comments on GitHub or Azure DevOps Services. Reads review threads, validates each, proposes fixes or explanations, applies changes with user confirmation, and updates thread status via the platform's API. Use when the user wants to address PR feedback or resolve review threads.

microsoft/PromptKit · 62 tokens

apex-context-management

UTILITY SKILL — Two-mode context-window management. RUNTIME: artifact compression (full/summarized/minimal) used by orchestrator and codegen agents. AUDIT: post-mortem analysis of Copilot debug logs (token profiling, redundancy + hand-off gap detection) used by 11-Context Optimizer. WHEN: "context optimization"…

jonathan-vella/apex-accelerator · 103 tokens