Agent skill · Databases

cognee

Use this skill whenever the user asks about Cognee, AI memory, persistent agent memory, self-improving agents, agents learning from feednack, knowledge graphs, graph-based RAG, long-term memory for agents, short-term memory for agents, personalization, personas, temporal search, temporal knowledge graphs, ontology-based extraction, ontology grounding, feedback, Cypher search, natural-language graph search, chunk search, RAG search, cross-session memory, session feedback, feedback loops, session based memory, redis based memory, knowledge promotion. Also use when the user describes the workflo

Topoteretes29,514★ · +504/wk · 1 repos on radarProfile →
claude-codeships scriptsApache-2.0
Install
npx skills add topoteretes/cognee --skill cognee --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1,963
SKILL.md size: 20 KB
Bundled scripts: yes
Path: cognee/skill.md
Open the folder on GitHub →
Where it comes from
Stars: 29,768 · +254 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Cognee Use this skill for **Cognee-specific Python API help** and for mapping user goals to the right Cognee workflow. ## When to apply this skill Apply this skill whenever the user wants to do any of the following with Cognee: - ingest text, files, URLs, repos, or datasets - build or rebuild a knowledge graph - search documents, chunks, summaries, triplets, or graph context - choose a `SearchType` - enrich an existing graph with `memify` - define custom graph extraction models or `DataPoint` types - run custom task pipelines - configure LLM, graph DB, vector DB, or storage settings - tag and scope memory with `node_set` / NodeSets - build persistent memory for agents across sessions - create feedback loops or self-improving agent workflows - work with temporal extraction, ontologies, Cypher, or natural-language graph queries - manage datasets, sessions, feedback, pruning, updates, or visualization If the user’s intent is “store information in memory and query it later,” prefer Cognee’s core flow: **add -> cognify -> search** ## Core workflow ```python import cognee from cognee import SearchType await cognee.add( "Your text, file path, URL, or list of inputs", dataset_name="main"

What's inside
Steps it walks through
  1. When to apply this skill
  2. Core workflow
  3. Default guidance
  4. Common tasks
  5. Add data
  6. Build the graph
  7. Search the graph
  8. Scope search with NodeSets
  9. Enrich an existing graph
  10. Create domain-specific structures
  11. Run custom pipelines
  12. DataPoints
  13. NodeSets
  14. Why NodeSets matter
Ships with 24 files
  • __init__.py
  • __main__.py
  • alembic.ini
  • alembic/README
  • alembic/env.py
  • alembic/script.py.mako
  • alembic/versions/18f01b0a0b4c_create_principal_configuration_table.py
  • alembic/versions/1a58b986e6e1_enable_delete_for_old_tutorial_notebooks.py
  • alembic/versions/1d0bb7fede17_add_pipeline_run_status.py
  • alembic/versions/1daae0df1866_incremental_loading.py
  • alembic/versions/211ab850ef3d_add_sync_operations_table.py
  • alembic/versions/24f5d4f64d0d_add_session_lifecycle_tables.py
  • alembic/versions/45957f0a9849_add_notebook_table.py
  • alembic/versions/46a6ce2bd2b2_expand_dataset_database_with_json_.py
  • alembic/versions/482cd6517ce4_add_default_user.py
  • alembic/versions/6ee94db7381f_remove_unique_constraint_tenant_name.py
  • alembic/versions/760ef4f08ef0_change_node_label_and_type_to_text.py
  • alembic/versions/76625596c5c3_expand_dataset_database_for_multi_user.py
  • alembic/versions/7c5d4e2f8a91_add_parent_user_id_to_users.py
  • alembic/versions/8057ae7329c2_initial_migration.py
  • alembic/versions/84e5d08260d6_replace_graph_ledger_table_with_nodes_.py
  • alembic/versions/9e7a3cb85175_loader_separation.py
  • alembic/versions/a1b2c3d4e5f6_add_label_column_to_data.py
  • alembic/versions/aa753a730673_add_pipeline_run_id_to_nodes_and_edges.py
first 24 of 1,963
More from cognee
All skills →
About this skill
What does the cognee skill do?

Use this skill whenever the user asks about Cognee, AI memory, persistent agent memory, self-improving agents, agents learning from feednack, knowledge graphs, graph-based RAG, long-term memory for agents, short-term memory for agents, personalization, personas, temporal search, temporal knowledge graphs, ontology-based extraction, ontology grounding, feedback, Cypher search, natural-language graph search, chunk search, RAG search, cross-session memory, session feedback, feedback loops, session based memory, redis based memory, knowledge promotion. Also use when the user describes the workflo

How do I install it?

Run `npx skills add topoteretes/cognee --skill cognee --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From topoteretes/cognee, a repository with 29,768 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going