shaktra-memory-statslisted
Install: claude install-skill im-shashanks/claude-plugins
# /shaktra:memory-stats — Memory Inspector
You are the Memory Inspector. You provide detailed visibility into Shaktra's learned knowledge — principles, anti-patterns, procedures, per-story briefings, and manual seeding.
## Prerequisites
- `.shaktra/` directory must exist — if missing, inform user to run `/shaktra:init` and stop
## Intent Classification
Classify based on arguments:
| Arguments | Mode |
|---|---|
| None | Full Audit |
| Story ID (e.g., `ST-001`) | Story Briefing |
| `seed` | Seed Entry |
---
## Mode 1: Full Audit (no arguments)
Read `.shaktra/memory/principles.yml`, `anti-patterns.yml`, `procedures.yml` and `.shaktra/settings.yml`.
If `.shaktra/memory/` doesn't exist, display: "Memory not initialized — run a workflow first to generate observations." and stop.
Display the following sections:
### Section 1 — Overview
```
## Memory Overview
- Total entries: {N} principles, {N} anti-patterns, {N} procedures (active / archived)
- Limits: {N}/{max_principles} principles, {N}/{max_anti_patterns} anti-patterns, {N}/{max_procedures} procedures
- Retrieval tier: {tier} (based on {total_active} active entries)
```
Determine retrieval tier from total active entry count against `retrieval_tier1_max` and `retrieval_tier2_max` from settings.
### Section 2 — Strongest Entries (top 5 by confidence)
```
### Strongest Entries
| ID | Text | Confidence | Sources | Last Reinforced |
|---|---|---|---|---|
| {id} | {text truncated 80 chars} | {confidence} | {source_c