From remember
Evolve the brain — consolidate entities, reflect on beliefs, promote top beliefs to Persona. Run weekly or on demand.
npx claudepluginhub remember-md/rememberThis skill uses the workspace's default tool permissions.
The deeper LLM-driven evolution layer. The deterministic Phase 3 (promote) runs automatically after every capture — that keeps `Persona.md ## Top Beliefs` current in real time. This skill is what does the work that promote alone *can't*: re-synthesizing entity profiles, re-scoring belief confidence semantically, marking stale beliefs that should retire.
Analyzes brain memory to propose promotions to CLAUDE.md, rules, or new skills; handles stale entries and applies changes via scripts.
Captures decisions, patterns, errors, and insights with semantic links via Neural Memory MCP. Enables cross-project recall, hypothesis tracking, and evidence-based reasoning.
Share bugs, ideas, or general feedback.
The deeper LLM-driven evolution layer. The deterministic Phase 3 (promote) runs automatically after every capture — that keeps Persona.md ## Top Beliefs current in real time. This skill is what does the work that promote alone can't: re-synthesizing entity profiles, re-scoring belief confidence semantically, marking stale beliefs that should retire.
Without periodic evolution, the brain becomes append-only:
People/, Projects/, Areas/ files accumulate log entries but never get a refreshed ## Profile overviewstable instead of staleThree phases:
Recommended cadence: /loop 7d /remember:evolve (weekly) or /loop 30d /remember:evolve (monthly). Idempotent — safe to run any time.
After each Phase that writes (Phase 1 entity re-synthesis, Phase 2 belief frontmatter updates, Phase 3 Persona.md update via promote.js), call node ${CLAUDE_PLUGIN_ROOT}/scripts/schema.js validate <filepath> on the touched files. Surface its warnings (e.g. "confidence defaulted to 0.5 — review") in your final report.
| Flag | Effect |
|---|---|
--consolidate-only | Run Phase 1 only |
--reflect-only | Run Phase 2 only |
--promote-only | Run Phase 3 only (no LLM — pure script call) |
--dry-run | Log intended changes; write nothing |
If no flag → run all three phases in order.
$REMEMBER_BRAIN_PATH (fallback ~/remember). Call this {brain}./remember:init and stop.node ${CLAUDE_PLUGIN_ROOT}/scripts/build-index.js --compact to get the brain index. Use throughout to resolve entities and prevent duplicates.node -e "const {loadEvolutionConfig} = require('${CLAUDE_PLUGIN_ROOT}/scripts/config'); console.log(JSON.stringify(loadEvolutionConfig()));"
Defaults: promotion_confidence=0.85, promotion_sources=5, stale_days=90, consolidate_touches=5, top_beliefs_n=10.Cascading: {brain}/REMEMBER.md (global) + ./REMEMBER.md (project, if cwd is in a project). User's ## Promotion Thresholds section overrides the config file values.
Skip if --reflect-only or --promote-only.
Goal: re-synthesize entity profile files (type: observation) for entities that crossed the consolidation threshold.
For each People/<x>.md, Projects/<x>/<x>.md, Areas/<x>.md:
type: observation.touches_since_last_consolidate — count of session entries / mentions in Journal/ that reference this entity (via [[wikilinks]]) since last_consolidated.touches_since_last_consolidate >= config.thresholds.consolidate_touches (default 5).For each candidate file:
related: and grep for [[Notes/...]] mentioning the entity).## Profile (or ## Overview) section from accumulated facts + beliefs. Reference linked beliefs by wikilink, do not copy them.Edit tool — surgical, never replace whole file):
## Profile — synthesized summary## Active Facts — list of [[Notes/...]] world-facts about this entity## Active Beliefs — list of [[Notes/...]] beliefs with current confidencelast_consolidated: {today}, sources_count: {touches}, freshness: stable.node ${CLAUDE_PLUGIN_ROOT}/scripts/evolution-log.js CONSOLIDATE "{path} touches=+{n}"
Never overwrite history sections (## Interactions, ## Log, ## Meetings). Only refresh synthesized sections.
Dry-run: report what would be consolidated, write nothing.
Skip if --consolidate-only or --promote-only.
Goal: re-score beliefs against accumulated evidence and counter-evidence; update freshness trend.
See @reference.md for the full freshness state machine and confidence-update heuristics.
Walk Notes/*.md. Filter to type: belief. Skip beliefs reflected within last 7 days unless --reflect-only is explicitly invoked.
For each belief file:
Read frontmatter and body. Note current confidence, freshness, sources_count, evidence, counter_evidence.
Score new confidence based on:
evidence count to (evidence + counter_evidence) countstale_days)Update freshness using the state machine in @reference.md:
strengtheningweakeningstale_days (default 90) → stalecounter_evidence.length > evidence.length → contradictedstableIf freshness changed OR confidence changed by ≥ 0.05:
Edit tool (surgical)node ${CLAUDE_PLUGIN_ROOT}/scripts/evolution-log.js REFLECT "{path} conf {old}→{new} freshness={new_freshness}"
STALE, CONTRADICT events as appropriate.Never delete or overwrite the belief body or the existing evidence / counter_evidence arrays. Only frontmatter confidence and freshness change.
Dry-run: report intended changes, write nothing.
Skip if --consolidate-only or --reflect-only.
Goal: pin top beliefs into Persona.md ## Top Beliefs based on thresholds. Pure script — no judgement required.
If --dry-run:
node ${CLAUDE_PLUGIN_ROOT}/scripts/promote.js --dry-run
Otherwise:
node ${CLAUDE_PLUGIN_ROOT}/scripts/promote.js
The script:
Notes/*.md with type: belief by configured thresholds (confidence, sources, freshness)confidence × log(sources_count + 1))Persona.md ## Top Beliefs (wikilinks only, never copies)~/.local/state/remember/evolution.logIf auto_promote: false in config, the script is still safe to call — it computes deltas but does not write.
🧠 Brain evolved (date: {today})
Phase 1 — Consolidate
Entities re-synthesized: {N}
- [[People/cezar.md]] (+3 touches)
- [[Projects/dollie/dollie.md]] (+5 touches)
Phase 2 — Reflect
Beliefs re-evaluated: {N}
- {N} stable
- {N} strengthening
- {N} weakening (review recommended)
- {N} stale
- {N} contradicted
Phase 3 — Promote
Mode: {bootstrap | normal} (bootstrap is in effect while total beliefs < 20)
Effective thresholds: conf>={c} sources>={s}
Top {N} beliefs pinned to Persona.md.
Promoted: {N}
- [[Notes/x.md]] conf=0.91 sources=8
Demoted: {N}
- [[Notes/y.md]] (now conf=0.74)
Audit: ~/.local/state/remember/evolution.log
Always show the audit log path so the user can tail it and verify.
/remember:initauto_promote: false semantics (compute, don't write); warn userSee @reference.md for detailed phase logic, freshness state machine, and report templates.