本文へ移動
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(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

codebase

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

topoteretes/cognee-integrations1002026年10月16日 更新

codebase

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

topoteretes/cognee-integrations1002026年10月16日 更新

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-integrations1002026年10月16日 更新

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-integrations1002026年10月16日 更新

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-integrations1002026年10月16日 更新

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-integrations1002026年10月16日 更新

topoteretes のスキルをすべて見る

このスキルの問題を報告する