Skip to content

/nemp:health — Memory Diagnostics Engine

Latest

Choose a tag to compare

@SukinShetty SukinShetty released this 26 Feb 12:46
· 11 commits to main since this release

What's New

/nemp:health — A self-diagnosing memory system for AI agents.

One command. 10 diagnostic checks. A health score out of 100. Auto-fix for common issues.

The Problem

Your Nemp memory silently degrades over time, orphaned keys, broken CLAUDE.md sync, missing logs, stale memories piling up. You don't notice until the agent starts making bad decisions.

The Solution

/nemp:health

Returns a weighted health score (0-100) across 10 checks:

Check What It Catches Weight
Memory file integrity Corrupted or missing memories.json 15
CLAUDE.md sync Memory ↔ CLAUDE.md out of sync 15
Access log health Missing or corrupted access.log 10
Stale memory detection Memories not accessed in 30+ days 10
Duplicate detection Semantically overlapping memories 10
Key naming quality Vague keys like "misc", "temp", "stuff" 10
Value quality Empty, too short, or too long values 10
Memory count balance Too few or too many memories 5
Config integrity Missing or invalid config.json 5
Token budget Total memory token usage 10

Three Modes

Standard — Quick diagnostic report

/nemp:health

Verbose — Detailed breakdown per check with specific issues listed

/nemp:health --verbose

Auto-fix — Automatically repair what it can (regenerate MEMORY.md, create missing access.log, fix sync issues)

/nemp:health --fix

Why This Matters


Full Changelog

  • New command: /nemp:health with 10 weighted diagnostic checks
  • New command: /nemp:health --verbose for detailed breakdown
  • New command: /nemp:health --fix for auto-repair
  • New file: commands/health.md (command specification)
  • Score-based health reporting (0-100 weighted scale)
  • Auto-fix capabilities: MEMORY.md regeneration, access.log creation, sync repair