syiibfs-hash/cc-agent-brain/cc-agent-brain-memory-distill

Claude Code and agent skill by syiibfs-hash/cc-agent-brain

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Distill stable, reusable, long-term information from the captured event stream and Wiki into versioned engine memories.

Install

npx vskill@latest install syiibfs-hash/cc-agent-brain/cc-agent-brain-memory-distill

SKILL.md

CC Agent Brain Memory Distillation

Use when:

  • a session contains stable user preferences
  • an active project changes state
  • repeated patterns or corrections appear
  • the Stop hook suggests distillation, or candidates shows a backlog

Step 1 — inspect what accumulated

bash
python .claude/hooks/cc-agent-brain/brain_store.py candidates --days 3
python .claude/hooks/cc-agent-brain/brain_store.py search "<topic>" --k 10

Step 2 — write versioned memories

bash
python .claude/hooks/cc-agent-brain/brain_store.py memory add \
--title "..." --body "..." \
--layer semantic|procedural|working|episodic \
--confidence high|medium|low \
--tags "tag1,tag2" --source "wiki/..."

Layers:

  • semantic — stable facts, preferences, project state (the default)
  • procedural — reusable workflows, checklists, prompt patterns
  • working — short-lived active-task context
  • episodic — dated events that must keep their time anchor

Step 3 — supersede, never overwrite

When a new fact replaces an old one, write the new memory with --supersedes <old-id>. The old memory is kept as superseded with valid_to set, and leaves active retrieval — this preserves an auditable history instead of silently rewriting.

When a fact is simply no longer true, expire it:

bash
python .claude/hooks/cc-agent-brain/brain_store.py memory expire <id>

Step 4 — refresh projections

bash
python .claude/hooks/cc-agent-brain/brain_store.py sync-md

Also keep memory/MEMORY.md and the relevant memory markdown files aligned.

Do not distill

  • raw conversation, temporary tasks, uncertain guesses
  • secrets or credentials (the engine redacts common key shapes at capture time,

but do not deliberately store sensitive material)

  • information likely to expire soon — use working layer instead

Memory item contract

Every memory carries: id, layer, title, body, tags, confidence, status, valid_from, valid_to, source, supersedes, timestamps.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
94
7-day trend score
23

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 29 Sep 2026, a month ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/syiibfs-hash/cc-agent-brain/cc-agent-brain-memory-distill/badge)](https://verified-skill.com/skills/syiibfs-hash/cc-agent-brain/cc-agent-brain-memory-distill)

Something wrong with this skill or its page? Tell us.