claude-memory/graph/configurations/claude-memory-wrapper-script-for-cleaner-cli-usage-a15099.md

22 lines
818 B
Markdown

---
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.