Skip to content
cccskills
FreePublished on GitHub

cognee-sync

Sync the current session from Cognee's session cache into the permanent knowledge graph now (Q&A turns, tool feedback, distilled lessons), so it becomes searchable and shows up in digests. Also runs at session end.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md2.0 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Sync Session to Permanent Graph

Bridge session cache entries into the permanent knowledge graph.

Instructions

Run the sync script:

python3 "${CLAUDE_PLUGIN_ROOT}/scripts/sync-session-to-graph.py"

What this does

Runs Cognee's session-aware improve for the current session (the server bridges the session from its own session cache — no session text is re-uploaded):

  1. Apply feedback weights -- session entries with feedback scores update graph node/edge weights
  2. Persist session Q&A -- cognifies the session's question/answer turns into the permanent graph
  3. Persist trace feedback -- cognifies the compact per-step tool feedback lines (not raw tool output)
  4. Distill lessons -- curates gated session guidance into entity-anchored lessons in the graph
  5. Enrich + sync back -- runs graph enrichment and copies new graph relationships back into the session cache as a knowledge snapshot, so subsequent completions have instant access to the enriched graph context

After this, session entries become searchable via /cognee-memory:cognee-search, 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 SessionEnd hook

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

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

The English summary is being prepared. Showing the original description.

topoteretes/cognee-integrations101Updated Oct 20, 2026

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

The English summary is being prepared. Showing the original description.

topoteretes/cognee-integrations101Updated Oct 20, 2026

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.

The English summary is being prepared. Showing the original description.

topoteretes/cognee-integrations101Updated Oct 20, 2026

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.

The English summary is being prepared. Showing the original description.

topoteretes/cognee-integrations101Updated Oct 20, 2026

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.

The English summary is being prepared. Showing the original description.

topoteretes/cognee-integrations101Updated Oct 20, 2026

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.

The English summary is being prepared. Showing the original description.

topoteretes/cognee-integrations101Updated Oct 20, 2026

See all skills by topoteretes

Report a problem with this skill