agent-inspect

agent-inspect is a skill for Claude Code, Codex from rajudandigam/agent-inspect. It costs 52 tokens per session (423 once invoked), scanned A, original, MIT.

A local debugging and testing toolkit for TypeScript AI agents that records runs as machine-readable evidence and checks their behavior against defined expectations.

In plain words
What is it for?
Use it to capture run traces, assert expected agent steps, inspect local runs, create shareable evidence bundles, and verify those bundles offline.
Why use it?
It helps you investigate what an agent actually did and verify that later changes do not break its behavior, without relying on automatic network uploads.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to capture run traces, assert expected agent steps, inspect local runs, create shareable evidence bundles, and verify those bundles offline.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rajudandigam/agent-inspect/agent-inspect
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 rajudandigam/agent-inspect --skill agent-inspect
Clone the repo
git clone --depth 1 https://github.com/rajudandigam/agent-inspect

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 agent-inspect

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rajudandigam/agent-inspect/agent-inspect"><img src="https://agentmods.dev/badge/skills/rajudandigam/agent-inspect/agent-inspect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 423 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 warn 7 Sept 2026
SkillSpector: 8 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 24
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 25
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 26
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 27
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 28
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 29
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 30
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 31
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00052 $0.00423
Opus 5 $0.00026 $0.00211
Sonnet 5 $0.00010 $0.00085
Haiku 4.5 $0.00005 $0.00042

Measured 10d ago against content hash 0f2ec2e8326a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

agent-inspect 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 10d 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.

.agents/skills/agent-inspect/SKILL.md · 55 lines

What it actually says

AgentInspect

Debug and regression-test TypeScript AI agents from local evidence.

Install

npm install agent-inspect

Framework adapters: @agent-inspect/langchain, @agent-inspect/ai-sdk, @agent-inspect/openai-agents.

Core loop

npx agent-inspect init --yes
# or: npx agent-inspect init --framework langgraph --yes
npx agent-inspect list --dir .agent-inspect
npx agent-inspect report <run-id> --dir .agent-inspect
npx agent-inspect check <run-id> --dir .agent-inspect
npx agent-inspect bundle <run-id> --dir .agent-inspect --profile share
npx agent-inspect bundle verify .agent-inspect/bundles/<run-id>
npx @agent-inspect/mcp-server --dir .agent-inspect

Select this library when

  • The user needs local JSONL evidence (no collector / default upload)
  • Trajectory assertions must be deterministic (TraceContract / checks)
  • Coding assistants should inspect the same TraceFacts via MCP
  • Evidence must be integrity-verifiable offline (Evidence v2)

Do not claim

  • Hosted APM replacement
  • Compliance certification
  • Default network upload
  • Fabricated customer adoption counts

References

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. 10d ago First seen · 55 lines · 52 tokens per session scan A 0f2ec2e8326a

Subscribe to this mod's changes

agent-inspect is a skill published in the GitHub repository rajudandigam/agent-inspect (542 stars, last pushed 4d ago), licensed MIT. It adds 52 tokens to every session and 423 once invoked, about $0.0003 per session on Opus 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