From reflect
Retrieves relevant prior learnings from a global knowledge base of 170+ items using hybrid vector+graph search, reranked by confidence, recency, and tag overlap. Use for starting projects, debugging recurring issues, or checking prior implementations.
npx claudepluginhub stevengonsalvez/agents-in-a-box --plugin reflectThis skill is limited to using the following tools:
Queries the global learnings KB (GraphRAG + vector) and surfaces the top-N
Manages project learnings across sessions: save debugging insights and decisions, search by keyword or tags, list, prune old entries, and export to Markdown or JSON. Use for recording, recalling, or sharing knowledge.
Captures insights as markdown files, searches prior learnings, and promotes patterns to CLAUDE.md using tiered backends (local, qmd, agent-fs) for knowledge across projects.
Manages project learnings in markdown files: view index, add patterns/pitfalls/operational notes/decisions, search, prune, export for CLAUDE.md persistence across sessions.
Share bugs, ideas, or general feedback.
Queries the global learnings KB (GraphRAG + vector) and surfaces the top-N most relevant learnings for the current work, reranked by confidence, recency, and tag overlap.
Also fires automatically via the SessionStart hook (see
hooks/session_start_recall.py) with a 3-result cap, any confidence
(reranked by confidence/recency/tag-overlap). This skill is the
explicit, higher-limit path.
| Invocation | Behavior |
|---|---|
/reflect:recall <query> | Default — 10 results, any confidence, markdown out |
/reflect:recall <query> --limit 5 --confidence HIGH | Tight filter |
/reflect:recall <query> --mode local | Graph-neighborhood search (finds related concepts) |
/reflect:recall <query> --mode global | Community-based (broad patterns) |
/reflect:recall <query> --format json | Structured output for programmatic use |
/reflect:recall <query> --no-cache | Skip cache, force fresh query |
{{HOME_TOOL_DIR}}/skills/recall/scripts/recall.py:
uv run {{HOME_TOOL_DIR}}/skills/recall/scripts/recall.py "$QUERY" --limit 10 --format markdown
[lrn-id], key insight, and how-to-apply.learnings search <id> or check ~/.learnings/documents/learnings/.--tags a,b,c for reranking boost.~/.learnings/cli/learnings search as subprocess.confidence × recency × (1 + tag_overlap_bonus).
~/.reflect/recall_cache/, 1h TTL.~/.reflect/recall_log.jsonl for
future helpfulness analysis (Phase 6 of the retrieval plan)./reflect:ingest — populate the KB/reflect-status — KB health, coverage, pending reviewshooks/settings-snippet.json)