memory-status

memory-status is a skill for Claude Code, Codex from dimetron/pi-go. It costs 27 tokens per session (499 once invoked), scanned A, original, MIT.

A command that reports the state of the MemPalace memory system, including stored knowledge, project areas, topics, and its knowledge graph. A knowledge graph is a set of connected facts about entities and their relationships.

In plain words
What is it for?
Use it to check memory counts, project and topic breakdowns, graph statistics, embedding-model status, or a specific database path.
Why use it?
It shows whether the memory system is initialized and whether its search model is loaded. This makes it easier to diagnose missing or incomplete memory data.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/dimetron/pi-go/memory-status
Any agent
npx skills add dimetron/pi-go --skill memory-status
Clone the repo
git clone --depth 1 https://github.com/dimetron/pi-go

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 memory-status

README.md
[![agentmods](https://agentmods.dev/badge/skills/dimetron/pi-go/memory-status.svg)](https://agentmods.dev/skills/dimetron/pi-go/memory-status)
Your own site
<a href="https://agentmods.dev/skills/dimetron/pi-go/memory-status"><img src="https://agentmods.dev/badge/skills/dimetron/pi-go/memory-status.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 499 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00027 $0.00499
Opus 5 $0.00014 $0.00249
Sonnet 5 $0.00005 $0.00100
Haiku 4.5 $0.00003 $0.00050

Measured 4d ago against content hash ff6449fb3fe8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

memory-status 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 4d 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.

.pi-go/skills/memory-status/SKILL.md · 80 lines

What it actually says

When to use

Use this skill when the user wants to:

  • Check the current state of the palace memory system
  • See how many drawers, wings, and rooms exist
  • Verify the embedding model is loaded
  • View knowledge graph statistics (entities, triples, predicates)
  • Diagnose palace issues or verify mining results

What it does

Runs pi memory status to display a comprehensive overview of the palace:

  • Drawer count: Total knowledge units stored
  • Wing count: Number of project namespaces
  • Room count: Number of topical areas
  • Model status: Whether the embedding model is loaded
  • Knowledge Graph: Entity count, triple count (active vs total), predicates in use
  • Wing details: Per-wing breakdown of drawers and rooms

Steps

  1. Run the status command:
# Default: looks for .pi-go/palace.db in current directory
pi memory status

# Specify a custom database path
pi memory status --db ~/.pi-go/palace.db
  1. If no palace database is found, suggest running pi memory init .
  2. Present the output to the user in a clear format

Arguments

The user can pass arguments after /memory-status:

  • --db <path> to specify a custom palace database path

Examples:

  • /memory-status — show status for current project
  • /memory-status --db ~/.pi-go/palace.db — show status for global palace

Additional diagnostics

If the user needs deeper insight, chain with other commands:

# Search for specific knowledge
pi memory search "auth middleware"

# Check recent observations
pi memory recent

# View knowledge graph for an entity
pi memory kg query "pi-go"

# Show L0+L1 context that would be injected
pi memory wake-up

Notes

  • If the palace DB doesn't exist, the command exits gracefully with instructions
  • Model "not loaded" means semantic search falls back to FTS5 keyword matching
  • Run pi memory model download to enable semantic embeddings
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. 4d ago First seen · 80 lines · 27 tokens per session scan A ff6449fb3fe8

Subscribe to this mod's changes

memory-status is a skill published in the GitHub repository dimetron/pi-go (151 stars, last pushed today), licensed MIT. It adds 27 tokens to every session and 499 once invoked, about $0.0001 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.