Agent skill

Cognee

by coco-research in coco-research/coco

A skill your agent uses 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.

Custom licenceAuto-check passedKnowledge Management

Install Cognee

skills CLI
$ npx skills add coco-research/coco --skill cognee -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install coco-research/coco cognee --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/coco-research/coco.git skills-src && mkdir -p .claude/skills && cp -r skills-src/systems/cognee/skills/cognee .claude/skills/cognee && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cognee
GitHub stars
482
Token cost
~1.3k tokens
SKILL.md length
364 words
Files
1
Skills in repo
57
Repo updated
First seen
Licence
Custom licence

At a glance

A skill your agent uses 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.

  • Works in 5 steps: Ask the user for the dataset name… → Check if a dataset with that name… → If it exists: "Dataset 'X' already… → …
  • The user says cognee
  • SKILL.md covers Quick Reference, Sub-commands, Architecture and Behavior Rules, plus 1 more section
  • Calls curl, jq and pip

What it does

Cognee is an agent skill from coco-research/coco. 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.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Knowledge Management, covering Knowledge graphs. The repository describes itself as: CoCo Super Intelligence is the orchestration layer that turns Claude Code, Cursor, or Codex into an engineering department: a routed advisory board, 226 skills, 386 commands…

When your agent uses it

  • The user says cognee
  • Asks about knowledge graph
  • Wants to switch memory backends
  • Needs a status check

Example prompts

  • “cognee”
  • “/cognee”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Ask the user for the dataset name (default: current directory name, slugified).
  2. Check if a dataset with that name already exists
  3. If it exists: "Dataset 'X' already exists. Using it." → skip creation.
  4. If not: create it
  5. Confirm

What it can do on your machine

Read from SKILL.md and the folder at commit 2ddb559. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • curl
    • jq
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cognee loads about 1.3k tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 364 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 364 words (~1,322 tokens).

“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.”

— opening of SKILL.md by coco-research, Custom licence
name
cognee

Read the full SKILL.md on GitHub

Files

Just SKILL.md in systems/cognee/skills/cognee of coco-research/coco.

Open the folder on GitHubat commit 2ddb559

Compare with similar skills

Cognee next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cognee compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cognee this skillcoco-research/coco482—~1.3kAutomated safety check: PassCustom licence
LLM Wiki Knowledge GraphEgonex-AI/Understand-Anything86k1 repos~1.5kAutomated safety check: PassMIT
Ontology1mancompany/OneManCompany4402 repos~1.5kAutomated safety check: PassApache-2.0
Graphagenticnotetaking/arscontexta3.5k1 repos~4.9kAutomated safety check: NotesMIT
Obsidian Canvas BoardsAgriciDaniel/claude-obsidian15k—~1.4kAutomated safety check: PassMIT
Knowledge Graphgnomeria/usbtree690—~1.5kAutomated safety check: PassMIT

Similar skills

  • LLM Wiki Knowledge Graph

    Egonex-AI/Understand-Anything

    Detects a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit relationships and topic clusters.

    86k GitHub starsUsed in 1 repo~1.5k tokens
    Knowledge ManagementAuto-check passed
  • Ontology

    1mancompany/OneManCompany

    Typed knowledge graph for structured agent memory and composable skills.

    440 GitHub starsUsed in 2 repos~1.5k tokens
    Knowledge ManagementAuto-check passed
  • Graph

    agenticnotetaking/arscontexta

    Interactive knowledge graph analysis. An agent skill from agenticnotetaking/arscontexta.

    3.5k GitHub starsUsed in 1 repo~4.9k tokens
    Knowledge ManagementAuto-check: notes
  • Obsidian Canvas Boards

    AgriciDaniel/claude-obsidian

    Creates, inspects and updates Obsidian JSON Canvas boards in a vault, with text, file, link, group and edge nodes, using safe recoverable edits.

    15k GitHub stars~1.4k tokensUpdated 27 days ago
    Knowledge ManagementAuto-check passed
  • Knowledge Graph

    gnomeria/usbtree

    Set up and maintain a lightweight, file-based knowledge graph of the repo — entities, typed relations, decisions, gotchas — so agents load context fast instead of re-exploring the codebase every…

    690 GitHub stars~1.5k tokensUpdated 1 mo ago
    Knowledge ManagementAuto-check passed
  • Stats

    agenticnotetaking/arscontexta

    Show vault statistics and knowledge graph metrics. An agent skill from agenticnotetaking/arscontexta.

    3.5k GitHub starsUsed in 1 repo~3.1k tokens
    Knowledge ManagementAuto-check: notes

