.claude/skills/archive-search/SKILL.md
Search raw session transcripts for technical details and reasoning traces
npx skillsauth add claudeaceae/samara-main .claude/skills/archive-searchInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Search through raw Claude Code session transcripts to recover technical details, reasoning traces, and thinking blocks that were compressed during episode distillation.
The archive contains:
Best for:
| Memory Type | Content | Use Case |
|-------------|---------|----------|
| Episodes (/episode) | Curated summaries (2-8 bullets per section) | What happened today |
| Learnings (/search-memory) | Distilled insights | General knowledge |
| Archive (/archive-search) | Raw transcripts with thinking blocks | Technical depth, exact discussions |
The archive captures ~5-10% of raw transcript bytes by selecting only high-value content (thinking blocks, user questions, assistant reasoning). It's indexed separately to prevent noise pollution of curated memory.
Good use cases:
/archive-search "model fallback implementation"
→ Find thinking blocks about ModelFallbackChain design
/archive-search "Swift vs Python for memory database"
→ Recover exact trade-off analysis
/archive-search "context tracking approaches"
→ See evolution of ContextTracker across sessions
Not helpful:
/archive-search "who is Lucy"
→ Use /person instead (person profiles)
/archive-search "what did we decide about X"
→ Use /search-memory or check decisions.md
Thinking blocks are highest value:
Be specific:
Look for technical terms:
Time range: Last 90 days of sessions Project: samara-main only (for now) Update frequency: Incremental sync during dream cycles (3 AM)
Current state:
Run /archive-search stats to see:
User: /archive-search "sanitization logic"
Claude:
Found 3 relevant sessions:
================================================================================
Result 1 | Distance: 0.18 | Role: thinking
Session: 5399ef7a-... | Time: 2026-01-05 15:42:33
--------------------------------------------------------------------------------
The user is asking about the sanitization issue. Let me think through what we
know:
1. Thinking blocks are leaking into messages
2. Session IDs appearing in user-visible text
3. This happens in multi-stream scenarios (webcam + web fetch + conversation)
The root cause is likely in ClaudeInvoker.swift where we parse JSON output.
If parseJsonOutput() falls back to raw text when JSON parsing fails, it would
include everything - thinking blocks, session IDs, etc.
We need a three-layer defense:
- parseJsonOutput() should never fall back to raw
- sanitizeResponse() should strip known patterns
- MessageBus should coordinate all sends through single channel
[...1247 more characters]
Session file: ~/.claude/projects/.../5399ef7a-...jsonl
This gives you the exact reasoning process, not just the summary that ended up in episode logs.
Once you invoke this skill with /archive-search <query>, you can:
Search by query:
archive-search "your query here"Filter by role:
--role thinking - Only thinking blocks (highest signal)--role user - Only user messages--role assistant - Only assistant textAdjust result count:
--n 10 - Get more resultsCheck index stats:
stats - See what's indexedQuality check:
sample - Random sample of 3 chunkssample --session-id abc123 - Sample from specific sessionFor Claude instances:
When a user invokes /archive-search <query>, you should:
~/.claude-mind/system/bin/archive-index search "<query>"First-time setup:
If the archive hasn't been built yet:
# Build initial index (takes 5-10 minutes for 90 days)
~/.claude-mind/system/bin/archive-index rebuild
# Check stats
~/.claude-mind/system/bin/archive-index stats
# Test search
~/.claude-mind/system/bin/archive-index search "model fallback"
After initial build, dream cycles handle incremental sync automatically.
development
# /webhook --- name: webhook description: Manage webhook sources - list, add, test, and view incoming events context: fork triggers: - webhook - add webhook - create webhook - webhook setup - incoming webhooks --- Manage the webhook receiver system. Use this skill to add new webhook sources, test existing ones, and view incoming events. ## What You Can Do 1. **List sources** - Show all registered webhook sources 2. **Add source** - Create a new webhook source with secure secret 3.
testing
Check crypto wallet balances, transaction history, and addresses
testing
# /voice-call - FaceTime Voice Calling Place and receive FaceTime Audio calls with live transcription and voice/text responses. ## Quick Start ```bash # Full voice conversation (responds via FaceTime audio) ~/.claude-mind/system/bin/voice-call --voice-response # Call with text responses (via iMessage) ~/.claude-mind/system/bin/voice-call --text-response # Call a specific number ~/.claude-mind/system/bin/voice-call +15551234567 --voice-response ``` ## Prerequisites Run `audio-setup --check
tools
--- name: sync description: Check for drift between repo and running system. Use when checking if scripts or Samara are out of sync, verifying system integrity, or before/after rebuilds. Trigger words: sync, organism sync, check drift, system drift, repo sync. context: fork allowed-tools: - Bash - Read - Grep --- # Sync Skill Check for drift between the repo and running system, and optionally fix it. ## What This Does Runs the `sync-organism` script to detect differences between: - `~/