inspect

inspect is a command for Claude Code from major7apps/pensyve. It costs 11 tokens per session (670 once invoked), scanned A, original, Apache-2.0.

An entity memory viewer for Pensyve, a system that stores information across sessions. It lists every stored memory linked to a specified entity.

In plain words
What is it for?
Use it to inspect an entity’s saved facts, decisions, and patterns.
Why use it?
It gives you a complete view of what Pensyve remembers about one person, project, or other entity.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the pensyve plugin — 3 skills, 7 commands, 2 agents, 5 hooks shipped together

Good fit Use it to inspect an entity’s saved facts, decisions, and patterns.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/major7apps/pensyve/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.

Clone the repo
git clone --depth 1 https://github.com/major7apps/pensyve

Made for: Claude Code.

Or install pensyve, the plugin that ships this one along with the rest of its 3 skills, 7 commands, 2 agents, 5 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/major7apps/pensyve/inspect"><img src="https://agentmods.dev/badge/commands/major7apps/pensyve/inspect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 670 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.00011 $0.00670
Opus 5.5 $0.00004 $0.00268
Sonnet 5.5 $0.00002 $0.00134
Haiku 4.5 $0.00001 $0.00067

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

Security

Grade A, and why

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 3mo 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.

integrations/claude-code/commands/inspect.md · 76 lines

How it starts

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

/inspect

View all memories stored for an entity, displayed in organized tables by memory type.

Instructions

When the user invokes /inspect [entity], follow these steps:

If an entity is specified: /inspect <entity>

  1. Normalize the entity name. Convert to lowercase, hyphenated format.

  2. Call the MCP tool. Use pensyve_inspect with:

    • entity: The entity name
    • memory_type: Type filter if specified (optional)
    • limit: Max results, default 20 (optional)
  3. Display results in tables by type. Show all memories organized by type:

    Entity: auth-service (entity_id: abc-123...) Total memories: 15

    Semantic Memories (8):

    ID Subject Predicate Object Confidence Created
    a1b2.. auth-service uses JWT tokens with RS256 1.0 2024-01-15

    Episodic Memories (7):

    ID Summary Episode Created
    c3d4.. Debugged token refresh ep-xyz 2024-01-14

    Procedural Memories (0): No procedural memories found.

If no entity is specified: /inspect

  1. Guide the user. Since the MCP pensyve_inspect tool requires an entity name, suggest the user either:
    • Specify an entity: /inspect auth-service
    • Use /memory-status to see a list of known entities
    • Use /recall to search across all entities

Examples

User: /inspect auth-service

  • Shows all memories for the auth-service entity in tables

User: /inspect auth-service --type semantic

  • Shows only semantic memories for auth-service

User: /inspect

  • Guides the user to specify an entity or use /memory-status

Constraints

  • Never read or write .claude/ memory files. All memory operations go through the Pensyve MCP tools.
  • Always display results in table format, grouped by memory type.
  • Show the memory ID (first 8 characters is sufficient for display).
  • Omit embedding data from the display -- never show raw vectors.
  • If the entity has no memories, say so clearly rather than showing empty tables.
  • Entity names MUST be lowercase and hyphenated.

Read the full file on GitHub · 76 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. 3mo ago First seen · 76 lines · 11 tokens per session scan A fdf8d193d0c3

Subscribe to this mod's changes

inspect is a command published in the GitHub repository major7apps/pensyve (101 stars, last pushed 6d ago), licensed Apache-2.0. It adds 11 tokens to every session and 670 once invoked, about $0.0000 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

inspect compared with commands from other repositories

inspect next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
inspectmajor7apps/pensyveCommand1016d agoApache-2.0A11Claude Code
save-memory0xK3vin/MegaMemoryCommand9227mo agoMITA0Claude Code
bootstrap-memory0xK3vin/MegaMemoryCommand9227mo agoMITA0Claude Code
memory-bootstrapjscott3201/aionforge-memoryCommand124mo agoApache-2.0A15Claude Code
memory-sessionjscott3201/aionforge-memoryCommand124mo agoApache-2.0A19Claude Code
memory-handoffjscott3201/aionforge-memoryCommand124mo agoApache-2.0A15Claude Code
gsd:threadmrboups/xbrainCommand22mo agoMITA13Claude Code