/context-layer-consolidation
Keep the context wiki coherent using the deterministic lint report queue
Claude Code
$ npx -y skills add PostHog/ai-plugin --skill context-layer-consolidation --agent claude-code
Codex
$ npx skills add PostHog/ai-plugin --skill context-layer-consolidation -a codex -y
Cursor
$ npx skills add PostHog/ai-plugin --skill context-layer-consolidation -a cursor -y
Gemini CLI
$ npx skills add PostHog/ai-plugin --skill context-layer-consolidation -a gemini-cli -y
GitHub Copilot
$ npx skills add PostHog/ai-plugin --skill context-layer-consolidation -a github-copilot -y
OpenCode
$ npx skills add PostHog/ai-plugin --skill context-layer-consolidation -a opencode -y
Windsurf
$ npx skills add PostHog/ai-plugin --skill context-layer-consolidation -a windsurf -y
SKILL.md
context-layer-consolidation.SKILL.mdname: context-layer-consolidation description: Keep the context wiki coherent using the deterministic lint report queue
Context layer consolidation
Start with `scripts/lint --report`. Work the queue in the mounted wiki before the dream publisher creates its branch and commit.
Only edit sourced Markdown content under `org/`, `areas/`, `decisions/`, and existing Space pages. Never edit repository instructions, generated indexes, or `scripts/`; report structural failures in the run summary for the server to repair.
- Remove unsupported synthesis.
- Remove expired priorities unless historically significant; mark those `status: historical`.
- Mark replaced decisions `superseded` and link their replacement.
- Merge near-duplicates and leave a wikilink from the old subject.
- Resolve disagreements only with evidence; leave the rest explicit.
- Repair or intentionally retain ghost links, add sources, and split oversized pages.
- Name every deletion in the run summary. The dream publisher includes it in the commit message.
Keep this bounded and evidence-led. Run `scripts/lint` after editing.
Official PostHog plugin for AI clients. Access PostHog products directly from your AI coding tool.
Other skills on ai-plugin.
More skills from other plugins.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
ask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Questions about context-layer-consolidation.
- Which coding agents can use context-layer-consolidation?
- context-layer-consolidation installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

