Skip to content
Back to skills

Memory Stats

ASecurity

View statistics and recent entries from the persistent memory database. Shows session count, knowledge areas, facts, and recent activity.

  • 666 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 2, 2026
ai-agentsbashdatabase

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add majiayu000/claude-skill-registry --skill memory-stats --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Memory Stats?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Memory Stats
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-memory-stats-claude-skill-registry/badge)](https://www.skillsdirectory.com/skills/majiayu000-memory-stats-claude-skill-registry)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: memory-stats
description: View statistics and recent entries from the persistent memory database. Shows session count, knowledge areas, facts, and recent activity.
---

# /memory-stats - View Memory Statistics

Show statistics and recent entries from the persistent memory database.

## Instructions

When the user invokes `/memory-stats`, run these commands to show memory information:

### 1. Show Statistics

```bash
PLUGIN_DIR="${PLUGIN_DIR:-$HOME/claude-turbo-search}"
"$PLUGIN_DIR/memory/memory-db.sh" stats
```

### 2. Show Recent Sessions

```bash
"$PLUGIN_DIR/memory/memory-db.sh" recent 5
```

### 3. Format Output

Present the information clearly:

```
## Memory Database

| Type | Count |
|------|-------|
| Sessions | X |
| Knowledge areas | Y |
| Facts | Z |

## Recent Sessions

1. [date] - Summary of session 1
2. [date] - Summary of session 2
...
```

## Optional Flags

The user might ask for specific views:
- `/memory-stats facts` - Show all facts
- `/memory-stats knowledge` - Show all knowledge areas
- `/memory-stats search <query>` - Search memory

For these, use:

```bash
# Search
"$PLUGIN_DIR/memory/memory-db.sh" search "query"
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.