一键导入
cognee-sync
// Sync session cache entries into the permanent Cognee knowledge graph. Run this to make session memory searchable, or it runs automatically at session end.
// Sync session cache entries into the permanent Cognee knowledge graph. Run this to make session memory searchable, or it runs automatically at session end.
Use when ingesting, cognifying, or querying a codebase with Cognee CLI from Codex.
Use when launching, checking, or reporting on the local Cognee UI/backend through cognee-cli -ui.
Use when Codex should remember, recall, search, improve, or forget information using the Cognee CLI.
Use when setting up, checking, or connecting Cognee through the cognee CLI from Codex.
Store data permanently in the Cognee knowledge graph. Accepts a data category (user, project, or agent) to tag the data with the correct node_set for filtered retrieval.
Search Cognee memory. Session memory is automatically searched on every prompt via hooks. Use this skill explicitly for permanent knowledge graph search, filtered category search, or when you need more results than the automatic lookup provides.
| name | cognee-sync |
| description | Sync session cache entries into the permanent Cognee knowledge graph. Run this to make session memory searchable, or it runs automatically at session end. |
Bridge session cache entries into the permanent knowledge graph.
Run the sync script:
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/sync-session-to-graph.py
Or equivalently via CLI:
cognee-cli improve -d "${COGNEE_PLUGIN_DATASET:-claude_sessions}" -s "${COGNEE_SESSION_ID:-claude_code_session}"
After this, session entries become searchable via /cognee-memory:cognee-search, and the graph knowledge is automatically included in session completion prompts.