Memory Doctor — Code Quality skill for Claude Code
Agent memory rots quietly.
How to install Memory Doctor
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open escoffier-labs/memory-doctor and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Memory Doctor does
Agent memory rots quietly. Doctor checks it before sessions pay the cost. status, lint, compact for Claude Code and OpenClaw. Also embedded in brigade-cli.
Alternatives in Code Quality
- Brooks Debt — Run a Brooks-Lint tech debt assessment 1.5k ★
- Session Start — Start a new development session by creating a session file in .claude/sessions/ with the format YYYY-MM-DD-HHM 1.2k ★
- Claude Code Log — A Python CLI tool that converts Claude Code transcript JSONL files into readable HTML format 849 ★
README
Memory Doctor
Agent memory rots quietly. Doctor checks it before sessions pay the cost.
Maintenance CLI for file-based agent memory: status, lint, ingest, compact for Claude Code and OpenClaw layouts. Much of this is now embedded in brigade-cli as brigade memory.
Website · Install · brigade memory (embedded)
Install
# Preferred path: embedded in Brigade
pipx install brigade-cli
brigade memory status
brigade memory lint
brigade memory compact
# Standalone (legacy package)
pipx install memory-doctor # if published; else clone this repo
What it does
| Job | What you get | |
|---|---|---|
| Status | See the footprint | Cards, index size, pending handoffs |
| Lint | Catch dead links | Broken wiki links and stale structure |
| Compact | Stay under budget | Flatten bloated MEMORY.md into topic cards |
| Ingest | Promote handoffs | Bridge notes into durable memory carefully |
| Init Git | Make changes reviewable | Initialize and baseline the memory directory |

Generated from [`docs/assets/workflows/memory-care.json`](docs/assets/workflows/memory-care.json) with `plating workflow`.
Quickstart
# Read-only health summary of th
Related Skills
OptiClaude
A lean, tested starter kit for Claude Code: one command sets up a verified CLAUDE.md, safe permissions, verify
Lint Status
Show AgentLint status — active rules, violations this session
Memory Lint
Lint a layered-memory directory for missing frontmatter, orphaned facts, and oversized files
Lint Memory
Run a content-quality lint pass on the memory tree.
Hk
Run the housekeeping wrap-up checklist (docs sync, memory sweep, verify headers/lint/tests, i18n)
Lint
Run code quality checks on the project.
Related Agents
Release Notary
Give a compact release-readiness view grounded in doctor findings, sessions, and promotion evidence
Mb Doctor
Memory Bank diagnostician — finds and fixes internal inconsistencies across core files (roadmap.md ↔ checklist
Part 16: autoDream — Automatic Memory Consolidation
Note: OpenClaw 2026.4+ has a built-in dreaming system (Part 22) inside memory-core. If you're on 2026.4+, use