Borrowing it
Nothing to install: this file belongs to liuyingxuvka/Khaos-Brain. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/liuyingxuvka/Khaos-Brain/main/.agents/skills/kb-dream-pass/SKILL.mdgit clone --depth 1 https://github.com/liuyingxuvka/Khaos-BrainWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/liuyingxuvka/khaos-brain/kb-dream-pass)<a href="https://agentmods.dev/skills/liuyingxuvka/khaos-brain/kb-dream-pass"><img src="https://agentmods.dev/badge/skills/liuyingxuvka/khaos-brain/kb-dream-pass/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/liuyingxuvka/khaos-brain/kb-dream-pass"><img src="https://agentmods.dev/badge/skills/liuyingxuvka/khaos-brain/kb-dream-pass.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00046 | $0.01108 |
| Opus 5 | $0.00023 | $0.00554 |
| Sonnet 5 | $0.00009 | $0.00222 |
| Haiku 4.5 | $0.00005 | $0.00111 |
Grade A, and why
kb-dream-pass scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.
KB Dream Pass
Dream is a bounded immutable model-verification producer. It pins an exact LogicGuard generation, pressures its declared support and boundaries through simulations, and sends material model-gap deltas to Sleep; it does not own durable knowledge decisions or canonical model writes.
Authority and entrypoint
Work from the repository root. Read PROJECT_SPEC.md, docs/maintenance_agent_worldview.md, docs/dream_runbook.md, and .agents/skills/local-kb-retrieve/DREAM_PROMPT.md. Current user instructions override repository defaults.
Run:
python .agents/skills/local-kb-retrieve/scripts/kb_dream.py --json
The native Dream runner owns simulations, experiments, terminal validation, and its immutable run receipt. Do not create a second experiment, maintenance, or model-write path.
Required behavior
- When invoked by the local composite task, require its exact parent cycle/phase identity and writer context. The normal simulation path is explicitly read-only with no canonical commit window; only a delegated global-writer token may be used for the bounded receipt/handoff commit, and Dream must not acquire a second scheduled-owner lane. An explicit diagnostic uses its own bounded run identity but still cannot become a scheduler or model publisher.
- Pin the exact canonical generation, model revision, root node/ArgumentBlock, and ModelMesh revision before selection. Never substitute a floating head or readable-card projection when an exact binding is missing.
- Build each evidence fingerprint from the pinned LogicGuard identities, canonical route, hypothesis, source identifiers and content digests, and prior applicable outcome. Run id, time, AI model name, thread id, and prompt wording must not make unchanged evidence appear new.
- Load prior closure outcomes before broad work. If the fingerprint is already closed and no decision-relevant evidence changed, return or reuse
no_delta_closedwithout another experiment, history entry, candidate, observation, or handoff. - Evaluate the full exact opportunity inventory, but persist at most 64 representative opportunity rows plus the exact inventory count, digest, and omitted count. Then select only a small route-deduplicated set that clears the value and executability gates. A no-op is a valid convergent result.
- For each selected model, plan one bounded suite covering evidence-removal, assumption-removal, rebuttal-strengthening or counterexample, boundary-pressure, cross-edge-removal, and neighbor-pin-replacement. Execute every applicable path separately. Emit one typed
performedornot_applicabledisposition for every declared perturbation kind; performed paths must carry their materialization/result fingerprint and skipped paths must carry a concrete reason. Each simulation is an overlay over the pinned immutable model, not a proposed canonical revision. - Record design, validation plan, safety tier, rollback plan, success/failure/inconclusive criteria, tested node and edge ids, expected invariant, and bounded sandbox path before execution.
- Write only Dream-owned bounded runtime receipts and experiment evidence under the Dream run root. Never persist the full expanded opportunity ocean or duplicate complete source-action histories in every opportunity row.
- For a material result, emit one typed idempotent Sleep handoff containing exact generation/model/mesh bindings, gap kind, affected node or edge ids, evidence fingerprint, result digest, provenance, and requested disposition.
- Before closure, prove that the canonical generation pointer and pinned model/mesh revisions are unchanged.
- Never directly write or modify models, meshes, readable card projections, candidates, confidence, lifecycle status, predictive observations, or central KB history.
- Do not require a human to read files or select routine experiments. Keep external or irreversible actions outside Dream unless separately authorized in an active task.
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 46 lines · 46 tokens per session scan A bc9d05040e40
kb-dream-pass is a skill published in the GitHub repository liuyingxuvka/Khaos-Brain (37 stars, last pushed 1mo ago), licensed MIT. It adds 46 tokens to every session and 1,108 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
knowledge-base
Skill "knowledge-base" from Pinvou/pinvou-agent, covering ima knowledge base, operations, routing rules, examples and file upload guard.
notes
Skill "notes" from Pinvou/pinvou-agent, covering ima notes, operations, write rules, examples and response handling.
shodh-memory
Persistent memory system for AI agents. Use this skill to remember context across conversations, recall relevant information, and build long-term knowledge. Activate when you need to store decisions, learnings, errors, or context that should persist beyond the current session.
vault
Search, read, write, and manage files in the Kept conversation vault. Use when the user asks about past conversations, wants to save notes, needs to find specific content, or wants to organize their vault.
knowledge-ingestion
A skill for saving links, social posts, videos, podcasts, screenshots, PDFs, local files, or text into an Obsidian knowledge base, a personal collection of searchable notes. The ingestion tools analyse and format the material for storage.
personal-knowledge-ingestion
A skill for saving links, videos, social posts, local files, screenshots, PDFs, or text into an Obsidian vault, a folder used for personal notes and knowledge. It uses connected knowledge tools to process and format the saved item.