All Agent Skills

Agent toolingalirezarezvani-skills

memory-status

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.

3k est. installs25k stars

Estimated installs are a discovery signal based on public repository popularity and source completeness, not recorded Dokki installation events.

Skill provenance

Repository

alirezarezvani/claude-skills

Pinned commit

f2bac0a8f29b

License

MIT

Execution

Instructions only

Complete source instructions

SKILL.md

/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 summary

What It Reports

Step 1: Locate all memory files

bash
# Auto-memory directoryMEMORY_DIR="$HOME/.claude/projects/$(pwd | sed 's|/|%2F|g; s|%2F|/|; s|^/||')/memory"
# Count lines in MEMORY.mdwc -l "$MEMORY_DIR/MEMORY.md" 2>/dev/null || echo "0"
# List topic filesls "$MEMORY_DIR/"*.md 2>/dev/null | grep -v MEMORY.md
# CLAUDE.mdwc -l ./CLAUDE.md 2>/dev/null || echo "0"wc -l ~/.claude/CLAUDE.md 2>/dev/null || echo "0"
# Rules directoryls .claude/rules/*.md 2>/dev/null | wc -l

Step 2: Analyze capacity

MetricHealthyWarningCritical
MEMORY.md lines< 120120-180> 180
CLAUDE.md lines< 150150-200> 200
Topic files0-34-6> 6
Stale entries01-3> 3

Step 3: Quick stale check

For each MEMORY.md entry that references a file path:

bash
# Verify referenced files still existgrep -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"done

Step 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 --brief

Output: πŸ“Š 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-review to promote or clean up.
  • Red (> 90%): Near capacity. Auto-memory may start dropping older entries. Run /si:memory-review now.

Tips

  • Run /si:memory-status --brief as a quick check anytime
  • If capacity is yellow+, run /si:memory-review to 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

Same repository

Start your company of agents
today.

Free to start. Your first team is one sentence away.