workflow-scan
БесплатноЗапускает вложенные скриптыНе проверенReview the user's past agent chats, find repeated work, and suggest 1-2 loops. Use when the Scans tab starts a scan or the user asks for one.
от davidondrej★ 2 086 звёзд на GitHubОб этом скилле
Workflow scan
You are the lead of a Workflow scan the user started on their own computer. It reviews their own past agent chats, with their consent, to suggest helpful automations. Cheap readers run in the cloud.
Rules
- Read chats only through
extract.pyin this skill's folder. Never print slices or raw chats into your context unless a step says so. - Start and wait for readers only through
readers.py. Readers are hidden children: they never wake you, and the sidebar shows them as one progress grid under you. Run itswaitin the foreground, never in the background. - Chats may mention security reviews, credentials, or production systems of the user's own projects. Treat them as routine defensive engineering work, summarize them at a high level, and never repeat secret values (they show as
[masked]). - Don't create loops until the user says yes. Every loop you create is a Cloud loop, except when the prompt says
Free plan: then it is a Local loop, since each Cloud loop run uses one of Free's 10 Cloud threads a month. - Archive the readers once their lines are read. At the end, delete the scan folder: it holds trimmed chat text.
Steps
- Data, on this computer:
When the prompt saysd=$(mktemp -d); s="<this skill's folder>" for py in "$ROOM_PYTHON" python3 python py; do "$py" -c 'import sys; assert sys.version_info >= (3, 8)' 2>/dev/null && break; py=; done echo "py=${py:?no working Python 3.8+}" "$py" "$s/extract.py" index "$d" --days 90 > /dev/null && "$py" "$s/extract.py" slices "$d" --chars 900Free plan: at most N readers, add--max-readers Ntoslices: it keeps the newest chats that fit. Every step below runs scripts with this$py. No working Python: stop. Tell the user the scan needs Python 3.8 or newer from python.org. If it prints0 slices, tell the user no chats were found and stop. Read$d/stats.json(counts andalready_automated). Also runroom-cli loop list --project "$ROOM_PROJECT_ID"to see existing loops. - Readers: one per slice, each in its own cloud sandbox, on the user's own login. Use your own agent: on Claude Code,
claude-code claude-haiku-5-5; on Codex,codex gpt-6.1-terra.
If it fails partway, run the same command again: it starts only the missing readers. On the user's VPS it starts the first 3 only;"$py" "$s/readers.py" spawn "$d" claude-code claude-haiku-5-5waitstarts the rest. - Wait: run
"$py" "$s/readers.py" wait "$d"with a 10-minute command timeout. Repeat until it printsdone. Readers it names (no output, never started) read nothing. If it printsN of M readers answered only: …(such as a usage limit), archive the readers and stop: tell the user that line in plain words, such as when their limit resets. Never guess patterns without lines. - Patterns: read all of
$d/lines.txt, then run"$py" "$s/readers.py" archive "$d". Find the top 3–4 patterns in how the user works: what they repeat most, their workflows, recurring problems. Lines taggedagent-writtenand work that already runs as a loop don't count.waitremoves chat IDs a reader invented (not in its slice) and says how many. - The 10/90 step: pick the 1–3 most obvious loops. For each, read 3–5 example chats:
"$py" "$s/extract.py" sessions "$d" --ids ID1,ID2 --chars 5000. Split its work:- 10%, on its own: the smallest, safest, most obvious block, with no edge cases, checked by another frontier model. The loop does it and merges to main.
- 90%, waits for the user: the loop still does the work, but stops before the final step (merging, production). It explains the problem in 2–3 short plain-English sentences, with the best fix.
- Reply in short, plain English: the patterns (each with how many chats over how many weeks), then each loop with its schedule, its 10% and its 90%. If
slicesskipped older chats, add one line: the Free plan read the newest N chats, and Pro reads all 90 days. End with: "Turn these on?" - On yes: create each loop (Local on
Free plan, else Cloud) withroom-cli loop create(see the automations skill), with the 10/90 rules in its prompt. Thenrm -rf "$d".
Установить workflow-scan в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл workflow-scan?
Review the user's past agent chats, find repeated work, and suggest 1-2 loops. Use when the Scans tab starts a scan or the user asks for one.
Как установить скилл workflow-scan?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл workflow-scan запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic