
Cognee:recall
Use when the user says 'cognee recall', 'search memory', 'what do we know about', 'find...
Install
npx skills add coco-research/coco --skill cognee:recall -g -a claude-code -y- Repository
- coco-research/coco797
- Category
- AI and agents
- Updated
- 3d ago
- License
- See repository
- Context cost
- Mediumabout 2,217 tokens
- Runs scripts
- No, instructions only
What it does
Use when the user says 'cognee recall', 'search memory', 'what do we know about', 'find related', or 'graph search'. Runs semantic, graph, and lexical search across the Cognee knowledge graph and injects results as agent context.
/cognee-recall, Search & Recall from Knowledge Graph
Semantic, graph-traversal, and lexical search across Cognee's knowledge graph. Finds entities, decisions, events, and their relationships, then injects relevant results as agent context for informed decision-making.
Quick Reference
COGNEE="${COGNEE_BASE_URL:-http://localhost:8000}"
DATASET="my-project"
# Semantic search (auto-selects best strategy)
curl -s -X POST "$COGNEE/api/v1/search" \
-H "Content-Type: application/json" \
-d '{"query": "authentication decisions", "datasets": ["my-project"], "search_type": "FEELING_LUCKY", "top_k": 10}' | jq .
# Graph completion search (relationship-aware)
curl -s -X POST "$COGNEE/api/v1/search" \
-H "Content-Type: application/json" \
-d '{"query": "who reports to Alice", "datasets": ["my-project"], "search_type": "GRAPH_COMPLETION", "top_k": 10}' | jq .
# Recall with context injection (adds system prompt)
curl -s -X POST "$COGNEE/api/v1/recall" \
-H "Content-Type: application/json" \
-d '{"query": "rate limiting", "datasets": ["my-project"], "top_k": 10, "only_context": true}' | jq .
# Cross-project search
curl -s -X POST "$COGNEE/api/v1/search" \
-H "Content-Type: application/json" \
-d '{"query": "auth decisions", "datasets": ["project-a", "project-b", "project-c"], "search_type": "FEELING_LUCKY"}' | jq .
Search Types
Cognee supports multiple search strategies. Use FEELING_LUCKY for auto-selection (recommended), or specify one:

