session-workflow-capture
БесплатноБез исполняемых скриптовНе проверенWorkflow-tool scripts and workflow friction from this session, filed as issues here or in the plugins repo. Use when a session ran Workflow scripts.
от laurigates★ 61 звезда на GitHubОб этом скилле
session-workflow-capture
Turn what this session learned about Claude Code dynamic workflows (the Workflow tool) into issues: a reusable script becomes a proposal to save or template it, a misbehaving workflow becomes a fix request. Repo-specific findings go to the calling repository; generic ones go to the plugins repository, stripped of anything that points at this machine, session or project.
When to Use This Skill
| Use this skill when... | Use the sibling instead when... |
|---|---|
| The session authored or adapted a Workflow script and its shape is reusable | A multi-step procedure ran without a Workflow script → session-plugin:session-distill (--process) |
| A saved or plugin-bundled workflow needed rework, reruns or a resume | A skill body misbehaved → feedback-plugin:feedback-session (plugin-workflow friction is filed here in its title and label shape) |
You want to know how often saved workflows actually run (--usage) |
Loose threads and follow-up tasks → session-plugin:session-wrap |
session-plugin:session-end qualified the Workflow capture pass |
Designing or running a new workflow → workflow-orchestration-plugin:workflow-bake-off and its siblings |
Context
- Saved project workflows: !
find . -maxdepth 3 -path '*/.claude/workflows/*' -name '*.js' -not -path '*/node_modules/*'
Parameters
| Parameter | Meaning |
|---|---|
--dry-run |
Draft and gate every issue, file none, print the drafts' paths and verdicts |
--orchestrated |
Set by session-plugin:session-end. File what passed its gates without any AskUserQuestion; return every other draft as a DEFERRED: <tracker> — <title> — <why> — <draft path> line |
--plugins-repo <owner/name> |
Override the tracker for generic patterns; the default is the survey's PLUGINS_REPO (how it is chosen) |
--usage |
Report how Workflow calls split across inline scripts, scriptPath reruns and saved or plugin workflows run by name, over recent transcripts (--all-projects widens it). Files nothing |
Execution
Execute this capture. A public draft files only after both Step 5 gates pass.
Step 1: Survey the session's workflow runs
bash "${CLAUDE_SKILL_DIR}/../../scripts/workflow-capture-survey.sh" --session-id "${CLAUDE_SESSION_ID}"
It lists every script the harness persisted this session, each run's agent
counts, and whether a script matches a saved or bundled workflow byte-for-byte
(verbatim), by meta.name only (adapted), or not at all (authored);
fields in references/collector-digest.md.
Reuse a digest session-end already passed.
With --usage, run workflow-capture-survey.sh --usage (add --all-projects),
report the WORKFLOW USAGE counts, and stop.
On STATUS=SKIP (no transcript) or WARN (layout moved; report the REASON),
judge from the conversation alone. If the session ran no Workflow and no
workflow caused friction, say so in one line and end.
Step 2: Judge the findings
Read the latest script of each authored or adapted workflow and the
conversation around its runs. Keep two kinds of finding:
- Pattern: a whole script, a stage, a schema or a verification shape that another task could reuse. It must pass all three reusability questions; one "no" means it stays a one-off, reported as skipped with the reason.
- Friction: an existing workflow, saved or bundled, that cost the session
something. The collector's
SIGNALS(reran,unfinished_agents,resumed,adapted_known) point at candidates; the conversation supplies the cause (a schema rejection, a scale-guard prompt, a wrong instruction in a template's framing section, an agent budget that did not match). Anunfinished_agentsrun is reported, not recovered: recovery belongs toworkflow-orchestration-plugin:workflow-interrupted-run-recovery.
| Reusability question | A "no" looks like |
|---|---|
| Is the fan-out width enumerable by something other than the model (a file list, a script's rows, the caller's args)? | The script invents its own N ("6 lenses x 4 agents") |
| If it has a barrier, does a later stage need all earlier results at once? | The barrier only collects what one agent could have summarised inline |
| Is every loop bound decided by a script or a constant that survives a re-run? | The bound is a JS local that resets when the run is re-driven |
A verbatim run with no friction is not a finding, nor is a pattern
session-plugin:session-distill already proposed as a [PROMOTE] PR this
session. Cost a pattern whose agent count grows with the input with
workflow-orchestration-plugin:workflow-scale-budget.
Step 3: Route each finding to one tracker
| Finding | Tracker | Audience |
|---|---|---|
| A pattern that depends on this repo's files, data or domain; friction in a workflow saved in this repo | CALLING_REPO |
project |
| A pattern reusable in any repos |
Установить session-workflow-capture в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(bash ${CLAUDE_SKILL_DIR}/../../scripts/workflow-capture-survey.sh *)Bash(bash ${CLAUDE_SKILL_DIR}/../../scripts/check-issue-draft.sh *)Bash(mktemp *)Bash(gh issue list *)Bash(gh issue create *)Bash(gh label list *)Bash(gh label create *)Bash(gh repo list *)mcp__github__list_issuesmcp__github__get_labelmcp__github__issue_writeReadWriteSkillAskUserQuestionВложенные файлы
FAQ
Что делает скилл session-workflow-capture?
Workflow-tool scripts and workflow friction from this session, filed as issues here or in the plugins repo. Use when a session ran Workflow scripts.
Как установить скилл session-workflow-capture?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл session-workflow-capture запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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