원클릭으로
memory
Use when Codex should remember, recall, search, improve, or forget information using Cognee.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when Codex should remember, recall, search, improve, or forget information using Cognee.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Sync session cache entries into the permanent Cognee knowledge graph. Run this to make session memory searchable, or it runs automatically at session end.
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.
Sync session cache entries into the permanent Cognee knowledge graph. Run this to make session memory searchable, or it runs automatically at session end.
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 | memory |
| description | Use when Codex should remember, recall, search, improve, or forget information using Cognee. |
Use this skill when the user asks Codex to use Cognee as memory, add facts or documents, search a knowledge graph, recall prior context, or improve existing memory.
uv run cognee-cli ... only when the server is genuinely unreachable.-d or --dataset-name; ask only if the dataset boundary is genuinely ambiguous..env files, private keys, token dumps, or unrelated generated artifacts.forget, delete, or --everything, get explicit user confirmation.Server-first (one-step ingestion):
${CODEX_PLUGIN_ROOT}/scripts/cognee-remember.sh "<text>" --node-set user_context
Use --node-set project_docs for project/code content, --node-set agent_actions for agent notes. The script POSTs directly to /api/v1/remember and returns {"ok": true} on success.
Fallback only — server unreachable:
uv run cognee-cli remember <text-or-path> -d <dataset-name>
For staged work (no HTTP equivalent — CLI only):
uv run cognee-cli add <text-or-path> -d <dataset-name>
uv run cognee-cli cognify -d <dataset-name>
For long processing:
uv run cognee-cli remember <text-or-path> -d <dataset-name> --background
uv run cognee-cli cognify -d <dataset-name> --background
Server-first (authoritative):
curl -s -X POST "${COGNEE_BASE_URL:-http://localhost:8011}/api/v1/recall" \
-H "Content-Type: application/json" \
-H "X-Api-Key: ${COGNEE_API_KEY:-}" \
-d '{"query": "<question>", "top_k": 10, "only_context": true, "scope": ["graph"]}'
Omit -H "X-Api-Key: ..." for a local single-user server (auth is optional). An empty list [] from the server is authoritative — the server searched and found nothing.
Fallback only — server unreachable:
uv run cognee-cli recall "<question>" -d <dataset-name> -f pretty
Search modes (CLI only):
uv run cognee-cli search "<question>" -d <dataset-name> -t GRAPH_COMPLETION -f pretty
uv run cognee-cli search "<exact passage or citation need>" -d <dataset-name> -t CHUNKS -k 10 -f pretty
uv run cognee-cli search "<code question>" -d <dataset-name> -t CODE -k 10 -f pretty
cognee-cli is a thin client over the running Cognee server and can print empty stdout even when content exists (a serialization quirk). So:
-d <dataset> to search all your datasets; restricting to one dataset can miss content that lives in another.Server-first (session → graph sync):
python3 "${CODEX_PLUGIN_ROOT}/scripts/sync-session-to-graph.py"
Fallback only — server unreachable:
uv run cognee-cli improve -d <dataset-name>
Bridge session feedback or Q&A into the graph:
uv run cognee-cli improve -d <dataset-name> -s <session-id>
For targeted enrichment:
uv run cognee-cli improve -d <dataset-name> --node-name <entity-name>
Use the narrowest deletion command possible and confirm first:
uv run cognee-cli forget --dataset <dataset-name>
uv run cognee-cli forget --dataset <dataset-name> --data-id <data-uuid>
Avoid uv run cognee-cli forget --everything unless the user explicitly asks
to delete all Cognee data.