跳到正文
cccskills
免费在 GitHub 公开

cognee-remember

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.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md3.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Cognee Permanent Memory Storage

Store data permanently in the Cognee knowledge graph with category tagging.

Data categories

Cognee organizes knowledge into three categories via node_set tagging:

CategoryNode setWhat belongs here
useruser_contextUser preferences, corrections, personal facts, communication style
projectproject_docsRepository docs, code context, architecture decisions, company data
agentagent_actionsTool call logs, reasoning traces, generated artifacts (auto-captured by hooks)

Instructions

Use the cognee_recall tool to search for existing related content before storing, then use a bash command to POST to the running Cognee server's remember endpoint:

User data (preferences, corrections, personal context):

curl -s -X POST "${COGNEE_BASE_URL:-http://localhost:8011}/api/v1/remember" \
  -H "X-Api-Key: ${COGNEE_API_KEY:-}" \
  -F "datasetName=${COGNEE_PLUGIN_DATASET:-agent_sessions}" \
  -F "node_set=user_context" \
  -F "run_in_background=false" \
  -F "data=$ARGUMENTS"

Project data (docs, code, company knowledge):

curl -s -X POST "${COGNEE_BASE_URL:-http://localhost:8011}/api/v1/remember" \
  -H "X-Api-Key: ${COGNEE_API_KEY:-}" \
  -F "datasetName=${COGNEE_PLUGIN_DATASET:-agent_sessions}" \
  -F "node_set=project_docs" \
  -F "run_in_background=false" \
  -F "data=$ARGUMENTS"

Agent data (explicit agent notes — routine tool logs are automatic):

curl -s -X POST "${COGNEE_BASE_URL:-http://localhost:8011}/api/v1/remember" \
  -H "X-Api-Key: ${COGNEE_API_KEY:-}" \
  -F "datasetName=${COGNEE_PLUGIN_DATASET:-agent_sessions}" \
  -F "node_set=agent_actions" \
  -F "run_in_background=false" \
  -F "data=$ARGUMENTS"

A {"ok": true} response means the server accepted the data. An error response means the server rejected or failed the request — check COGNEE_API_KEY and server logs; do not re-run or conclude the data wasn't stored without confirming against the server.

IMPORTANT: The remember call always runs in the foreground (run_in_background=false) to ensure the full pipeline completes before returning.

When to use

  • User says "remember this" or "save this" -> category user
  • User says "remember this about the project/codebase" -> category project
  • You want to persist your own findings or conclusions -> category agent
  • NOT for routine tool call logging (that's automatic via hooks with agent_actions tagging)

Category routing guide

SignalCategory
"remember my preference for..."user
"I always want..." / "I prefer..."user
"remember this about the codebase"project
"save these docs" / "index this file"project
"note that this API works like..."project
"remember what we discovered"agent
Routine tool callsagent (automatic, no action needed)

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

codebase

免费

Use when indexing a code repository into Cognee's code graph or querying it (callers, impact analysis, paths, endpoints) from Antigravity.

中文简介正在准备中。当前显示原文说明。

topoteretes/cognee-integrations1012026年10月21日 更新

codebase

免费

Use when indexing a code repository into Cognee's code graph or querying it (callers, impact analysis, paths, endpoints) from Codex.

中文简介正在准备中。当前显示原文说明。

topoteretes/cognee-integrations1012026年10月21日 更新

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.

中文简介正在准备中。当前显示原文说明。

topoteretes/cognee-integrations1012026年10月21日 更新

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.

中文简介正在准备中。当前显示原文说明。

topoteretes/cognee-integrations1012026年10月21日 更新

A digest of a week or more of the user's own coding-agent sessions (default 7 days): sessions per day and project, most-edited files and the lessons Cognee learned, written up as shipped, decided and still open.

中文简介正在准备中。当前显示原文说明。

topoteretes/cognee-integrations1012026年10月21日 更新

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.

中文简介正在准备中。当前显示原文说明。

topoteretes/cognee-integrations1012026年10月21日 更新

查看 topoteretes 的全部技能

报告此技能的问题