Repository navigation
Releases: yanauto/opus-manager
Release list
v0.4.0
New
- Unattended mode. Hand the work over and walk away. Before you leave, Claude asks the questions it would otherwise interrupt you with and writes them down in
_tickets/handoff.md: what it may do alone, what it must never do alone, a worker budget, when to stop. Then it works down_tickets/queue.md: dispatch, accept, review, fix, next. Decisions it may not make go into_tickets/decisions.mdwhile it carries on with other tickets. One line per closed ticket goes into_receipts/progress.md, and a report is written when it stops. If you have already left, it takes the most conservative reading instead of waiting on a question. - Background waits wake the manager. After dispatching a build or a review, Claude starts a wait as a background task of its own tool (in Claude Code, a background Bash command). When the worker ends, the completion notice wakes Claude; nobody has to type "continue". Waits have a 60-minute cap and a liveness check, and the review script now writes its own
.review.status. - README now leads with unattended runs, with two real ones: a colleague's release day (after he left at 17:30 it ran 9 tickets through build, review, fix, release and live check by itself until 22:28) and an overnight run on the author's work project (7.4 hours, 9 tickets). It also says what stops a run, including Claude's own usage limits: on Pro, one busy morning used about 83% of a 5-hour window, and after the limit you have to tell Claude to continue.
Upgrade
Replace your installed opus-manager skill folder with the one in the zip below (en or zh). Existing projects keep working.
China mirror / 国内下载: https://yan-auto.me/zh/downloads/opus-manager/
中文说明
- 无人托管模式。 把活交出去,人就可以走开。你走之前,本来会中途打断你的问题,Claude 一次问清,写进
_tickets/handoff.md:哪些可以自己做、哪些绝不能自己做、工人预算、几点停。然后按_tickets/queue.md往下做:派单、验收、审查、修改,下一张。不能自己定的事记进_tickets/decisions.md,接着做别的单。每收尾一张在_receipts/progress.md记一行,停下时写报告。如果你已经走了,它按最保守的理解来,不停在问题上等。 - 后台等待叫醒经理。 派完施工或审查,Claude 用自己工具的后台任务起一条等待(Claude Code 里就是后台 Bash),工人结束时的通知把它叫醒,不用人说「继续」。等待最多 60 分钟并检查工人是否还活着;审查脚本也会写自己的
.review.status。 - README 改成以无人托管为核心,附两次真实运行:同事的上线日(17:30 下班后,它自己把 9 张单走完施工、审查、修改、上线、线上验证,到 22:28)和作者工作项目的一整夜(7.4 小时、9 张单);也写明会让它停下的情况,包括 Claude 自己的用量上限:Pro 忙一上午用掉过 5 小时窗口的约 83%,到上限后要你叫它继续。
v0.3.0
New
- No AI CLI yet? A recommended starting setup. When a machine has no worker CLI, the skill now suggests the open-source
pi(Pi Coding Agent) with an OpenCode Go subscription: one subscription covers DeepSeek, Qwen, Kimi, MiMo, GLM, Grok and more, so building and reviewing can use different vendors. Install, sign-in and headless commands are included. You still choose, you install only after saying yes, and you enter your own key. Claude also checks the provider's privacy table and steers you away from models marked as used for training. - Parallel dispatch rules (#6 by @dodocat-sun, refined in #8): one branch and workdir per ticket, only the manager merges,
Ticket: T<N>in PRs and a release lock when workers may open PRs or release, a status summary for running tickets, usage and cost per ticket when the tool reports it, an optional per-ticket budget, and a fresh session per ticket. - Live-service tickets: finish backups and long transfers before stopping anything, put timeouts on every remote command, and confirm every service and scheduled job after restart.
- Dispatch prompt fix: the prompt now gives the absolute workdir. Some tools run commands in their own temp folder otherwise.
- Script pitfalls from real runs: check where
-ptakes its prompt, and brace bash variables followed by non-ASCII text.
How it was tested
On a local sandbox with pi + OpenCode Go, cursor-agent and agy: the full ticket flow, an 8-model build and review bake-off, and one SWE-bench Pro V2 hard task graded locally in Docker.
Upgrade
Replace your installed opus-manager skill folder with the one in the zip below (en or zh). Existing projects keep working.
China mirror / 国内下载: https://yan-auto.me/downloads/opus-manager/
中文说明
- **电脑上还没有 AI 命令行工具?**skill 现在会推荐开源的
pi配 OpenCode Go 订阅:一份订阅就能用 DeepSeek、Qwen、Kimi、MiMo、GLM、Grok 等多家模型,施工和审查可以换不同厂家。附安装、登录和无头运行的写法。仍由你选、你同意后才装、密钥你自己填;Claude 会查隐私表,提醒避开会拿数据训练的模型。 - 并行派单守则(@dodocat-sun 的 #6,#8 细化):每张单独立分支和目录、只由经理合并;允许工人开 PR 或发布时,PR 写工单号、发布加锁;在跑工单的状态汇总;工具能报用量时按单记花费;可设单张预算;一张单一个新会话。
- 碰线上服务的单:停之前先做完备份和大文件传输,远程命令加超时,拉起后逐项确认服务和定时任务。
- 派单提示修正:提示里给出作业目录的绝对路径。
- 实跑中踩到的脚本坑:核对
-p的参数位置;bash 变量后紧跟中文要写${变量}。
升级:用下面 zip 里的 opus-manager 文件夹替换已安装的那个。已有项目照常能用。
v0.2.0
Rules learned from real use, most of them from the field report in #1 by @dodocat-sun. Thanks!
New
- Dispatch goes through a script. On first run Claude writes
_tickets/dispatch.*and_tickets/review.*for your shell (bash or PowerShell). The script claims the ticket, signs the real tool and model, starts the worker in the ticket's workdir with absolute paths only, and runs it detached from Claude's session, writing_receipts/<ticket>.statuswhen it ends. A session restart no longer kills the worker, and a worker can no longer wander off and pick up another project's ticket. - More than one builder, chosen by kind of work (
good forinworkers.md). - Parallel tickets: only when their files don't overlap, one branch per ticket, and workers never merge another ticket.
- Tickets that touch a live service keep downtime short, and every remote command gets a timeout.
- One fresh session per ticket, to keep pay-per-use costs down.
- Worker red lines: no scripts that walk directories and rewrite files, no opening non-text files unless the ticket names them.
- The receipt header now has a
branch / commit / PRline. - README: 8-week totals from the author (360 tickets, 340 accepted).
Upgrade
Replace your installed opus-manager skill folder with the one in the zip below (en or zh), or re-run the install steps in the README. Existing projects keep working; the next time you use it, Claude will offer to write the dispatch scripts.
China mirror / 国内下载: https://yan-auto.me/downloads/opus-manager/
中文说明
这一版的规矩都来自真实使用,大部分来自 @dodocat-sun 在 #1 里的实测报告,谢谢!
- 派单交给脚本:第一次使用时,Claude 按你的终端写好派单和审查脚本,负责领单、签名、用绝对路径启动工人、脱离会话运行、写状态文件。会话重启不会再把工人停掉,工人也不会领错别的项目的单。
- 施工工人可以有多个,按活的类型分。
- 同时派几张单:只派改的文件不重叠的,每张各走自己的分支,工人不合并别的单。
- 碰线上服务的单,停机要短,远程命令加超时。
- 一张单一个新会话,省按量计费的钱。
- 工人红线:不写遍历改文件的脚本,不打开非文本文件(工单点名的除外)。
- 回执开头加了「分支 / 提交 / PR」一行。
- README 加了作者 8 周的累计数据(360 张单,340 张通过)。
升级:用下面 zip 里的 opus-manager 文件夹替换你已安装的那个,或按 README 重新安装。已有项目照常能用,下次使用时 Claude 会提出帮你写派单脚本。