inspect

Inspect, search, and verify db0 agent memories against the current codebase.

14|1|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/db0-ai/db0 --skill inspect-db0-ai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: inspect
Source: https://github.com/db0-ai/db0/tree/main/packages/apps/claude-code/skills/inspect
Command: npx skills add https://github.com/db0-ai/db0 --skill inspect-db0-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Agent memories accumulate over time and can become stale or contradictory, but there is no easy way to see what the agent remembers or whether those memories still match reality. This Skill lets you browse, search, and verify db0 agent memories so you can trust what your agent knows. ## Core Features & Use Cases - Memory Browsing and Search: List all memories or filter by scope, and run semantic search queries via the db0 MCP tools, displayed as a table with ID, scope, status, age, and staleness indicators. - Memory Statistics: Show memory counts grouped by scope and status using db0_memory_stats. - Codebase Verification: Cross-reference memories against the actual codebase by checking that referenced files, functions, classes, and package versions still exist, then flag memories as verified, stale, or unverifiable. - Use Case: After weeks of agent sessions, run the inspector to find memories referencing deleted files or renamed functions, then delete or update the stale entries. ## Quick Start Ask the agent to show what it remembers about the current project and verify those memories against the codebase.

Frequently Asked Questions about inspect

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I see what my AI agent remembers?▼

Use the inspect skill to call db0_memory_list, which displays all stored memories in a table showing ID, scope, status, age, and content preview. You can also pass a search query to run db0_memory_search for semantic matching.

How to check if agent memories are stale or outdated?▼

The skill runs a verification pass that calls db0_memory_verify on memories older than one day and cross-references mentioned files, functions, and packages against the codebase using Glob, Grep, and package.json checks. Stale memories are flagged with a warning indicator.

What do memory scopes mean in db0?▼

Scopes control memory visibility, such as user-scoped facts that persist across all sessions. The inspect skill can filter memories by scope and shows statistics grouped by scope and status via db0_memory_stats.

Can I delete or update stale agent memories?▼

Yes. After verification, the skill reports memories whose referenced files or functions no longer exist and asks whether you want to delete or update them. Confirmed memories are marked verified, while unverifiable ones are noted separately.

What tools are required for memory verification to work?▼

Verification requires the db0 MCP tools (db0_memory_list, db0_memory_search, db0_memory_stats, db0_memory_verify) plus standard file tools like Glob, Grep, and Read to confirm that referenced code still exists in the repository.