Remember
Search your HACS semantic memory.
Steps
-
Read identity:
# Identity: CWD first (per-instance), then home (fallback) if [ -f .hacs-identity ]; then source .hacs-identity 2>/dev/null elif [ -f ~/.hacs-identity ]; then source ~/.hacs-identity 2>/dev/null fiIf missing, tell user to run
/hacs-setupfirst. -
Parse arguments:
Search:
/remember "topic"→ callmcp__HACS__rememberwithinstanceId,query: "topic"/remember "topic" --recent→ addrecent_only: true(last 7 days)/remember "topic" --type diary→ filter by entry_type
Store:
/remember store "content"→ callmcp__HACS__store_memorywithinstanceId,content/remember store "content" --type lesson→ with entry_type
Stats:
/remember stats→ callmcp__HACS__remember_statswithinstanceId
-
For search results, display as:
Found [count] memories: 1. [score] [type] [date] — first line of content... 2. ... -
For the most relevant result (score > 0.6), show the full content.
Rules
- Default to search mode if no subcommand specified
- Show scores to help the user judge relevance
- Cross-language: queries in one language can find memories in another
- Keep output concise — show previews, not full content for all results