More from coco-research/coco

All 57 skills in this repo
  • Arch Index

    coco-research/coco

    Build and validate .arch/index.json — a committed map from each architectural component of this repository to the real directories and files that implement it, pinned to a git commit, with every…

    482 GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Skill Evolution

    coco-research/coco

    A skill your agent uses when running, reviewing or changing coco's self-evolution cycle: the 30-day loop that observes how skills are actually used, proposes evidence-backed edits to them as one…

    482 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Coco Diagram

    coco-research/coco

    A skill your agent uses for architecture, current-state, process, data-flow, medallion, or DP diagrams, including redrawing .drawio and Mermaid sources.

    482 GitHub stars~9.2k tokensUpdated today
    Auto-check passed
  • M0

    coco-research/coco

    A skill your agent uses when the user says 'm0', 'm0 status', 'start m0', 'cross-tool memory', 'operational thread', or 'where is my memory stored', or when the M0 daemon or MCP wiring needs…

    482 GitHub stars~755 tokensUpdated today
    Auto-check passed
  • PR To Video

    coco-research/coco

    A skill your agent uses when the user wants a GitHub PR (URL, owner/repoN, or 'this PR') made into a code-change explainer video from its diff and commits: changelog, feature reveal, fix, or refactor.

    482 GitHub stars~7.8k tokensUpdated today
    Auto-check: notes
  • Website To Video

    coco-research/coco

    A skill your agent uses when the user wants a video of a website (site tour, portfolio, docs or landing-page showcase) captured from a URL.

    482 GitHub stars~3.1k tokensUpdated today
    Auto-check: notes

Questions about Cognee

What does Cognee do?

A skill your agent uses 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. Cognee is an agent skill from coco-research/coco. 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.

When should I use Cognee?

Cognee fits situations like: the user says cognee; asks about knowledge graph; wants to switch memory backends; needs a status check.

How do I install Cognee in Claude Code?

Run `npx skills add coco-research/coco --skill cognee -a claude-code`. Or copy the skill folder (systems/cognee/skills/cognee in coco-research/coco) into .claude/skills/cognee in your project. Claude Code loads it when a task matches its description.

How do I install Cognee in Codex?

Run `npx skills add coco-research/coco --skill cognee -a codex`. Or copy the skill folder (systems/cognee/skills/cognee in coco-research/coco) into .agents/skills/cognee in your project. Codex loads it when a task matches its description.

Can I use Cognee in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add coco-research/coco --skill cognee -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cognee, .gemini/skills/cognee, .github/skills/cognee and .opencode/skills/cognee in your project.

What does Cognee need to run?

Going by SKILL.md and its folder, Cognee needs the command-line tools its instructions call (curl, jq and pip). Our summary lists: Python 3.

Does Cognee access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Cognee safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cognee use?

Cognee has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Cognee use?

About 1.3k tokens (SKILL.md is roughly 5.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Cognee?

Skills that share tags, products or a category with Cognee: LLM Wiki Knowledge Graph (Egonex-AI/Understand-Anything, 86k stars), Ontology (1mancompany/OneManCompany, 440 stars), Graph (agenticnotetaking/arscontexta, 3.5k stars) and Obsidian Canvas Boards (AgriciDaniel/claude-obsidian, 15k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cognee?

coco-research (a GitHub user) maintains it in coco-research/coco, which has 482 GitHub stars. The repository holds 57 skills in this directory. The repository was last updated on October 8, 2026.

Source: coco-research/coco on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.