memory-enhancementlisted
Install: claude install-skill rjmurillo/ai-agents
# Memory Enhancement
Manage citations, verify code references, and track confidence scores for Serena memories. Ensures memories stay accurate by linking them to specific code locations and detecting when those locations change.
## Triggers
- `add citation to memory` - Link memory to specific code location
- `verify memory citations` - Check if code references are still valid
- `check memory health` - Generate staleness report across all memories
- `update memory confidence` - Recalculate trust score based on verification
## Quick Reference
| Input | Output | Duration |
|-------|--------|----------|
| Memory ID + code reference | Citation added with validation | < 5 seconds |
| Memory directory | Health report with stale memories | < 30 seconds |
| Verification results | Updated confidence scores | < 10 seconds |
## Decision Tree
```text
Need memory enhancement?
│
├─ Add citation to memory → edit the memory file (no CLI command)
├─ Verify citations → verify or verify-all command
├─ Check memory health → health command
├─ Traverse memory graph → graph command
└─ Show confidence scores → confidence command
```
## Command Surface
Global options come **before** the subcommand. Placing `--repo-root` or
`--memories-dir` after the subcommand exits 2.
```text
python -m memory_enhancement [--repo-root PATH] [--memories-dir PATH] <command>
```
| Command | Options | Exit codes |
|---------|---------|------------|
| `verify` | `--memory-id ID` | 1 if any citation is invalid, o