Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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.py in 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 its wait in 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

  1. Data, on this computer:
    d=$(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 900
    
    When the prompt says Free plan: at most N readers, add --max-readers N to slices: 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 prints 0 slices, tell the user no chats were found and stop. Read $d/stats.json (counts and already_automated). Also run room-cli loop list --project "$ROOM_PROJECT_ID" to see existing loops.
  2. 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.
    "$py" "$s/readers.py" spawn "$d" claude-code claude-haiku-5-5
    
    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; wait starts the rest.
  3. Wait: run "$py" "$s/readers.py" wait "$d" with a 10-minute command timeout. Repeat until it prints done. Readers it names (no output, never started) read nothing. If it prints N 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.
  4. 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 tagged agent-written and work that already runs as a loop don't count. wait removes chat IDs a reader invented (not in its slice) and says how many.
  5. 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.
  6. 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 slices skipped older chats, add one line: the Free plan read the newest N chats, and Pro reads all 90 days. End with: "Turn these on?"
  7. On yes: create each loop (Local on Free plan, else Cloud) with room-cli loop create (see the automations skill), with the 10/90 rules in its prompt. Then rm -rf "$d".
Полный SKILL.md на GitHub

Установить workflow-scan в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

extract.pyreader.mdreaders.py

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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить workflow-scan с