scenario-workflow-authoring
БесплатноЗапускает вложенные скриптыНе проверенUse when a task involves creating or editing a Scenario workflow graph through MCP: building an app from a brief, adding or rewiring nodes (models, prompts…
от scenario-labs★ 4 422 звезды на GitHubОб этом скилле
Scenario Workflow Authoring
Overview
A workflow has two representations: editor_info (the editable node graph: nodes, edges,
inputKeys) and flow (the compiled runnable form). Authoring through MCP means writing the whole
editor_info document: there are no per-node editing tools; every change is a read, modify, write
of the full graph through workflow_create or workflow_update. Never hand-write flow:
workflow_publish compiles editor_info into it and flips status to ready. Editing a ready
workflow's editor_info leaves the stale flow running until you publish again.
Read references/editor-info.md before writing any graph: it holds the
node type vocabulary, the node choice doctrine (when an llm node is legitimate), the edge
direction rule, per-node data contracts, and a validated minimal example. Create, update, publish,
copy and delete live in the tool catalog (scenario_tools_search plus the matching executor, see
the scenario skill). workflows_list, workflow_get and workflow_run are direct tools: scope
and dry_run go in their top-level arguments, never an executor wrapper. Running and pricing: the
scenario-workflows skill. If a sibling skill named here is missing from your available skills,
load it with skill_get (Scenario MCP) or ask the user to install it
(https://github.com/scenario-labs/skills#install); unattended, proceed from tool schemas and flag
the gap.
Quick reference
| Step | Call | Notes |
|---|---|---|
| 1. Study a graph | workflow_get on a working workflow |
Copy the shape, never ids |
| 2. Model contract | model_schema_get |
Handle names and required inputs |
| 3. Author | editor_info + inputs_definition |
Per the reference file |
| 4. Create | workflow_create |
Non-atomic, see below |
| 5. Publish | workflow_publish |
Compiles flow; one output pin required |
| 6. Validate | workflow_run with dry_run=true |
Prices and runs the real validator |
workflow_create is two calls under the hood: a failed create may still have created a draft whose
id is in the error. Recover with workflow_update on that id; re-creating duplicates. Seed step 1
with workflow_get: it returns the full graph of any workflow whose id you have, public ones
included (an id or app URL the user supplies, or your own team's from workflows_list). To find a
public template, use search with target="workflows", public=true, a keyword query,
limit=3, and your scope; for example, query="image" with raw filter: 'status = "ready"'. Read
ids from workflows, then fetch the chosen graph with workflow_get; search hits are summaries,
not graph documents. Workflow search supports keyword text and filters only, so omit image and
semantic options. Use workflows_list for browsing your saved workflows.
scripts/fetch_workflow_examples.py bulk-exports trimmed
featured-workflow graphs for maintainers (setup in its header).
Worked example: a text-to-image app
recommendwithcapability: "txt2img"and the user's brief asprompt, following thescenarioskill'snext_stepdiscipline, thenmodel_schema_get: its input names become the model node's handle names, and itsrequiredflag marks what must be wired. Usesearchinstead when the user names a model.- Author
editor_info:text1withdata.isInput: true,model1withtype: "model",data.modelIdanddata.isOutput: true, one edge frommodel1's input totext1's output (edges name the downstream node assource, see the reference),inputKeys: ["text1"]. workflow_createwithname,editor_info, andinputs_definitionnamingtext1as a string input. The published input key is the node id, which is why run inputs have names liketext1.workflow_publish, thenworkflow_runwithdry_run=trueto validate and price. Fix the graph and re-publish if validation fails.
One output per item needs a loop
A multiple-asset input wired straight into a generative model's reference field is one generation
conditioned on every item at once: ten product shots in come back as one image blending them, not
ten edits. Field names and cardinality are per model, so read them off model_schema_get
(array: true marks a list), and read the field's description as well: a few utility tools take a
list and return one output per item, which needs no loop. When each item needs its own result, put
the model inside a forEach over the list and read the outputs from the forEachEnd (wiring in the
reference's forEach section); keep the direct wiring only when the i
Установить scenario-workflow-authoring в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл scenario-workflow-authoring?
Use when a task involves creating or editing a Scenario workflow graph through MCP: building an app from a brief, adding or rewiring nodes (models, prompts, approval gates, loops), authoring editor_info, publishing, unpublishing or renaming, importing an exported workflow JSON, migrating a graph built in Weavy, ComfyUI, or another node tool, copying a workflow, or turning a prompt chain into an app. Running or pricing a workflow is scenario-workflows. Keywords: node graph, editor_info, CEL.
Как установить скилл scenario-workflow-authoring?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл scenario-workflow-authoring запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic