跳到正文
cccskills
免费在 GitHub 公开

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.

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

查看安装方法

包含的文件(1)

  • SKILL.md1.6 KB

SKILL.md(原文)

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

Sync Session to Permanent Graph

Bridge session cache entries into the permanent knowledge graph.

Instructions

The sync happens automatically at session end via the shutdown hook. To trigger a manual sync, use a bash command to POST the session's cached Q&A and trace data to the Cognee server's remember endpoint:

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_sessions_from_cache" \
  -F "run_in_background=false" \
  -F "data=<session QA and trace content>"

What this does

  1. Persist session Q&A — cognifies session text into the permanent graph
  2. Sync graph to session — copies new graph relationships back into the session cache as a knowledge snapshot, so subsequent completions have instant access to the enriched graph context
  3. Dedup by content hash — already-synced content is skipped

After this, session entries become searchable via the cognee-search skill or cognee_recall tool, and the graph knowledge is automatically included in session completion prompts.

When to use

  • Before searching for session content that hasn't been synced yet
  • When you want to force an early sync without waiting for session end
  • This runs automatically at session end via the shutdown hook

评价

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

评论

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

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

提交后会立即公开。请勿填写邮箱、电话等个人信息。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 Codex.

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

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

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月20日 更新

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月20日 更新

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月20日 更新

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月20日 更新

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月20日 更新

查看 topoteretes 的全部技能

报告此技能的问题