Memory Status skill for Claude

Health check of agent auto-memory: line counts, topic files, capacity, stale entries and what to prune.

When Claude uses it

Use whenever the user asks how full or healthy memory is, or runs /si:memory-status.

Memory Status SKILL.md

The full skill file from alirezarezvani/claude-skills (MIT).

/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

# 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 -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:

# 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"
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

How to install Memory Status

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit alirezarezvani/claude-skills/engineering-team/self-improving-agent/skills/memory-status#main ~/.claude/skills/memory-status

Codex

npx degit alirezarezvani/claude-skills/engineering-team/self-improving-agent/skills/memory-status#main ~/.codex/skills/memory-status

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Memory Status skill do?

Health check of agent auto-memory: line counts, topic files, capacity, stale entries and what to prune. Use whenever the user asks how full or healthy memory is, or runs /si:memory-status.

+How do I install Memory Status in Claude Code?

Copy the skill folder into ~/.claude/skills/memory-status, for example with "npx degit alirezarezvani/claude-skills/engineering-team/self-improving-agent/skills/memory-status#main ~/.claude/skills/memory-status". Claude Code loads it automatically and uses it when a task matches.

+Does Memory Status work with ChatGPT or Codex?

Yes. Memory Status uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/memory-status. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Memory Status free?

Memory Status is published on GitHub by alirezarezvani under the MIT license, which allows free use.

Related ai agents & skills skills

  1. Grill Me

    A relentless interview to sharpen a plan or design.

    mattpocock/skills★ 327k
  2. Skill Creator

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    anthropics/skills★ 197k
  3. Caveman

    Terse caveman voice: answer first, fluff gone, every technical fact kept.

    JuliusBrussee/caveman★ 121k
  4. Prompt Engineer Toolkit

    Use when a marketing team's AI prompts need testing, versioning or governance, before shipping a prompt.

    alirezarezvani/claude-skills★ 30k
  5. Prompt Governance

    Use when prompts run in production and need versioning, a registry, A/B tests, regression checks or an eval pipeline.

    alirezarezvani/claude-skills★ 30k
  6. Red Team

    Use when planning or running an authorized red team engagement or attack path analysis.

    alirezarezvani/claude-skills★ 30k
  7. Remember

    Save something important to auto-memory with a timestamp and context.

    alirezarezvani/claude-skills★ 30k
  8. Self Improving Agent

    Curate what the agent has learned into durable project knowledge.

    alirezarezvani/claude-skills★ 30k
  9. Senior Prompt Engineer

    Improve prompts and measure LLM quality: fix inconsistent prompts, build eval sets, score RAG retrieval, check agent tool configs.

    alirezarezvani/claude-skills★ 30k

See all ai agents & skills skills →

More skills from alirezarezvani

  1. Merge

    Use to land the winning AgentHub branch, archive the others and clean up worktrees.

    alirezarezvani/claude-skills★ 30k
  2. Meta Research

    Use when a wrong answer is expensive: strategy research, comparing several products or markets, validating a hypothesis with outside data.

    alirezarezvani/claude-skills★ 30k
  3. Migrate

    Use when moving tests from Cypress or Selenium to Playwright ('migrate tests', 'convert tests', 'replace selenium').

    alirezarezvani/claude-skills★ 30k

All skills by alirezarezvani →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.