# Cognee:recall

Use when the user says 'cognee recall', 'search memory', 'what do we know about', 'find...

- Repository: https://github.com/coco-research/coco (797 stars)
- Category: AI and agents
- License: see repository
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add coco-research/coco --skill cognee:recall -g -a claude-code -y`
Codex: `npx skills add coco-research/coco --skill cognee:recall -g -a codex -y`
Cursor: `npx skills add coco-research/coco --skill cognee:recall -g -a cursor -y`
Gemini CLI: `npx skills add coco-research/coco --skill cognee:recall -g -a gemini-cli -y`

## Description

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.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# /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

```bash
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:

The rest: https://github.com/coco-research/coco/blob/HEAD/systems/cognee/skills/cognee-recall/SKILL.md
