meta-synthesis
meta-synthesis — Skill
How This Works
Reads the session log every execution skill already writes to, finds patterns that repeat across 2 or more sessions, and turns confirmed patterns into either a guardrail (for /context/meta-patterns.md) or a brain update (for /foundation/brain.md). This is what makes the rest of the stack compound instead of starting fresh every session.
The skill runs in 5 steps:
Step 0 — Load /context/skill-sessions.md and /context/meta-patterns.md. Block if the session log doesn't exist or has zero rows.
Step 1 — Scan sessions for repeated patterns, both within one skill and across skills.
Step 2 — Rank patterns by confidence (occurrence count) and propose next action for each.
Step 3 — Surface proposed guardrails and brain updates, gated on user approval.
Step 4 — Write approved guardrails to /context/meta-patterns.md and approved brain updates to /foundation/brain.md. Log the session.