coco-research/coco/cognee
Claude Code and agent skill by coco-research/coco
- community
Checking that the SKILL.md file is still in the repository.
Use when the user says 'cognee', asks about knowledge graph or graph memory, wants to switch memory backends, or needs a status check, dataset init, or graph view. Covers Cognee endpoints plus the Brain fallback.
Install
npx vskill@latest install coco-research/coco/cogneeSKILL.md
/cognee — Knowledge Graph Memory Backend
A persistent knowledge graph memory system powered by Cognee. Stores entities, decisions, events, and relationships as graph nodes with embeddings, enabling semantic search across projects and sessions.
Quick Reference
Sub-commands
/cognee status — Health check and dataset overview
Check if Cognee is reachable and show available datasets.
/cognee init — Initialize a project dataset
Create a Cognee dataset for the current project.
Procedure:
- Ask the user for the dataset name (default: current directory name, slugified).
- Check if a dataset with that name already exists:
- If it exists: "Dataset 'X' already exists. Using it." → skip creation.
- If not: create it:
- Confirm:
/cognee switch — Toggle between Brain and Cognee
Switch which memory backend is primary for this project.
Options:
brain→ Use SQLite-based Brain (zero-dependency, per-project)cognee→ Use Cognee knowledge graph (semantic search, cross-project)both→ Use both (Brain for quick per-project lookup, Cognee for graph queries)
Behavior: This sets a preference. Skills that support both backends will check this preference and route accordingly. Default behavior without explicit switch: Brain for local queries, Cognee for cross-project and semantic search.
/cognee graph — View entity relationships
Show the knowledge graph for a specific entity or the current dataset.
Architecture
Cognee and Brain coexist. They are not mutually exclusive:
- Write path:
/cognee-storepushes to Cognee;/brain-updatepushes to SQLite. You can write to both. - Read path:
/cognee-recallfor semantic/graph queries;/brainfor structured relational queries. - No sync between them — they are independent stores. If you need consistency, pick one as primary and use the other as supplementary.
Behavior Rules
Detect Cognee availability
Before any Cognee operation, check the health endpoint. If unreachable:
- Tell the user: "Cognee is not running. Start it with
cognee server startor install withpip install cognee." - Fall back gracefully: offer to use Brain instead for the same operation.
Dataset naming convention
Default dataset name = project directory slug. For example:
/home/user/MyProject→myproject/home/user/E&C→e-and-c
User can override. Ask once, remember the mapping.
Multi-project awareness
Unlike Brain (one DB per project folder), Cognee datasets are namespaced. An agent working across multiple projects can query multiple datasets in a single search:
Prerequisites
Cognee must be installed and running:
Verify: curl http://localhost:8000/health
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsystems/cognee/skills/cognee/SKILL.md
Popularity
- Repository stars
- 427
- Repository forks
- 12
- 7-day trend score
- 35
Stars and forks are for the whole GitHub repository, not this skill alone. 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
[](https://verified-skill.com/skills/coco-research/coco/cognee)