[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CY9M26SKFG6DKTE7RY3KAM":3,"skill-same:01M7CY9M26SKFG6DKTE7RY3KAM":45},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7CY9M26SKFG6DKTE7RY3KAM","cognee-cli",null,"Use when the user wants to drive cognee from the terminal with cognee-cli — remember\u002Frecall\u002Fforget\u002Fimprove memory commands, managing datasets and config, or database migrations.","GG-QandV\u002Fclone_cognee","GG-QandV","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F220055168?v=4","01M7CY9H49G02Z6F9P4PYKFXRM","Yevhenii N","01M7CY9H5AR4XHN42K520M67C4",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FGG-QandV\u002Fclone_cognee\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fcognee-cli\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: cognee-cli\ndescription: Use when the user wants to drive cognee from the terminal with cognee-cli — remember\u002Frecall\u002Fforget\u002Fimprove memory commands, managing datasets and config, or database migrations.\n---\n\n# Use the cognee CLI\n\n`cognee-cli` ships with the package (entry point in `cognee\u002Fcli\u002F_cognee.py`;\neach command lives in `cognee\u002Fcli\u002Fcommands\u002F`). Every command has\n`--help` for its flags, but only a few (`memify`, `eval`, `serve`, `push`,\n`migrate`) include usage examples — for the memory commands use the examples\nin this file. Needs `LLM_API_KEY` configured, same as the SDK.\n\n## Core flow\n\nThe memory commands are the primary surface as of cognee 1.x:\n\n```bash\ncognee-cli remember \"Your text here\"         # also accepts file paths \u002F URLs\ncognee-cli remember .\u002Fdocs --dataset-name my_project\ncognee-cli recall \"Your question\"            # query the graph\ncognee-cli recall \"keyword\" --query-type CHUNKS\ncognee-cli forget --all                      # wipe local state\n```\n\n`remember` is ingest + graph build in one step (`add` + `cognify` under the\nhood); `--background`\u002F`-b` runs the cognify stage in the background, and\n`--dry-run` estimates LLM tokens\u002Fcost without ingesting. `recall` takes\n`--datasets`\u002F`-d`, `--top-k`\u002F`-k` (default 10), and `--session-id`\u002F`-s`.\n\n`forget` targets `--dataset`, `--dataset-id`, `--data-id` (needs a dataset), or\n`--everything`\u002F`--all` — one unified command covering what `delete`, `prune`,\nand `empty_dataset` used to do separately.\n\n> **`forget --all` does not ask for confirmation.** It deletes every dataset\n> immediately, even on a non-interactive stdin. The legacy `delete --all`\n> prompts `Delete ALL data from cognee? [y\u002FN]` first, so switching to `forget`\n> silently drops that safety net — script it with care.\n\n`--query-type` accepts 10 of the SDK's 20 `SearchType` values — the list in\n`cognee\u002Fcli\u002Fconfig.py:SEARCH_TYPE_CHOICES`: HYBRID_COMPLETION, GRAPH_COMPLETION,\nRAG_COMPLETION, CHUNKS, CHUNKS_LEXICAL, SUMMARIES, CODE, CYPHER, GRAPH_REPORT,\nSKILLS. The rest (TEMPORAL, TRIPLET_COMPLETION, GRAPH_COMPLETION_COT,\nAGENTIC_COMPLETION, NATURAL_LANGUAGE, …) are SDK-only, e.g.\n`cognee.recall(q, query_type=SearchType.TEMPORAL)`.\n\nWhen `--query-type` is omitted the CLI uses `HYBRID_COMPLETION`\n(`DEFAULT_SEARCH_TYPE`), whereas the SDK's `cognee.recall()` auto-routes\nbetween search types. `--top-k` defaults to 10 on the CLI and 15 in the SDK.\n\n## Session memory and enrichment\n\nSession entries are currently written from the SDK — `cognee.remember(...,\nsession_id=\"chat_1\")` — not the CLI (`cognee-cli remember` has no session\nflag). The CLI side of session memory is reading and bridging:\n\n```bash\ncognee-cli recall \"question\" -s chat_1       # session cache first: without -d\u002F-t\n                                             # this searches the session directly\ncognee-cli sessions get                      # retrieve session Q&A history\ncognee-cli improve -d my_project -s chat_1   # bridge session content into the graph\ncognee-cli improve -d my_project             # enrich\u002Findex the graph (no session)\ncognee-cli feedback ...                      # attach feedback to results\n```\n\n`improve` also takes `--node-name`, `--feedback-alpha` (default 0.1), and\n`--background`\u002F`-b`. `remember`\u002F`improve` build their graphs through\n`cognify()`, so cognify-level settings (e.g. `CONTRADICTION_DETECTION=true`)\napply to them too.\n\n## Legacy \u002F lower-level commands\n\n`add`, `cognify`, `search`, `memify`, and `delete` still ship and are what the\nmemory commands call underneath. Use them only to drive a single stage in\nisolation; prefer `remember`\u002F`recall`\u002F`forget`\u002F`improve` otherwise.\n\n```bash\ncognee-cli add \"text\" && cognee-cli cognify  # what `remember` does in one step\ncognee-cli search \"question\"                 # `recall` minus routing\u002Fscope\u002Fsession sources\ncognee-cli memify -d my_project              # custom extraction\u002Fenrichment tasks\ncognee-cli delete --all                      # superseded by `forget --all`\n```\n\n## Management\n\n```bash\ncognee-cli datasets list                     # dataset operations\ncognee-cli config get [key] [--show-secrets] # view one\u002Fall settings (API keys masked by default)\ncognee-cli config set \u003Ckey> \u003Cvalue>          # set + persist to .\u002F.env in the cwd\ncognee-cli config unset \u003Ckey>                # reset a key to its default (also persisted)\ncognee-cli -ui                               # launch API server + UI (see cognee-server skill)\ncognee-cli serve --url http:\u002F\u002Flocalhost:8000 # connect CLI\u002FSDK to a running instance\n```\n\n## Relational DB migrations (Alembic)\n\n```bash\ncognee-cli upgrade        # apply migrations\ncognee-cli downgrade\ncognee-cli history\ncognee-cli current\n```\n\nTypically needed after version upgrades when the server refuses to start on\nan old schema.\n\n## Gotchas\n\n- The CLI initializes cognee lazily; the first command in a fresh environment\n  is slow (DB + model setup), later ones are fast.\n- `remember` (and `add`) without `--dataset-name` targets the default dataset\n  `main_dataset`; `recall`\u002F`search` operate across your accessible datasets\n  unless a dataset is given.\n- `forget` refuses to run bare — pass `--dataset`, `--dataset-id`, `--data-id`\n  (with a dataset), or `--everything`\u002F`--all`.\n- Session commands (`recall -s`, `sessions get`, `improve -s`) require\n  `CACHING=true` (the default) — with it off, session reads return nothing and\n  SDK session writes raise. To cut read latency and token cost while keeping\n  session memory, `cognee-cli config set AUTO_FEEDBACK false` — by default\n  cognee makes one structured-output LLM call per answered query to self-tune\n  its memory.\n- `memify` requires one of the arguments -d\u002F--dataset-name --dataset-id\n- `config set`\u002F`config unset` write to the `.env` file in whatever directory\n  you run the command from (creating it if missing). `config reset` (reset\n  *all* keys) is still not implemented.\n- **Which `.env` actually wins is not always the cwd one.** At import, cognee\n  calls `dotenv.load_dotenv(override=True)`, which resolves relative to the\n  *cognee package location*, not your working directory. In a source\u002Feditable\n  checkout (`uv pip install -e .`) a `.env` at the repo root therefore shadows\n  the `.env` in the directory you ran from — and because `override=True`, it\n  also beats variables you `export`ed. Symptom: `config set` appears to do\n  nothing, or the CLI connects to a backend you thought you had overridden.\n  To test against different settings, move the repo `.env` aside, or set\n  values programmatically after import (`cognee.config.set_*`). (Under\n  `python -c` the cwd `.env` does win, because dotenv falls back to the cwd\n  when `__main__` has no `__file__` — which is why the same command can\n  behave differently as a script vs. `-c`.)\n","# Use the cognee CLI\n\n`cognee-cli` ships with the package (entry point in `cognee\u002Fcli\u002F_cognee.py`;\neach command lives in `cognee\u002Fcli\u002Fcommands\u002F`). Every command has\n`--help` for its flags, but only a few (`memify`, `eval`, `serve`, `push`,\n`migrate`) include usage examples — for the memory commands use the examples\nin this file. Needs `LLM_API_KEY` configured, same as the SDK.\n\n## Core flow\n\nThe memory commands are the primary surface as of cognee 1.x:\n\n```bash\ncognee-cli remember \"Your text here\"         # also accepts file paths \u002F URLs\ncognee-cli remember .\u002Fdocs --dataset-name my_project\ncognee-cli recall \"Your question\"            # query the graph\ncognee-cli recall \"keyword\" --query-type CHUNKS\ncognee-cli forget --all                      # wipe local state\n```\n\n`remember` is ingest + graph build in one step (`add` + `cognify` under the\nhood); `--background`\u002F`-b` runs the cognify stage in the background, and\n`--dry-run` estimates LLM tokens\u002Fcost without ingesting. `recall` takes\n`--datasets`\u002F`-d`, `--top-k`\u002F`-k` (default 10), and `--session-id`\u002F`-s`.\n\n`forget` targets `--dataset`, `--dataset-id`, `--data-id` (needs a dataset), or\n`--everything`\u002F`--all` — one unified command covering what `delete`, `prune`,\nand `empty_dataset` used to do separately.\n\n> **`forget --all` does not ask for confirmation.** It deletes every dataset\n> immediately, even on a non-interactive stdin. The legacy `delete --all`\n> prompts `Delete ALL data from cognee? [y\u002FN]` first, so switching to `forget`\n> silently drops that safety net — script it with care.\n\n`--query-type` accepts 10 of the SDK's 20 `SearchType` values — the list in\n`cognee\u002Fcli\u002Fconfig.py:SEARCH_TYPE_CHOICES`: HYBRID_COMPLETION, GRAPH_COMPLETION,\nRAG_COMPLETION, CHUNKS, CHUNKS_LEXICAL, SUMMARIES, CODE, CYPHER, GRAPH_REPORT,\nSKILLS. The rest (TEMPORAL, TRIPLET_COMPLETION, GRAPH_COMPLETION_COT,\nAGENTIC_COMPLETION, NATURAL_LANGUAGE, …) are SDK-only, e.g.\n`cognee.recall(q, query_type=SearchType.TEMPORAL)`.\n\nWhen `--query-type` is omitted the CLI uses `HYBRID_COMPLETION`\n(`DEFAULT_SEARCH_TYPE`), whereas the SDK's `cognee.recall()` auto-routes\nbetween search types. `--top-k` defaults to 10 on the CLI and 15 in the SDK.\n\n## Session memory and enrichment\n\nSession entries are currently written from the SDK — `cognee.remember(...,\nsession_id=\"chat_1\")` — not the CLI (`cognee-cli remember` has no session\nflag). The CLI side of session memory is reading and bridging:\n\n```bash\ncognee-cli recall \"question\" -s chat_1       # session cache first: without -d\u002F-t\n                                             # this searches the session directly\ncognee-cli sessions get                      # retrieve session Q&A history\ncognee-cli improve -d my_project -s chat_1   # bridge session content into the graph\ncognee-cli improve -d my_project             # enrich\u002Findex the graph (no session)\ncognee-cli feedback ...                      # attach feedback to results\n```\n\n`improve` also takes `--node-name`, `--feedback-alpha` (default 0.1), and\n`--background`\u002F`-b`. `remember`\u002F`improve` build their graphs through\n`cognify()`, so cognify-level settings (e.g. `CONTRADICTION_DETECTION=true`)\napply to them too.\n\n## Legacy \u002F lower-level commands\n\n`add`, `cognify`, `search`, `memify`, and `delete` still ship and are what the\nmemory commands call underneath. Use them only to drive a single stage in\nisolation; prefer `remember`\u002F`recall`\u002F`forget`\u002F`improve` otherwise.\n\n```bash\ncognee-cli add \"text\" && cognee-cli cognify  # what `remember` does in one step\ncognee-cli search \"question\"                 # `recall` minus routing\u002Fscope\u002Fsession sources\ncognee-cli memify -d my_project              # custom extraction\u002Fenrichment tasks\ncognee-cli delete --all                      # superseded by `forget --all`\n```\n\n## Management\n\n```bash\ncognee-cli datasets list                     # dataset operations\ncognee-cli config get [key] [--show-secrets] # view one\u002Fall settings (API keys masked by default)\ncognee-cli config set \u003Ckey> \u003Cvalue>          # set + persist to .\u002F.env in the cwd\ncognee-cli config unset \u003Ckey>                # reset a key to its default (also persisted)\ncognee-cli -ui                               # launch API server + UI (see cognee-server skill)\ncognee-cli serve --url http:\u002F\u002Flocalhost:8000 # connect CLI\u002FSDK to a running instance\n```\n\n## Relational DB migrations (Alembic)\n\n```bash\ncognee-cli upgrade        # apply migrations\ncognee-cli downgrade\ncognee-cli history\ncognee-cli current\n```\n\nTypically needed after version upgrades when the server refuses to start on\nan old schema.\n\n## Gotchas\n\n- The CLI initializes cognee lazily; the first command in a fresh environment\n  is slow (DB + model setup), later ones are fast.\n- `remember` (and `add`) without `--dataset-name` targets the default dataset\n  `main_dataset`; `recall`\u002F`search` operate across your accessible datasets\n  unless a dataset is given.\n- `forget` refuses to run bare — pass `--dataset`, `--dataset-id`, `--data-id`\n  (with a dataset), or `--everything`\u002F`--all`.\n- Session commands (`recall -s`, `sessions get`, `improve -s`) require\n  `CACHING=true` (the default) — with it off, session reads return nothing and\n  SDK session writes raise. To cut read latency and token cost while keeping\n  session memory, `cognee-cli config set AUTO_FEEDBACK false` — by default\n  cognee makes one structured-output LLM call per answered query to self-tune\n  its memory.\n- `memify` requires one of the arguments -d\u002F--dataset-name --dataset-id\n- `config set`\u002F`config unset` write to the `.env` file in whatever directory\n  you run the command from (creating it if missing). `config reset` (reset\n  *all* keys) is still not implemented.\n- **Which `.env` actually wins is not always the cwd one.** At import, cognee\n  calls `dotenv.load_dotenv(override=True)`, which resolves relative to the\n  *cognee package location*, not your working directory. In a source\u002Feditable\n  checkout (`uv pip install -e .`) a `.env` at the repo root therefore shadows\n  the `.env` in the directory you ran from — and because `override=True`, it\n  also beats variables you `export`ed. Symptom: `config set` appears to do\n  nothing, or the CLI connects to a backend you thought you had overridden.\n  To test against different settings, move the repo `.env` aside, or set\n  values programmatically after import (`cognee.config.set_*`). (Under\n  `python -c` the cwd `.env` does win, because dotenv falls back to the cwd\n  when `__main__` has no `__file__` — which is why the same command can\n  behave differently as a script vs. `-c`.)\n",{"name":5,"description":7},"main","d3c91e153685d31a8df7acf5f8b28647a774ff33",".claude\u002Fskills\u002Fcognee-cli","https:\u002F\u002Fgithub.com\u002FGG-QandV\u002Fclone_cognee","https:\u002F\u002Fgithub.com\u002FGG-QandV","https:\u002F\u002Fkeysingate.com\u002F","2026-09-17 18:52:29",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add GG-QandV\u002Fclone_cognee --skill cognee-cli",{"tool":37,"command":38},"bunx","bunx skills add GG-QandV\u002Fclone_cognee --skill cognee-cli",{"tool":40,"command":41},"pnpm","pnpm dlx skills add GG-QandV\u002Fclone_cognee --skill cognee-cli","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FGG-QandV\u002Fclone_cognee\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fcognee-cli\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M7CYBGRTBNN40SCW8A70NPYC","skill-feedback-writer","Use to identify missing instructions in another skill based on its output.","https:\u002F\u002Fgithub.com\u002FGG-QandV\u002Fclone_cognee\u002Fblob\u002Fmain\u002Fexamples\u002Fdemos\u002Ffeedback\u002Fskill_feedback_loop\u002Fskills\u002Fskill-feedback-writer\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7CYBF54ZRAADPJAAZ27QM7D","pr-comment-evaluator","Use to judge whether a PR review comment sounds polite.","https:\u002F\u002Fgithub.com\u002FGG-QandV\u002Fclone_cognee\u002Fblob\u002Fmain\u002Fexamples\u002Fdemos\u002Ffeedback\u002Fskill_feedback_loop\u002Fskills\u002Fpr-comment-evaluator\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7CYBDRNDMBX4N85SHXXM6X3","diff-risk-explainer","Use to briefly explain small code diffs.","https:\u002F\u002Fgithub.com\u002FGG-QandV\u002Fclone_cognee\u002Fblob\u002Fmain\u002Fexamples\u002Fdemos\u002Ffeedback\u002Fskill_feedback_loop\u002Fskills\u002Fdiff-risk-explainer\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7CYATY5MQ0WE9D9WZZ15FA2","cognee","Use this skill whenever the user asks about Cognee, AI memory, persistent agent memory, self-improving agents, agents learning from feedback, 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 workflow such as: \"turn documents into a knowledge graph\", \"build memory from files\", \"search my graph\", \"extract entities and relations\", \"sync data into a graph\", \"update graph memory\", \"store memories for an agent\", \"help my agent learn over time\", \"visualize a knowledge graph built from documents\", \"let the agent learn\", \"adaptive agents\", \"personalized agents\", \"session based personalization\", \"find important ontologies\", \"find custom pydantic models\", \"isolate agentic behaviour\", \"add permission control to retrieval\", \"reduce context bloating\".","https:\u002F\u002Fgithub.com\u002FGG-QandV\u002Fclone_cognee\u002Fblob\u002Fmain\u002Fcognee\u002Fskill.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7CYANBAR44V6KV0Y3V9CXDB","cognee-server","Use when the user wants to run the cognee API server (and optional UI) on their own machine — starting it, checking it's healthy, connecting the SDK or other clients to it, and choosing the right auth posture.","https:\u002F\u002Fgithub.com\u002FGG-QandV\u002Fclone_cognee\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fcognee-server\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7CYAEP5XHRND568JR5E9YSK","cognee-permissions","Use when working with cognee's permission system — understanding or changing how users, roles, and tenants get access to datasets, how ACL grants work, where permissions are enforced in add\u002Fcognify\u002Fsearch\u002Fdelete, and how the grant records surface in the memory-provenance view.","https:\u002F\u002Fgithub.com\u002FGG-QandV\u002Fclone_cognee\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fcognee-permissions\u002FSKILL.md",[],[]]