New commands: - /remember: Quick shortcut to save to memory (auto-categorizes) - /config: View and manage configuration settings New automation scripts: - memory-add.py: Add items to PA memory with auto-categorization - memory-list.py: List memory items by category The /remember command provides a quick way to save: - "Always use X" → preferences - "Decided to use X" → decisions - "Project at ~/path" → projects - Other → facts 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1.7 KiB
1.7 KiB
name, description, aliases
| name | description | aliases | ||
|---|---|---|---|---|
| remember | Quick shortcut to save something to memory |
|
/remember Command
Quick shortcut to save information to PA memory.
Usage
/remember <what to remember>
/remember Always use dark mode in editors
/remember Project X uses PostgreSQL 15
/remember Prefer functional style over OOP
Implementation
This is a shortcut for /pa --remember -- "<instruction>".
When invoked:
-
Parse the text after
/remember -
Determine the category:
- Contains "prefer", "always", "never" → preference
- Contains "decided", "chose", "use" → decision
- Contains project/path references → project
- Otherwise → fact
-
Generate entry:
{
"id": "<uuid>",
"date": "YYYY-MM-DD",
"content": "<the text>",
"status": "active"
}
-
Append to appropriate file:
~/.claude/state/personal-assistant/memory/preferences.json~/.claude/state/personal-assistant/memory/decisions.json~/.claude/state/personal-assistant/memory/projects.json~/.claude/state/personal-assistant/memory/facts.json
-
Confirm to user:
✓ Saved to preferences:
"Always use dark mode in editors"
Examples
| Input | Category | File |
|---|---|---|
| "Always use tabs not spaces" | preference | preferences.json |
| "Decided to use Rust for CLI tools" | decision | decisions.json |
| "homelab repo is at ~/repos/homelab" | project | projects.json |
| "Server IP is 192.168.1.100" | fact | facts.json |
Quick Access
This is the fastest way to save something:
/remember SSH key is in ~/.ssh/homelab_key
vs the full command:
/pa --remember -- "SSH key is in ~/.ssh/homelab_key"