ClaudeMods
☰
ZH-CN
● 0 人在线 · 浏览 0 次
赞助提交作品
GitHub 仓库 · 发布者 STRML

autodream-band

一个 Claude Code mod,把最新的 autodream 报告放到你面前,并让你无需离开 Claude Code 就能分流其中的开放问题。它是可选的:无论是否安装它,nightly run 和 `review.sh` 都以相同方式工作。

已翻译

关于这个 mod

当最新报告已经过去一两天、尚未完成分流,并且包含开放问题或 medium/high pattern 时,提示符上方会出现一个横条。Triage 会在右侧 cmux 分屏中的全新 Claude 工作阶段里启动 review.sh;View 会在窗格中打开报告的 top patterns 和 open questions;Dismiss 会在各工作阶段中隐藏该报告的横条。包含 /dream、/dream triage、/dream here 和 /dream cmux 命令,以及安装和测试说明。

安装

请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。

claude plugin marketplace add STRML/autodream
claude plugin install autodream-band
原文 / README

autodream-band

A Claude Code mod that puts the newest autodream report in front of you, and lets you triage its open questions without leaving Claude Code. It is optional: the nightly run and review.sh work the same with or without it.

When the newest report is a day or two old, is not triaged yet, and has open questions or a medium/high pattern, a band appears above the prompt:

🌙 Autodream 2026-10-01: 2 open questions · top pattern: Editing files before reading them   [Triage] [View] [Dismiss]
  • Triage starts review.sh in a fresh Claude session in a cmux split to the right of the current one, so the conversation you were in stays about what it was about.
  • View opens the report's top patterns and open questions in a pane.
  • Dismiss hides the band for that report, across sessions. The next night's report brings it back.

The band also goes away on its own once the report has a ## Triage decisions section, which is how a finished triage ends, and it is re-checked at session start, every 30 minutes and after every turn.

Install

claude --plugin-dir /path/to/cc-autodream/mods/autodream-band

Or add the folder to CLAUDE_CODE_PLUGIN_DIRS to load it in every session.

/dream

| Command | What it does | | --- | --- | | /dream | Open the newest report's key sections in a pane. | | /dream triage | Run review.sh in a cmux split beside this session. | | /dream here | Triage in this session: the same walk-through, one question at a time, under this session's permission mode. | | /dream cmux | Run review.sh so it opens its own cmux workspace. |

Add force to triage a report that has no open questions or is already triaged, as review.sh --force does.

/dream triage degrades rather than fails. If the split's address cannot be read from what cmux new-split prints, or the command cannot be sent into it, review.sh opens a cmux workspace instead. Outside cmux there is nothing to split, so it opens the workspace directly. With no cmux or no review.sh it triages in the current session.

Where it looks

The mod reads the variables bin/review.sh reads, with the same defaults:

| Variable | Default | | --- | --- | | DREAMS_DIR | ~/.claude/dreams | | AUTODREAM_DIR | ~/.claude/autodream (where review.sh is) | | CMUX_BIN | /Applications/cmux.app/Contents/Resources/bin/cmux |

A value that lives only in $AUTODREAM_DIR/config is invisible to the mod, because the mod cannot source a shell file. Export it in the environment Claude Code starts from if you moved something there.

What it depends on in the report

The mod parses the report prompts/PROMPT.md tells Layer 2 to write, so these are a contract. If one changes, change hooks/lib.ts and its tests in the same commit.

  • The title # Autodream — YYYY-MM-DD.
  • ## Top patterns, each pattern a ### <title> with a - **Severity**: high|medium|low line.
  • ## Open questions, ended by <!-- autodream:open-questions=N -->. A report with no marker counts as zero questions.
  • A ## Triage decisions heading once a triage has run.

Tests

claude plugin validate mods/autodream-band
claude plugin test mods/autodream-band

For tsc -p mods/autodream-band Claude Code has to have loaded the mod once: it writes the type definitions into .claude-plugin/types/, which is git-ignored. CI does not run these, because they need Claude Code itself.

更多类似作品