context-layer-dreaming
Skill by PostHog
Synthesizes recent organizational activity into a sourced context wiki. Built by PostHog for nightly or incremental context-layer dreams, it adds only facts that pass an admission test.
Install context-layer-dreaming
Built from the published package, never by AI.
git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.claude/skills && cp -r /tmp/posthog/products/context_layer/skills/context-layer-dreaming ~/.claude/skills/context-layer-dreamingRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/posthog/products/context_layer/skills/context-layer-dreaming ~/.gemini/antigravity-cli/skills/context-layer-dreamingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install context-layer-dreaming in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Context layer dreaming is an agent skill from PostHog that improves a mounted context wiki with durable, sourced facts from recent organizational activity. It runs as a nightly or incremental dream. The agent reads the wiki's AGENTS.md and index.md, then reviews completed tasks, merged pull requests, completed loop runs, and newly created event and property definitions.
Each candidate fact must pass an admission test. It has to change a durable fact, decision, priority, ownership, reusable definition, constraint, or an evidenced recurring pattern. Updates record sources and review dates, and unresolved conflicts are marked as disagreements. The agent also logs wiki misses and publishes the result through a server-side publisher. It is for teams that maintain a sourced organizational context wiki.
Written from the project's SKILL.md and checked against it.
What it can do
- Nightly and incremental dreamsRuns a context-layer dream over recent completed work within the run's activity windows.
- Space scanningMatches public channels to Space pages and reads each matched page before editing.
- Admission testAdmits only facts that change a durable fact, decision, priority, ownership, or constraint.
- Sourced page updatesRecords sources and review dates and marks unresolved conflicts as disagreements.
- Wiki miss loggingRecords wiki misses in the run summary to set health check priorities.
- Lint and publishRuns scripts/lint, then publishes the dream through scripts/publish.
What you need
- A mounted context wiki repository
- Access to channel-list and activity sources
- Access to the context layer API for publishing
Try asking
- Run an incremental context-layer dream on this week's completed work.
- Update the context wiki from merged pull requests and completed tasks.
- Review recent loop runs and record any wiki misses in the run summary.
Good to know
- Inspects at most 100 newest items per Space and per organization-wide source per run.
- The server owns AGENTS.md, CLAUDE.md, index.md files and scripts/, and the skill must not edit them.
- Publication counts as successful only when the publisher returns publish: landed.
- GitHub signed-commit tools cannot commit the local bundle repository.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: products/context_layer/skills/context-layer-dreaming/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to context-layer-dreaming
All alternatives →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
Compare with agentmemory-config, understand-knowledge or reports
context-layer-dreaming: common questions
What does context layer dreaming update?
It updates the owning pages in the mounted context wiki, limited to org/, areas/, decisions/, and existing project Space pages.
Which facts does it reject?
It rejects routine task completions, commit or PR mechanics, transient failures, raw transcripts, and facts that can be retrieved live from their authoritative system. It never infers a decision from a task's title, prompt, or plan alone.
Can it edit the index files?
No. The server owns AGENTS.md, CLAUDE.md, every index.md, and scripts/, and the skill must not change them.
How do I install context-layer-dreaming?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is context-layer-dreaming free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is context-layer-dreaming safe to use?
It scores 84 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to context-layer-dreaming?
Similar skills: agentmemory-config, understand-knowledge, reports, forget.
