diff --git a/graph/configurations/claude-memory-wrapper-script-for-cleaner-cli-usage-a15099.md b/graph/configurations/claude-memory-wrapper-script-for-cleaner-cli-usage-a15099.md new file mode 100644 index 00000000000..91c167bfc75 --- /dev/null +++ b/graph/configurations/claude-memory-wrapper-script-for-cleaner-cli-usage-a15099.md @@ -0,0 +1,21 @@ +--- +id: a15099ae-f84a-49fd-94b5-2f4de7a9b13e +type: configuration +title: "claude-memory wrapper script for cleaner CLI usage" +tags: [cognitive-memory, cli, configuration, wrapper-script, productivity] +importance: 0.6 +confidence: 0.8 +created: "2026-02-13T21:10:02.540325+00:00" +updated: "2026-02-13T21:10:02.540325+00:00" +--- + +Created wrapper script at ~/.local/bin/claude-memory that exec's the cognitive-memory client.py. This eliminates verbose path repetition throughout CLAUDE.md and commands. + +Before: python ~/.claude/skills/cognitive-memory/client.py store ... +After: claude-memory store ... + +Two-line wrapper script: +#!/usr/bin/env bash +exec python ~/.claude/skills/cognitive-memory/client.py "$@" + +Updated all CLAUDE.md references to use claude-memory alias. Removed CM variable boilerplate from CLI examples.