dream

dream is a skill for Claude Code from wrg32786/aigent-os. It costs 25 tokens per session (1,190 once invoked), scanned A, original, MIT.

A procedure for examining recent operating records and writing evidence-based lessons and improvement proposals.

In plain words
What is it for?
Use it to synthesize recent sessions, record lessons, and track improvement candidates through proposal and approval.
Why use it?
It keeps lessons tied to recorded evidence and prevents unverified claims or proposals from being treated as completed changes.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: agent in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node daemons/nightly-contracts.mjs snapshot --root <aigent-root> \.

Good fit Use it to synthesize recent sessions, record lessons, and track improvement candidates through proposal and approval.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/wrg32786/aigent-os
agentmods
npx agentmods add skills/wrg32786/aigent-os/dream

Made for: Claude Code.

Wrote 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.

agentmods badge for dream

README.md
[![agentmods](https://agentmods.dev/badge/skills/wrg32786/aigent-os/dream.svg)](https://agentmods.dev/skills/wrg32786/aigent-os/dream)
Your own site
<a href="https://agentmods.dev/skills/wrg32786/aigent-os/dream"><img src="https://agentmods.dev/badge/skills/wrg32786/aigent-os/dream.svg" alt="Measured on agentmods" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,190 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00025 $0.01190
Opus 5 $0.00013 $0.00595
Sonnet 5 $0.00005 $0.00238
Haiku 4.5 $0.00003 $0.00119

Measured 6d ago against content hash 14d1592dcd8b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

dream 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 6d 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.

skills/dream/SKILL.md · 154 lines

How it starts

The opening of the file, as written. The whole thing — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/dream - evidence-gated synthesis

/dream is the canonical writer for lessons and Dream synthesis. It never applies an improvement, promotes its own proposal, edits system instructions, or treats an agent-authored claim as verification.

Canonical ownership

  • Lessons: vault/memory/runtime/LESSONS.jsonl.
  • Dream synthesis: vault/memory/DREAM_LOG.md.
  • The documented memory/ fallback is valid only for minimal installations.
  • Any older runtime/DREAM_LOG.md copy is not an input or output.
  • /close and /nightly invoke this protocol instead of carrying a competing inline writer.
  • Candidate status transitions also go through this writer.

Invocation

/dream
/dream --window nightly
/dream --set-status <candidate-id> <approved|merged|rejected|blocked> \
  --operator-evidence "<direct operator reference>"

proposed -> approved always requires the operator's exact decision. Never infer approval from silence, an automated status, another agent, or prior prose.

Sources

Read, in order:

  1. The newest five valid capsules by frontmatter created_at.
  2. The newest five dated live Session Log blocks.
  3. Open Trust Decay captures.
  4. The newest three dated Honesty Ledger sessions.
  5. Recent Failed Experiments and Failure Modes entries.
  6. Existing Lessons JSONL for dedupe and prior evidence chains.
  7. Staged NIGHTLY_CAPTURE_CANDIDATES.jsonl rows from the prior fire as discovery and pressure signals only.
  8. Explicitly supplied local Git or command evidence.

Record exact source references. A capsule or Session Log entry can establish that a claim occurred; it cannot prove the claim true.

Lesson admission predicate

Append a lesson only when one is true:

  • the same pattern appears in at least two independent source events;
  • one explicit operator directive is paired with a separately observed outcome; or
  • one mechanical red-before/green-after predicate supplies an artifact and literal exit codes.

Two retellings of one event are not independent. Discard one-off observations, unverified causal stories, and self-confirmation.

Read the full file on GitHub · 154 lines

Changes

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.

  1. 6d ago First seen · 154 lines · 25 tokens per session scan A 14d1592dcd8b

Subscribe to this mod's changes

dream is a skill published in the GitHub repository wrg32786/aigent-os (18 stars, last pushed today), licensed MIT. It adds 25 tokens to every session and 1,190 once invoked, about $0.0001 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-09-01.