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
- 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 ★
- Setup Ast — Setup tree-sitter CLI and grammars for AST-powered code review 243 ★
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
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
Run code quality checks on the project.
Run Quality Gates
Run code quality checks (lint, format, type check, tests)
Lint Format
Run Flutter/Dart formatting and analyzer checks for the current worktree.
Clawback
Claude Code and Codex hooks kit for verification loops: file protection, post-edit lint, and stop-time checks
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
Mp Explorer
Read-only reconnaissance for masterplan — run-bundle state reads, situation reports, and doctor-fact gathering