workflow-threads-manager
БесплатноЗапускает вложенные скриптыНе проверенOversee the other Claude threads (sessions) working on the same project. Check what each is doing, confirm finished work is merged to main, has its changelog…
от MengTo★ 8 824 звезды на GitHubОб этом скилле
Workflow: threads manager
The user runs many Claude threads at once on one repository, and asks this thread to keep track of them. Each check answers four questions:
- What landed on
mainsince the last check, and does every change have its changelog entry with its pictures? - Is live healthy and current, or is it broken or behind
main? - What is each thread doing: running, finished, cut off mid-task, or waiting on the user?
- What can be archived, and what needs the user?
If this skill has a references/<project>.md for the current project, read it. Read the project's AGENTS.md first on every check, because other threads keep changing the rules (the live host, the changelog format, the size limits). Where AGENTS.md and this skill disagree, AGENTS.md wins.
Tools
- Session tools (
mcp__ccd_session_mgmt__*). If any of these show up only as deferred tool names, load them with ToolSearch first.list_sessions: who is running, idle, pinned or archived.get_session "self": this thread's own id. Another thread can share its title.list_events: a thread's recent transcript.send_message: relay work to a thread, or restart one.archive_session: archive a finished thread.
- Scripts in
scripts/. They are slow under load, so run them withrun_in_backgroundand read the output file.repo-status.sh: wheremainis, local branches holding commits thatmainlacks, and worktrees with uncommitted edits (newest edit time, and whether the worktree is locked).audit-changelog.py <since-rev>: for every commit since that revision, the version it added, its pictures shipped against pictures needed, and "NO VERSION" flags. Commits touching only tests, docs or scripts are marked exempt.live-check.sh [url]: fetches the live page, then the scripts and art it references. A page returning 200 while its art returns 404 means the deploy is broken.save-captures.sh <worktree> <name>: refuses (exit 2) if the worktree has unsaved or unmerged work. Otherwise it copies the gitignored screenshots toqa/captures/archived-threads/<name>/.contact-sheet.py <out.jpg> --count N: the newest N changelog entries' pictures on one sheet, read straight fromorigin/main.
The check
git fetch, then list the commits since the last check (git log --no-merges <last>..origin/main).- Start
audit-changelog.py <last>andrepo-status.shin the background. Runlive-check.shin the foreground; it's quick. - Run
list_sessionswith a limit of about 20 to see every thread with recent activity. - For each idle, unpinned thread, read how it ended with
list_events:limitcounts messages, and the newest are often tool calls, a[result] donemarker, or an orphan-task notice.- Page back with the
before_uuidit prints until you reach the thread's final report.
- Triage each thread using the table below.
- Archive only what passes, after running
save-captures.shon any thread whose working folder is a worktree. - Report, following the format further down.
- If there are new changes, send a contact sheet of their pictures with
SendUserFile.
Triage
| What you find | What it means | Do |
|---|---|---|
Running (isRunning: true) |
Working | Leave it. |
Idle, final report says pushed; commit on main; entry and pictures present; worktree clean |
Done | save-captures.sh, then archive_session with a reason naming the commit and version. |
| Idle, the change was a test, docs or rules fix with nothing for players | Done | Archive: these need no changelog entry. |
| Idle, "nothing to commit, another thread pushed the same fix" | Done | Archive. |
| Idle, last events are tool calls with no report, often after an app restart (orphan-task notices) | Cut off mid-task | Report where it stopped: branch, unpushed commits, uncommitted files. Offer to restart it. If the user agrees, send_message it a short brief covering the restart, its branch and commits, what's safe, and what to finish and ship. |
| Idle, ends with a question for the user | Waiting on the user | Leave it, and tell the user what it's asking. |
| Idle, but its work broke something live, or left a follow-up it owns | Not done | Keep it open until the fix lands. |
| Pinned | The user keeps it | Leave it unless the user asks to archive it. |
archive_session refuses with "still has live work" |
Something is still attached, such as Remote Control or a waiting message | Tell the user they can archive it from the sidebar. Retry on a later check. |
A branch that main lacks isn't automatically lost work. Before you flag one:
- Compare its subjects with what has since landed on
main. Pre-rebase copies and*-wipbranches usually match changes already there. - Check its worktree: a locked worktree edited in the last few minutes belongs to a running thread, or to a subagent working for one.
Changelog gaps
Every player-facing change must be on
Установить workflow-threads-manager в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл workflow-threads-manager?
Oversee the other Claude threads (sessions) working on the same project. Check what each is doing, confirm finished work is merged to main, has its changelog entry with screenshots, and is live, archive threads that are truly done, and restart or flag threads that were cut off. Use when the user says "check threads", "check new changes", "are the threads merged and pushed", "archive the done threads", or asks what the other sessions are up to. Project specifics (changelog format, live site, capture folders) go in an optional local references/<project>.md next to this skill.
Как установить скилл workflow-threads-manager?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл workflow-threads-manager запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic