luum-home/luum-cognitive-os/cognee-integration

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

'Configure and use Cognee for knowledge graph memory. Provides structured

Install

npx vskill@latest install luum-home/luum-cognitive-os/cognee-integration

SKILL.md

Purpose

Integrate Cognee as a knowledge graph memory layer that complements Engram. While Engram provides flat observation-based memory, Cognee adds relationship-aware knowledge graphs with semantic search, enabling agents to understand connections between concepts, decisions, and patterns.

Invocation

/cognee-setup — Initial configuration /cognee-add <source> — Add knowledge from a source (file, URL, text) /cognee-search <query> — Search the knowledge graph

Setup

Prerequisites
  • Python 3.10+
  • pip install cognee
  • Graph database backend: Neo4j (recommended) or NetworkX (lightweight)
  • Vector store: Qdrant, Weaviate, or pgvector
Configuration

Add to cognitive-os.yaml services section:

yaml
services:
cognee:
mode: on_demand
idle_timeout_minutes: 15
config:
graph_backend: "${COGNEE_GRAPH_BACKEND:-networkx}" # networkx | neo4j
vector_store: "${COGNEE_VECTOR_STORE:-lancedb}"
llm_provider: "${COGNEE_LLM_PROVIDER:-ollama}"
mcp_enabled: true
mcp_port: 8100
Environment Variables
COGNEE_GRAPH_BACKEND=networkx # or neo4j
COGNEE_VECTOR_STORE=lancedb # or qdrant, weaviate, pgvector
COGNEE_LLM_PROVIDER=ollama
COGNEE_LLM_MODEL=llama3.1:8b
COGNEE_LLM_ENDPOINT=http://localhost:11434/v1
COGNEE_LLM_API_KEY=ollama
COGNEE_EMBEDDING_PROVIDER=fastembed
COGNEE_EMBEDDING_MODEL=sentence-transformers/all-MiniLM-L6-v2
COGNEE_EMBEDDING_DIMENSIONS=384

What to Do

Step 1: Add Knowledge

Process documents, code, or text through the ECL pipeline:

python
import cognee
# Add source
await cognee.add("path/to/document.md")
# Process (Extract → Cognify → Load)
await cognee.cognify()
Step 2: Search Knowledge Graph

Query relationships and semantic connections:

python
results = await cognee.search("How does the auth middleware handle JWT tokens?")
# Returns: nodes, relationships, and semantic matches
Step 3: MCP Server Integration

Cognee provides an MCP server that Claude Code agents can use directly:

bash
# Start Cognee MCP server
cognee mcp serve --port 8100

Register in Claude Code settings for direct agent access.

Architecture: Engram + Cognee

Agent Query
├─ Engram (flat observations)
│ └─ "What did we decide about X?" → topic-key lookup
│
└─ Cognee (knowledge graph)
└─ "How does X relate to Y?" → graph traversal + semantic search
Use CaseEngramCognee
Decision recall✅ Best⚠️ Possible
Relationship discovery❌✅ Best
Codebase understanding⚠️ Limited✅ Best
Convention tracking✅ Best⚠️ Possible
Cross-project patterns⚠️ Namespace isolation✅ Graph traversal

Rules

  • Cognee complements Engram — it does NOT replace it
  • Use Engram for: decisions, conventions, feedback, project state
  • Use Cognee for: relationships, codebase understanding, knowledge synthesis
  • Default to lightweight backend (NetworkX + LanceDB) for evaluation
  • Upgrade to Neo4j + Qdrant only when graph size exceeds local capacity
  • MCP server runs on-demand, not always-on (save resources)

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/luum-home/luum-cognitive-os/cognee-integration/badge)](https://verified-skill.com/skills/luum-home/luum-cognitive-os/cognee-integration)

Something wrong with this skill or its page? Tell us.