dynamic-workflow
Plan and coordinate complex tasks as editable JavaScript workflows with multiple MCode agents. Create a pending-review draft, automatically open its topology…
от MiniMax-AI★ 30 звёзд на GitHub
Установить dynamic-workflow в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Dynamic Workflow
Use this skill when the user explicitly requests a workflow, a batch of independent tasks, or visual multi-agent orchestration. Do not expand an ordinary small task into a workflow. Communicate with the user and write task-facing labels and reports in the user's language, even though these instructions are in English.
Project binding
Before using workflow tools, obtain the actual project directory from the current host session or the user's explicit target. Verify it is an existing absolute directory. If the task has no known project, ask the user for one. Never infer the project from this Skill location, PLUGIN_ROOT, the MCP process working directory, or a previous workflow.
The normal plugin MCP entry is a project router. Every tool except workflow_validate requires workspace. Pass the same explicit project path to workflow_dashboard, workflow_start, and all status, edit, result, wait, pause, cancel, and resume calls. Multiple projects can share one MCP connection; never rely on a last-selected project. Check the returned dashboard workspace and draft workspace against the intended project before opening or executing it. A run ID belongs to its original project and cannot be resumed in another project.
Project services, history, templates, budgets and saved ports are isolated under ~/.mcode-dynamic-workflows/projects/<canonical-path-sha256>/. No history is automatically moved from legacy service directories. A manually configured --workspace / settings.workspace MCP connection retains its fixed-project behavior; its tools do not require a workspace argument.
If MCP tools are unavailable, report the connection error and stop workflow submission. Do not silently replace the requested visual workflow with raw parallel CLI calls. To diagnose a missing entry point, check <plugin-root>/dist/main.mjs directly using the exact root derived from this Skill location; official cache directories are digest-named and cannot be discovered by globbing for the plugin name.
Workflow
- Before real execution, complete the dependency preflight below. Demo runs may skip it. Call
workflow_dashboardfor the current service's dashboard URL. Report connection failures; never invent a working page. - Establish the user's goal, permitted operations, input materials, and budget. Ask only for necessary missing information. Use
mcodefor real execution; explicitly label simulations asdemo. - Write an asynchronous JavaScript function body without
importorexport. The only business interfaces arectx.agent,ctx.map,ctx.phase,ctx.log, andctx.checkpoint.inputis frozen JSON. - Give each step a stable
id,label, andphase. Describe upstream dependencies with an ID array such asdependsOn: ["scope"](a single ID string is also supported), using the IDs you assigned; await successful upstream results before dispatching dependent steps. Declare known phases first. Additional tasks appear as the script creates them. ctx.agentreturnsstatus,output, anderror; always checkstatus. A failed independent verification does not disprove the original finding. Record uncovered files and unverified claims in the final report.- Call
workflow_validateto obtain a static structure preview, then submitrequestId,name,script,input,metadata, andexecutorthroughworkflow_start. This creates a durablepending_reviewdraft and does not run agents. Reuse the samerequestIdwhen retrying the same submission. Immediately follow Open the dashboard automatically below to open this run in MCode's built-in browser. Tell the user to inspect the topology and click Start execution when ready; do not ask whether to open the dashboard. Do not approve through HTTP, shell, browser automation, or another tool on the user's behalf. Stop waiting while the run is pending review; do not poll or claim execution has begun. If the user requests edits, useworkflow_updatewith the currentrevision; it regenerates the topology and remains pending review. Users can also edit the script, full JSON input, and budgets in the dashboard. Only unstarted drafts are directly editable; use the repair flow below for a run that already executed. - The default per-workflow concurrency is four agents (configurable from 1–16); the service-wide default is eight (the dashboard supports 1–32). Eligible workflows receive free slots in round-robin order. Lowering a limit does not interrupt running agents. Defaults are 120 model steps and 30 minutes per agent. For larger tasks, set
maxSteps,stepTimeoutMs,runTimeoutMs, andmaxCallsexplicitly onworkflow_start. Model steps and workflow agent calls are different limits. Keep the scope bounded and reserve budget for the final answer. After the user starts execution, wait for changes withworkflow_waitandafterSequence; avoid frequent polling. Useworkflow_statusfor details and paginate `workfl
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл dynamic-workflow?
Plan and coordinate complex tasks as editable JavaScript workflows with multiple MCode agents. Create a pending-review draft, automatically open its topology in the MCode built-in browser, let the user edit and start it, then track parallel research, code reviews, batch processing, verification, and synthesis with live statuses, logs, results, configurable budgets, pause, cancel, resume, and error-guided repair with reviewed reuse of successful results.
Как установить скилл dynamic-workflow?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dynamic-workflow запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…