store: claude-memory wrapper script for cleaner CLI usage

This commit is contained in:
Cal Corum 2026-02-13 15:10:02 -06:00
parent 28400cb5b5
commit 7879fd6e0b

View File

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