Neo4j Genai Plugin Skill
neo4j-contrib/neo4j-skills
Use Neo4j GenAI Plugin ai.text. An agent skill from neo4j-contrib/neo4j-skills.
Installs the cognee AI memory library in a Python environment, sets the LLM key and gets a first remember and recall script running with the Python SDK.
$ npx skills add topoteretes/cognee --skill cognee-install -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install topoteretes/cognee cognee-install --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/topoteretes/cognee.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/cognee-install .claude/skills/cognee-install && rm -rf skills-srcUse ~/.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/
Install the "cognee-install" agent skill from https://github.com/topoteretes/cognee/tree/main/.agents/skills/cognee-install into .claude/skills/cognee-install/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cognee-install", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/topoteretes/cognee/tree/main/.agents/skills/cognee-installType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add topoteretes/cognee --skill cognee-install -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install topoteretes/cognee cognee-install --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/topoteretes/cognee.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/cognee-install .agents/skills/cognee-install && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cognee-install" agent skill from https://github.com/topoteretes/cognee/tree/main/.agents/skills/cognee-install into .agents/skills/cognee-install/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cognee-install", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add topoteretes/cognee --skill cognee-install -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install topoteretes/cognee cognee-install --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/topoteretes/cognee.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/cognee-install .cursor/skills/cognee-install && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "cognee-install" agent skill from https://github.com/topoteretes/cognee/tree/main/.agents/skills/cognee-install into .cursor/skills/cognee-install/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cognee-install", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/topoteretes/cognee.git --path .agents/skills/cognee-install--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add topoteretes/cognee --skill cognee-install -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install topoteretes/cognee cognee-install --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/topoteretes/cognee.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/cognee-install .gemini/skills/cognee-install && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "cognee-install" agent skill from https://github.com/topoteretes/cognee/tree/main/.agents/skills/cognee-install into .gemini/skills/cognee-install/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cognee-install", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install topoteretes/cognee cognee-installInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add topoteretes/cognee --skill cognee-install -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/topoteretes/cognee.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/cognee-install .github/skills/cognee-install && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "cognee-install" agent skill from https://github.com/topoteretes/cognee/tree/main/.agents/skills/cognee-install into .github/skills/cognee-install/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cognee-install", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add topoteretes/cognee --skill cognee-install -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install topoteretes/cognee cognee-install --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/topoteretes/cognee.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/cognee-install .opencode/skills/cognee-install && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "cognee-install" agent skill from https://github.com/topoteretes/cognee/tree/main/.agents/skills/cognee-install into .opencode/skills/cognee-install/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cognee-install", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
cognee-installInstalls the cognee AI memory library in a Python environment, sets the LLM key and gets a first remember and recall script running with the Python SDK.
This skill walks through setting up cognee, an open-source memory platform for agents, with its Python SDK. It needs Python 3.10 to 3.14 and prefers uv: create a virtual environment, then install cognee from PyPI, adding extras such as postgres, neo4j, docling, anthropic, ollama or aws only when they are needed.
The only required setting is an LLM API key in a .env file or the environment. Defaults need no services: SQLite for relational data, LanceDB for vectors and Ladybug for the graph, all stored locally, with OpenAI as the default LLM and embedding provider. Other providers and databases are left to the cognee-integrations skill.
The first-run script uses the async memory API of remember, recall, forget and improve. A single remember call ingests text, file paths, URLs or binary streams, recall picks a search strategy on its own, and passing a session_id switches to a fast session cache that the CACHING setting can turn off.
Read from SKILL.md and the folder at commit 0ec7a9f. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
uvFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
LLM_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Install and Run Cognee loads about 1k tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 423 words of instructions outside code blocks.
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.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
uired setting is an LLM API key. Create `.env` in the workingAutomated 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.
The full file from topoteretes/cognee at commit 0ec7a9f, republished under its Apache-2.0 licence (© topoteretes). 423 words, ~1,005 tokens.
.claude/skills/cognee-install/SKILL.md (or your agent's skills folder).Requires Python 3.10–3.14. Prefer uv:
uv venv && source .venv/bin/activate
uv pip install cognee # from PyPI
# or, working inside this repo:
uv pip install -e .Add extras only when needed — examples: cognee[postgres], cognee[neo4j],
cognee[docling] (office/HTML document parsing, slim), cognee[docs]
(unstructured), cognee[anthropic], cognee[ollama], cognee[aws]. The full
list is in pyproject.toml under [project.optional-dependencies].
The only required setting is an LLM API key. Create .env in the working
directory (or export the variable):
LLM_API_KEY="your_openai_api_key"Defaults need no services: SQLite (relational), LanceDB (vector), and Ladybug (graph), all stored locally. OpenAI is the default LLM and embedding provider — if you configure a different LLM but not embeddings (or vice versa), the other silently stays on OpenAI. For other providers and databases use the cognee-integrations skill.
As of cognee 1.x the memory API — remember, recall, forget, improve —
is the primary surface. All SDK functions are async. Minimal end-to-end script:
import asyncio
import cognee
async def main():
await cognee.remember("Cognee turns documents into AI memory.")
results = await cognee.recall("What does cognee do?")
print(results)
asyncio.run(main())remember() is the whole ingestion path in one call — it runs add() +
cognify(), then improve() to index the graph (self_improvement=True by
default). It accepts text, file paths, URLs, and binary streams, with an
optional dataset_name="my_project"; pass datasets=["my_project"] to
recall() to stay inside one dataset.
recall() auto-routes the query to a search strategy by default. Pass
query_type=SearchType.CHUNKS (etc.) to pin one, or auto_route=False to
fall back to GRAPH_COMPLETION.
Session memory is the other half of the API — remember(..., session_id="chat_1")
writes to a fast session cache rather than running add+cognify inline, and
recall(..., session_id="chat_1") reads it back (session hits short-circuit the
graph search). With the default self_improvement=True it still bridges that
data into the permanent graph in the background; improve(dataset=..., session_ids=[...]) does the same explicitly. Session memory runs on the
session cache, which is on by default (CACHING=true); setting
CACHING=false disables it entirely and makes remember(session_id=...)
raise.
Start with examples/advanced_guides/remember_recall_improve_example.py, which walks
through permanent memory, session memory, and the sync between them.
The add() / cognify() / search() / memify() primitives still exist and
are what remember/recall/improve call underneath — reach for them when you
need to drive a stage in isolation (e.g. custom pipeline tasks), not for
ordinary ingestion. cognee.delete is formally deprecated (since 0.3.9);
forget() is the v1 replacement, unifying the old delete/empty_dataset
paths behind one call. When to use recall() versus the low-level search()
is covered in docs/recall-vs-search.md.
cognee-cli remember "hello" && cognee-cli recall "hello" exercises the same
flow from the shell.cognee-cli forget --all (or
await cognee.forget(everything=True)).AUTO_FEEDBACK=false
(keep CACHING=true); by default cognee makes one structured-output LLM
call per answered query to self-tune its memory.LLM_INSTRUCTOR_MODE="json_schema_mode".© topoteretes, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/cognee-install of topoteretes/cognee.
Open the folder on GitHubat commit 0ec7a9f
Install and Run 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Install and Run Cognee this skilltopoteretes/cognee | 32k | — | ~1k | Automated safety check: Notes | Apache-2.0 | |
| Neo4j Genai Plugin Skillneo4j-contrib/neo4j-skills | 114 | — | ~3k | Automated safety check: Notes | MIT | |
| Neo4j Graphrag Skillneo4j-contrib/neo4j-skills | 114 | — | ~4.2k | Automated safety check: Notes | MIT | |
| Neo4j Agent Memory Skillneo4j-contrib/neo4j-skills | 114 | — | ~5.8k | Automated safety check: Pass | MIT | |
| LanceDB Memory Configuration GuideCortexReach/memory-lancedb-pro-skill | 229 | — | ~14k | Automated safety check: Pass | None | |
| Cortexdb Memory Hermesliliang-cn/cortexdb | 274 | — | ~1.7k | Automated safety check: Pass | MIT |
neo4j-contrib/neo4j-skills
Use Neo4j GenAI Plugin ai.text. An agent skill from neo4j-contrib/neo4j-skills.
neo4j-contrib/neo4j-skills
Build GraphRAG retrieval pipelines on Neo4j using the neo4j-graphrag Python package (v1.22.0+).
neo4j-contrib/neo4j-skills
Authoritative reference for the neo4j-agent-memory Python package — a graph-native memory system for AI agents built on Neo4j — and for the hosted service (NAMS) at memory.neo4jlabs.com.
CortexReach/memory-lancedb-pro-skill
Walks through installing and tuning memory-lancedb-pro, picking an embedding, reranker, and LLM combination from four preset configuration plans.
liliang-cn/cortexdb
Give a Python agent (such as Hermes Agent by Nous Research) durable, local-first memory plus a queryable SPARQL knowledge graph, backed by CortexDB through its gRPC sidecar and the cortexdb-client…
ogham-mcp/ogham-mcp
Admin and maintenance workflows for Ogham shared memory. An agent skill from ogham-mcp/ogham-mcp.
topoteretes/cognee
Drives cognee from the terminal with remember, recall, forget and improve memory commands, dataset and config management and database migrations.
topoteretes/cognee
Guide to using and contributing cognee community packages: database adapters, data-source connectors, custom tasks and retrievers, and Keywords AI observability.
topoteretes/cognee
Defines the shape of cognee's knowledge graph with graph_model: DataPoint node classes, identity and index fields, typed edges and fixes for duplicated nodes.
topoteretes/cognee
Shows how to write custom cognee tasks, chain them into pipelines, store custom DataPoints and run enrichment over the existing graph.
topoteretes/cognee
Runs the Cognee AI memory platform in Docker, from a one-file prebuilt image to a full compose stack with UI, MCP server, Postgres and Neo4j.
topoteretes/cognee
Removes data from cognee memory with forget(), finding the right dataset and document first and choosing between one document, a dataset or only the graph and vector memory.
Works with
Categories
Installs the cognee AI memory library in a Python environment, sets the LLM key and gets a first remember and recall script running with the Python SDK. This skill walks through setting up cognee, an open-source memory platform for agents, with its Python SDK.14 and prefers uv: create a virtual environment, then install cognee from PyPI, adding extras such as postgres, neo4j, docling, anthropic, ollama or aws only when they are needed.
Install and Run Cognee fits situations like: installing cognee for the first time in a fresh virtual environment; choosing which cognee extras to install; getting a minimal remember and recall script working; setting up session memory for a chat with a session_id.
Run `npx skills add topoteretes/cognee --skill cognee-install -a claude-code`. Or copy the skill folder (.agents/skills/cognee-install in topoteretes/cognee) into .claude/skills/cognee-install in your project. Claude Code loads it when a task matches its description.
Run `npx skills add topoteretes/cognee --skill cognee-install -a codex`. Or copy the skill folder (.agents/skills/cognee-install in topoteretes/cognee) into .agents/skills/cognee-install in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add topoteretes/cognee --skill cognee-install -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-install, .gemini/skills/cognee-install, .github/skills/cognee-install and .opencode/skills/cognee-install in your project.
Going by SKILL.md and its folder, Install and Run Cognee needs the command-line tools its instructions call (uv) and credentials named LLM_API_KEY. Our summary lists: Python 3.10 to 3.14; An LLM API key set as LLM_API_KEY; uv, preferred for creating the virtual environment.
SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Install and Run Cognee is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1k tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Install and Run Cognee: Neo4j Genai Plugin Skill (neo4j-contrib/neo4j-skills, 114 stars), Neo4j Graphrag Skill (neo4j-contrib/neo4j-skills, 114 stars), Neo4j Agent Memory Skill (neo4j-contrib/neo4j-skills, 114 stars) and LanceDB Memory Configuration Guide (CortexReach/memory-lancedb-pro-skill, 229 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
topoteretes (a GitHub organization) maintains it in topoteretes/cognee, which has 31,807 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on October 9, 2026.
Source: topoteretes/cognee on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.