From chief-of-staff
Weekly memory consolidation (the cold path) — promote clustered learnings, supersede stale facts, decay and prune, and produce a reviewable diff. Usually scheduled; the only skill that edits memory.
How this skill is triggered — by the user, by Claude, or both
Slash command
/chief-of-staff:cos-consolidate-memoryThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> The **only** place destructive memory edits happen, and only under discipline. Reads the week's captures + corrections and reconciles them into the canonical Markdown. Output is a **reviewable diff in batch** + a changelog + a git commit — you review the diff, never write-by-write. Full algorithm: `engine/methods/write-back.md` §5.
The only place destructive memory edits happen, and only under discipline. Reads the week's captures + corrections and reconciles them into the canonical Markdown. Output is a reviewable diff in batch + a changelog + a git commit — you review the diff, never write-by-write. Full algorithm:
engine/methods/write-back.md§5.
instance/state/corrections.md (status: open)instance/log/runs/*.md since last consolidation (captures)instance/state/{open-loops,commitments,pending-questions}.mdinstance/config.md → write_back.*, autonomy.memory_tier_linestrength: rule) become edits to the tag's single write-target (§3 table). This is the learning. Apply the §5 algorithm: group → threshold/rule → draft synthesized edit → diversity check → tier-classify.valid_until stamped and the new fact appended. History is preserved; you can always see what was true and when.last_touched/confidence; flag + archive unreinforced low-confidence facts; dismiss corrections older than write_back.decay_weeks that never clustered.state/ into memory/episodic/.#process/#fact promotions.core/ (identity/voice/autonomy/priorities), deleting sourced evidence, or carrying source-derived content into procedural/core. Write these to instance/queue/review/daily-brief-<date>.md as a raw diff (not a summary) for explicit approval.core/ budget pressure: if a promotion would exceed a core/ file's budget_chars, consolidate/supersede before adding (a char-count helper flags over-budget; it proposes consolidation, it is not a hard runtime block).write_back.volume_floor for a tag → report "insufficient data", not a rate. Use the promotion-survival proxy (did a promoted rule yield zero same-kind corrections after?).#fact/#relationship/rule is the planned early phase.#other rate).procedural/core without a Tier-2 approval, regardless of recurrence.instance/log/maintenance/<date>.md — the changelog (every operation, with before/after + tier).instance/ (the diff is the review surface).instance/queue/review/daily-brief-<date>.md.#other flags).instance/.backup-instructions.md cadence.core/ was edited without a queued Tier-2 proposal.#fact correction superseded (not overwrote) its target; prior value still readable with valid_until.strength: rule correction promoted at count 1; a sub-threshold #voice cluster did not auto-promote.End with the standard capture footer (engine/templates/capture-footer.md) — yes, even the cold path captures its own run for observability.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub fontesgerards/chief-of-staff --plugin chief-of-staff