dream-run

dream-run is a command for coding agents from proticom/gnosys. It costs 0 tokens per session (697 once invoked), scanned A, original, MIT.

A command for starting a Dream Mode consolidation cycle immediately. Dream Mode processes stored project knowledge and can create critiques, summaries, and relationships.

In plain words
What is it for?
Use it to set a time limit, skip selected processing phases, force a run on any machine, or produce a JSON report.
Why use it?
It lets you run the consolidation when needed instead of waiting for a schedule or the normal Dream Mode trigger.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/proticom/gnosys/dream-run
Clone the repo
git clone --depth 1 https://github.com/proticom/gnosys

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-run

README.md
[![agentmods](https://agentmods.dev/badge/commands/proticom/gnosys/dream-run.svg)](https://agentmods.dev/commands/proticom/gnosys/dream-run)
Your own site
<a href="https://agentmods.dev/commands/proticom/gnosys/dream-run"><img src="https://agentmods.dev/badge/commands/proticom/gnosys/dream-run.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 697 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00697
Opus 5 $0.00000 $0.00349
Sonnet 5 $0.00000 $0.00139
Haiku 4.5 $0.00000 $0.00070

Measured 4d ago against content hash 5a8d19ea89bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dream-run 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 4d 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.

docs/commands/dream-run.md · 89 lines

How it starts

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

gnosys dream run

Force a Dream Mode consolidation cycle now. Same behavior and options as bare gnosys dream.

Usage

gnosys dream run
gnosys dream run --max-runtime 30
gnosys dream run --json
gnosys dream run --force
gnosys dream run --no-critique --no-summaries

Options

Option Description
--max-runtime <minutes> Max runtime in minutes (default: 30)
--no-critique Skip self-critique phase
--no-summaries Skip summary generation
--no-relationships Skip relationship discovery
--force Run even if this machine is not the designated dream node
--scheduled Apply designated-machine, night-window, real-idle, and dreamworthiness gates (used by launchd)
--json Output raw JSON report instead of formatted text

When --scheduled is set, the run acquires ~/.gnosys/dream.lock, exits cheaply unless all gates pass, and honors dream.maxLLMCallsPerRun. Every run (including skips) is appended to ~/.gnosys/dream-runs.jsonl.

Behavior

  1. Resolves configured stores via GnosysResolver.
  2. Loads config from the primary store path.
  3. Verifies gnosys.db is migrated (v2.0).
  4. Checks designated-machine policy against the central DB.
  5. Runs GnosysDreamEngine.dream() with phase progress on stderr.
  6. Prints formatDreamReport(report) to stdout, or JSON when --json is set.

Progress lines appear on stderr:

Starting Dream Mode cycle...
  [phase-name] detail...

Prerequisites

  • At least one Gnosys store (run gnosys init first).
  • Migrated gnosys.db (run gnosys migrate if needed).
  • Dream Mode provider/model configured (see gnosys setup dream).

Designated machine

When the central DB records a designated dream machine, manual runs on other machines are blocked unless --force is passed:

Dream is designated to machine <id>, but this is <local-id>.
Pass --force to run anyway, or run 'gnosys setup dream' to redesignate.

Errors

Read the full file on GitHub · 89 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. 4d ago First seen · 89 lines · 0 tokens per session scan A 5a8d19ea89bd

Subscribe to this mod's changes

dream-run is a command published in the GitHub repository proticom/gnosys (4 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 697 tokens. 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-31.