Command Palette

Search for a command to run...

Назад к скиллам
скилл № 06673

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от 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

  1. Before real execution, complete the dependency preflight below. Demo runs may skip it. Call workflow_dashboard for the current service's dashboard URL. Report connection failures; never invent a working page.
  2. Establish the user's goal, permitted operations, input materials, and budget. Ask only for necessary missing information. Use mcode for real execution; explicitly label simulations as demo.
  3. Write an asynchronous JavaScript function body without import or export. The only business interfaces are ctx.agent, ctx.map, ctx.phase, ctx.log, and ctx.checkpoint. input is frozen JSON.
  4. Give each step a stable id, label, and phase. Describe upstream dependencies with an ID array such as dependsOn: ["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.
  5. ctx.agent returns status, output, and error; always check status. A failed independent verification does not disprove the original finding. Record uncovered files and unverified claims in the final report.
  6. Call workflow_validate to obtain a static structure preview, then submit requestId, name, script, input, metadata, and executor through workflow_start. This creates a durable pending_review draft and does not run agents. Reuse the same requestId when 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, use workflow_update with the current revision; 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.
  7. 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, and maxCalls explicitly on workflow_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 with workflow_wait and afterSequence; avoid frequent polling. Use workflow_status for details and paginate `workfl
Полный SKILL.md на GitHub

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

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

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

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), без исполняемых скриптов.

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

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