memory-status – Agents & Automation skill for AI agents
Memory health dashboard showing line counts, topic files, capacity, stale entries, and recommendations. Use when the user runs /si:memory-status or asks how full or healthy the agent memory is.
Install the memory-status skill with one command
Pick the tool you use, copy the command and paste it in your terminal. The skill lands in that tool's skills folder and is ready in your next session.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/memory-status-2270c.tgz | tar xz -C ~/.claude/skills
Call it in Claude Code: /memory-status – then describe the task you want done.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/memory-status-2270c.tgz | tar xz -C ~/.codex/skills
Call it in Codex: $memory-status – then describe the task you want done.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/memory-status-2270c.tgz | tar xz -C ~/.hermes/skills
Call it in Hermes Agent: /memory-status – then describe the task you want done.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/memory-status-2270c.tgz | tar xz -C ~/.deepcode/skills
Call it in DeepSeek: /memory-status – then describe the task you want done.
SKILL.md content
/si:memory-status — Memory Health Dashboard
Quick overview of your project's memory state across all memory systems.
Usage
/si:memory-status # Full dashboard
/si:memory-status --brief # One-line summaryWhat It Reports
Step 1: Locate all memory files
# Auto-memory directory
MEMORY_DIR="$HOME/.claude/projects/$(pwd | sed 's|/|%2F|g; s|%2F|/|; s|^/||')/memory"
# Count lines in MEMORY.md
wc -l "$MEMORY_DIR/MEMORY.md" 2>/dev/null || echo "0"
# List topic files
ls "$MEMORY_DIR/"*.md 2>/dev/null | grep -v MEMORY.md
# CLAUDE.md
wc -l ./CLAUDE.md 2>/dev/null || echo "0"
wc -l ~/.claude/CLAUDE.md 2>/dev/null || echo "0"
# Rules directory
ls .claude/rules/*.md 2>/dev/null | wc -lStep 2: Analyze capacity
| Metric | Healthy | Warning | Critical |
|--------|---------|---------|----------|
| MEMORY.md lines | < 120 | 120-180 | > 180 |
| CLAUDE.md lines | < 150 | 150-200 | > 200 |
| Topic files | 0-3 | 4-6 | > 6 |
| Stale entries | 0 | 1-3 | > 3 |
Step 3: Quick stale check
For each MEMORY.md entry that references a file path:
# Verify referenced files still exist
grep -oE '[a-zA-Z0-9_/.-]+\.(ts|js|py|md|json|yaml|yml)' "$MEMORY_DIR/MEMORY.md" | while read f; do
[ ! -f "$f" ] && echo "STALE: $f"
doneStep 4: Output
📊 Memory Status
Auto-Memory (MEMORY.md):
Lines: {{n}}/200 ({{bar}}) {{emoji}}
Topic files: {{count}} ({{names}})
Last updated: {{date}}
Project Rules:
CLAUDE.md: {{n}} lines
Rules: {{count}} files in .claude/rules/
User global: {{n}} lines (~/.claude/CLAUDE.md)
Health:
Capacity: {{healthy/warning/critical}}
Stale refs: {{count}} (files no longer exist)
Duplicates: {{count}} (entries repeated across files)
{{if recommendations}}
💡 Recommendations:
- {{recommendation}}
{{endif}}Brief mode
/si:memory-status --briefOutput: 📊 Memory: {{n}}/200 lines | {{count}} rules | {{status_emoji}} {{status_word}}
Interpretation
- Green (< 60%): Plenty of room. Auto-memory is working well.
- Yellow (60-90%): Getting full. Consider running
/si:memory-reviewto promote or clean up. - Red (> 90%): Near capacity. Auto-memory may start dropping older entries. Run
/si:memory-reviewnow.
Tips
- Run
/si:memory-status --briefas a quick check anytime - If capacity is yellow+, run
/si:memory-reviewto identify promotion candidates - Stale entries waste space — delete references to files that no longer exist
- Topic files are fine — Claude creates them to keep MEMORY.md under 200 lines
Related skills
- merge – Merge the winning agent's branch into base, archive losers, and clean up worktrees. Use…
- datadog-automation – Automate Datadog tasks via Rube MCP (Composio): query metrics, search logs, manage…
- datawebot – Find products for sale across online shops, list returned sellers' prices with direct…
- spark-memory-thermal-ops – Manage unified memory and thermals during long-running ML jobs on NVIDIA DGX Spark. Use…
- notebooklm – Browser automation skill for controlling Google's NotebookLM. Use when the user wants…
- delegating-to-agents – Delegate bounded work to other AI agents while preserving context, ownership, and…
- office-hours – /c-level-agents:office-hours [topic] — YC-style 6-question founder interrogation before…
- onboard – /cs-onboard — Founder interview that populates ~/.claude/company-context.md using the…