Agent skill · posthog
context-layer-dreaming
Synthesizes recent organizational activity into a durable context wiki. Use when running a nightly or incremental context-layer dream, or when updating sourced organizational context from completed work.
What it needs
About 3k tokens when loaded.
What this skill does
Context layer dreaming Improve the mounted context wiki with durable, sourced facts from recent organizational activity. Protocol 1. Create dream/$(date +%F). Read AGENTS.md, index.md, and the last ten merge commits with git log --merges --format='%s%n%b' -10. The server owns AGENTS.md, CLAUDE.md, every index.md, and scripts/; never edit, delete, move, or replace them. Do not change the wiki's tooling to make a proposed edit pass. 2. Take the activity windows from the run prompt. Start with Spaces: call channel-list, exclude the personal #me channel, and match every public channel id against the frontmatter of projects/<project-id>/spaces/.md. The server scaffolds every public Space and regenerates its indexes before the dream starts. Read every matched page. If a page is unexpectedly missing, record wiki-miss: missing scaffold for <channelid> in the run summary and leave structure repair to the server; do not create, move, or rename Space pages. On a first or seed dream, include every public Space page with no substantive content in the activity scan and inspect qualifying activity attributable to its channel. Populate an empty Space only when activity in the seed window passes the admission test; leave genuinely inactive Spaces untouched. Continue in priority order with completed tasks and their outcomes, merged pull requests, completed loop runs and summaries, and newly created event and property definitions. Use the recovery cutoff for completed tasks and their outcomes so a task that was still in progress during an earlier dream is reconsidered after completion, and the incremental cutoff for the other sources. A queued, running, test, demo, fixture, or abandoned task is not evidence of an organizational fact or decision. Inspect at most 100 newest activity items across all channel-scoped sources for each Space, and at most 100 newest items from each organization-wide source. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills posthog/context-layer-dreaming