Skip to main content
ClaudeWave
Slash Command502 repo starsupdated 4mo ago

stats

The stats command displays comprehensive information about Claude's persistent memory system, including total memory count, storage size in bytes, and timestamps of recent memory activity formatted as relative time references. Use this command to monitor memory usage, verify the memory system is functioning properly, and understand storage consumption patterns.

Install in Claude Code
Copy
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/memvid/claude-brain/HEAD/commands/stats.md -o ~/.claude/commands/stats.md
Then start a new Claude Code session; the slash command loads automatically.

stats.md

# Memory Statistics

Show statistics about Claude's persistent memory file including total memories, storage size, and recent activity.

**Usage**: `/mind:stats`

Execute the stats script:

```bash
node "${CLAUDE_PLUGIN_ROOT}/dist/scripts/stats.js"
```

## Response Format
- Convert Unix timestamps to human-readable (Xm ago, Xh ago, Xd ago)
- Summarize key findings in a table when appropriate
- If file was just created, tell the user memories will appear as they work