/~learn/s/327d4a25
Index, archive, and maintain conversations for search.
Install auto-indexing hook:
~/.claude/skills/collaboration/remembering-conversations/tool/install-hook
Index all conversations:
~/.claude/skills/collaboration/remembering-conversations/tool/index-conversations
Process unindexed only:
~/.claude/skills/collaboration/remembering-conversations/tool/index-conversations --cleanup
~/.config/superpowers/conversation-archive/
cd ~/.claude/skills/collaboration/remembering-conversations/tool
./install-hook
Handles existing hooks gracefully (merge or replace). Runs in background after each session.
# Index everything
./index-conversations
# Or just unindexed (faster, cheaper)
./index-conversations --cleanup
# Index all (first run or full rebuild)
./index-conversations
# Index specific session (used by hook)
./index-conversations --session <uuid>
# Process only unindexed (missing summaries)
./index-conversations --cleanup
# Check index health
./index-conversations --verify
# Fix detected issues
./index-conversations --repair
# Nuclear option (deletes DB, re-indexes everything)
./index-conversations --rebuild
| Situation | Command |
| ----------- | --------- |
| Missed conversations | --cleanup |
| Hook didn't run | --cleanup |
| Updated conversation | --verify then --repair |
| Corrupted database | --rebuild |
| Index health check | --verify |
Hook not running:
ls -l ~/.claude/hooks/sessionEnd (should be executable)SESSION_ID=test-$(date +%s) ~/.claude/hooks/sessionEnd./install-hookSummaries failing:
echo $ANTHROPIC_API_KEY./index-conversations --session <uuid>Search not finding results:
./index-conversations --verify./search-conversations --text "exact phrase"./index-conversations --rebuild
To exclude specific projects from indexing (e.g., meta-conversations), create:
~/.config/superpowers/conversation-index/exclude.txt
# One project name per line
# Lines starting with # are comments
-Users-yourname-Documents-some-project
Or set env variable:
export CONVERSATION_SEARCH_EXCLUDE_PROJECTS="project1,project2"
~/.config/superpowers/conversation-archive/<project>/<uuid>.jsonl~/.config/superpowers/conversation-archive/<project>/<uuid>-summary.txt~/.config/superpowers/conversation-index/db.sqlite~/.config/superpowers/conversation-index/exclude.txt (optional)