escoffier-labs

Memory Doctor — Code Quality skill for Claude Code

Code Quality community

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 banner

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)

CI status MIT license

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

![Memory Doctor memory care workflow](docs/assets/memory-care-workflow.svg)

Generated from [`docs/assets/workflows/memory-care.json`](docs/assets/workflows/memory-care.json) with `plating workflow`.

Quickstart

# Read-only health summary of th