一键导入
dreams
Review brain inbox drafts, preserve durable memory, archive evidence, sync GBrain, and optionally commit. Public workflow defaults to no push.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review brain inbox drafts, preserve durable memory, archive evidence, sync GBrain, and optionally commit. Public workflow defaults to no push.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Route to Mars (introspective thought partner / demo showman voice persona). Used when the operator wants depth, meaning, or impressive social demos rather than logistics. Mars handles SOLO mode (philosophy, presence, patterns) and DEMO mode (tool-driven showmanship) automatically.
Route to Venus (sharp executive-assistant voice persona). Used for logistics — calendar, tasks, recent messages, brain lookups — at sub-second phone-call latency. The default voice persona unless DEFAULT_PERSONA=mars is set.
Verify a research claim or academic citation by tracing it through publication → methodology → raw data → independent replication. Routes through perplexity-research for the actual web lookup, then formats results as a citation-checked brain page. Use when a book/article/conversation cites a study and you want to confirm the claim is real, replicated, and accurately characterized.
Take any book (EPUB/PDF), produce a personalized chapter-by-chapter analysis with two-column tables. Left column preserves the chapter content; right column maps every idea to the reader's actual life using brain context. Output is a single brain page at media/books/<slug>-personalized.md plus an optional PDF via brain-pdf.
Brain knowledge base operations. The core read/write cycle: brain-first lookup, read-enrich-write loop, source attribution, ambient enrichment, back-linking. Read this before any brain interaction.
Compile daily briefing with meeting context, active deals, and citation tracking
| name | dreams |
| description | Review brain inbox drafts, preserve durable memory, archive evidence, sync GBrain, and optionally commit. Public workflow defaults to no push. |
| triggers | ["$dreams","dreams","review brain inbox","promote memory drafts","review gbrain drafts"] |
| mutating | true |
Use $dreams to run the reviewed memory maintenance cycle for a user's own
brain repository. The brain markdown repo is the source of truth; GBrain is the
generated index/search layer.
Public defaults:
--brain <path> or detected git brain repo--no-sync--no-commit--push is explicitly passedNever index inbox/, archive/, raw/, hook payloads, transcript dumps,
review ledgers, .dreams/ state, or source snapshots as normal semantic
memory. They are filesystem/git provenance only. Only reviewed curated pages in
allowlisted namespaces should enter the generated index.
Draft review and indexing are separate stages:
inbox/,
including inbox/auto/YYYY-MM-DD/*.md created by stop hooks.README.md,
AGENTS.md, schema.md, RESOLVER.md, and the target directory
README.md.preserve-full,
preserve-substantial, synthesize, source-note, discard, duplicate,
or blocked-safety.--no-sync or --dry-run.--no-commit or --dry-run.--push is explicitly passed.Only these namespaces are semantic memory by default:
people/companies/projects/decisions/gotchas/concepts/meetings/originals/Everything else is evidence unless the operator intentionally changes the brain
schema. If an indexed result comes from inbox/, archive/, raw/, source
snapshots, scripts, reports, or ledgers, treat it as contamination and fix the
indexing boundary rather than relying on it.
transcript_path, git_remote, raw
transcript text, or local evidence paths into curated pages.blocked-safety and leave it for manual
recovery rather than archiving or promoting it.Use importance_score to decide preservation depth. Score each dimension 0-3:
future_retrieval: how likely future agents/users will need thisdurability: whether it remains useful beyond the current sessionspecificity: whether it contains concrete names, commands, dates, paths, or
constraintsauthorship: whether it contains user-authored thinking or decisionsfidelity: whether exact wording/rationale mattersGuidance:
preserve-fullpreserve-substantialsynthesizesource-notediscardduplicateblocked-safetyEvery handled draft must produce a review-ledger row before source archiving or finalization. The row is the auditable bridge between unreviewed draft evidence, curated page edits, and later retrieval checks.
Each non-safety row needs:
decision and preservation_modeimportance_scoreevidence_quality and concrete quality_reasonmemory_unitscoverage explaining represented and discarded contenttargets for any curated memory changetarget_actions describing create/update/append/noop worksource_anchor and source_excerpt_summaryEach memory_units[] item needs:
summarystatus: durable, source-note, duplicate, discard, blocked-safety, or
status-noisesource_anchor: a short sanitized pointer to the reviewed draft sectionimportance_scorepreservation_modeFor stop-hook sessions, source_anchor should include the relevant
segment-N or draft-M:segment-N marker when the draft has multiple capture
segments.
For stop-hook session_id groups, use one session-owner subagent per session
group when the host supports native subagents. This is the no-loss path for
large agent sessions.
reasoning effort: xhigh. If the host
uses multi_agent_v1.spawn_agent, pass reasoning_effort: "xhigh" and omit
model unless the operator explicitly requested a model change.report_path.
A chat-only summary is not accepted coverage.session_owner_report with
session_id, agent_id, report_path, report_sha256, and
covered_review_units.validate-session-owner-reports.rb and validate-review-ledger.rb must both
accept the binding before finalization.For huge sessions, segment deterministically into segment-1..segment-N.
Non-durable segment content still needs coverage so important content does not
disappear silently.
Before applying curated changes, create proposal mirrors under the session's
proposals/curated/ tree for every curated target. The proposal mirrors are the
reviewable full-file output for changed pages.
After applying, require:
indexed_at is empty or pending before sync and stamped after successful
syncarchive/dreams-session-audits/<session-id>/session-owner-audit.json exists
for session-owner runsgbrain evidence index-ledger --brain-repo "$BRAIN" --source <source_id> --session "$SESSION" --include-archive-excerpts updates the
source_evidence lookup layer for curated rows onlyget_evidence({target_slug}) or the CLI equivalentEvidence indexing must not make inbox/ or archive/ semantic memory. It is a
target-slug provenance lookup for reviewed curated claims.
Use the shipped helpers from this skill directory with explicit paths:
ruby skills/dreams/scripts/init-session-state.rb --brain "$BRAIN" --no-push
ruby skills/dreams/scripts/inventory.rb --brain "$BRAIN" --session "$SESSION" --copy-sources
ruby skills/dreams/scripts/prepare-session-owner-tasks.rb --session "$SESSION" --inventory "$SESSION/inventory.json"
ruby skills/dreams/scripts/validate-session-owner-reports.rb --session "$SESSION" --inventory "$SESSION/inventory.json"
ruby skills/dreams/scripts/validate-review-ledger.rb --brain "$BRAIN" --session "$SESSION" --require-proposal-artifacts
ruby skills/dreams/scripts/archive-reviewed-sources.rb --brain "$BRAIN" --session "$SESSION"
ruby skills/dreams/scripts/export-session-audit.rb --brain "$BRAIN" --session "$SESSION"
ruby skills/dreams/scripts/redact-staged-artifacts.rb --brain "$BRAIN" --apply
ruby skills/dreams/scripts/sync-temporal-metadata.rb --brain "$BRAIN"
ruby skills/dreams/scripts/stamp-indexed-at.rb --brain "$BRAIN" --timestamp "$INDEXED_AT"
ruby skills/dreams/scripts/check-index-allowlist.rb
ruby skills/dreams/scripts/finalize-session-state.rb --brain "$BRAIN" --session "$SESSION"
ruby skills/dreams/scripts/validate-session-state.rb --brain "$BRAIN" --session "$SESSION"
For public installations, --push is a separate explicit operator decision.
Readiness, passing tests, or a completed local commit do not authorize remote
publication.
Before reporting completion, run the relevant local gates:
ruby skills/dreams/scripts/test-inventory.rb
ruby skills/dreams/scripts/test-finalize-session-state.rb
ruby skills/dreams/scripts/test-validate-review-ledger.rb
ruby skills/dreams/scripts/test-validate-session-state.rb
ruby skills/dreams/scripts/test-session-owner-workflow.rb
ruby skills/dreams/scripts/test-check-index-allowlist.rb
ruby skills/dreams/scripts/test-redact-staged-artifacts.rb
If the run changed public package contents, also run the repository's public Dreams/hook tests and package/privacy checks. Do not claim the public surface is ready until the tests and privacy scan are fresh.