codebase
無料Use when indexing a code repository into Cognee's code graph or querying it (callers, impact analysis, paths, endpoints) from Codex.
日本語の概要は準備中です。原文の説明を表示しています。
Use when the user wants to switch this Cursor session to another Cognee dataset, see which datasets are available, or move memory capture to a different dataset. Syncs the current session first, then starts a fresh Cognee session bound to the chosen dataset.
日本語の概要は準備中です。原文の説明を表示しています。
実行スコア 未検証
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
Plugin root. The commands below use
${CURSOR_PLUGIN_ROOT}, which Cursor does not set in your shell. Take the path from theCognee plugin root:line in the session context (or use the directory two levels above thisSKILL.md, the one holdingscripts/) and runexport CURSOR_PLUGIN_ROOT="<that path>"in the same shell command, before the skill command.
Move this Cursor session to a different Cognee dataset. A Cognee session never spans two datasets, so the switch retires the current session (after syncing it into the graph) and starts a new one on the chosen dataset. All later saves and recalls target the new dataset; the in-context status line shows it.
--force unless the user explicitly accepts that unsynced entries of the current session are retried at session end instead.python3 "${CURSOR_PLUGIN_ROOT}/scripts/switch-dataset.py" "<name>" --json
python3 "${CURSOR_PLUGIN_ROOT}/scripts/switch-dataset.py" --list --json
The JSON has current, datasets ([{name, id, writable, current}]),
hidden_readonly (datasets you can read but not write — never offered) and
filtered (true when write access was verified for every row).
Cursor has no interactive picker outside plan mode, so present a numbered
list of the dataset names (mark the current one) and ask the user to reply
with a number or a name. If filtered is false, say that write access could
not be verified. When the user answers, run the switch with the chosen name:
python3 "${CURSOR_PLUGIN_ROOT}/scripts/switch-dataset.py" "<chosen name>" --json
A name that is not in the list is created for the user on switch.
On success the JSON is
{"switched": true, "dataset", "session_id", "previous": {"dataset", "session_id", "synced": true|false}}.
Tell the user in one line which dataset and Cognee session are now active and
that the previous session was synced. The status line updates on the next
prompt. If "switched": false with "reason": "already_active", say the
session is already on that dataset.
On failure the JSON is {"error", "code"}:
| code | meaning | what to do |
|---|---|---|
| 2 | launch record not found | the plugin did not initialise this session; run cognee-cli.sh doctor. If several Cursor sessions share this directory, rerun with --session-key <host session id> |
| 3 | syncing the current session failed | nothing was changed; show the error and ask before retrying with --force |
| 4 | registering the new session failed | nothing was changed; the server rejected the registration — check the connection |
| 5 | dataset not writable | the name is readable but owned by another principal; pick from the list |
sync-session-to-graph.py --strict) — aborts if this fails.touched list; the session-end sync covers them again as a safety net.A switch is not needed just to look in another dataset: a one-off graph search
leaves the session where it is — ${CURSOR_PLUGIN_ROOT}/scripts/cognee-search.sh "<question>" 10 --graph --dataset-id <id> (see the memory skill).
COGNEE_PLUGIN_DATASET only seeds the dataset at launch; a switch overrides it for the rest of the session and survives a resume.
Recall is scoped to the active dataset, so after a switch earlier context from the previous dataset is no longer injected — switch back to see it again.
まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
Use when indexing a code repository into Cognee's code graph or querying it (callers, impact analysis, paths, endpoints) from Codex.
日本語の概要は準備中です。原文の説明を表示しています。
Use when indexing a code repository into Cognee's code graph or querying it (callers, impact analysis, paths, endpoints) from Cursor.
日本語の概要は準備中です。原文の説明を表示しています。
Use when indexing a code repository into Cognee's code graph or querying it (callers, impact analysis, paths, endpoints) from Antigravity.
日本語の概要は準備中です。原文の説明を表示しています。
Explain a repository's architecture (modules, routes, storage, services), find risky hotspots, draw a Mermaid diagram of the code graph, or review how far a change reaches, from Cognee's code graph.
日本語の概要は準備中です。原文の説明を表示しています。
Index a repository (local path or git URL) into Cognee's code graph and answer exact structural queries with no LLM calls: callers, dependencies, impact of changing a symbol, call paths, endpoints, re-index changes.
日本語の概要は準備中です。原文の説明を表示しています。
A multi-day digest of the user's own coding-agent sessions — sessions per day and project, most-edited files, and every lesson Cognee distilled into the knowledge graph in that window. Use only when the user explicitly asks for a weekly digest, a retro, a recap or report of their recent sessions, or asks for the `cognee-digest` skill by name. Not for questions about code or the current task.
日本語の概要は準備中です。原文の説明を表示しています。