--- id: a33977c8-8c33-4efa-a8ce-1c0de43d3884 type: configuration title: "CLAUDE.md: mandatory post-commit memories + claude-memory alias" tags: [claude-config, cognitive-memory, configuration, workflow] importance: 0.6 confidence: 0.8 created: "2026-02-13T20:46:20.041855+00:00" updated: "2026-02-13T20:46:20.041855+00:00" --- Updated CLAUDE.md to make post-commit memory storage mandatory (not optional). Replaced all verbose python ~/.claude/skills/cognitive-memory/client.py references with claude-memory wrapper script at ~/.local/bin/claude-memory. Cleaned up CLI usage examples by removing CM variable boilerplate. Motivated by wanting automatic rich-context memory capture on every commit. Shell alias won't work (non-interactive bash), so used wrapper script on PATH instead.