api-workflows
БесплатноБез исполняемых скриптовНе проверенCall nodetool.workflows, nodetool.jobs or nodetool.nodes from a code action: list, validate, save, run, debug and version workflow graphs, wait on background…
от nodetool-ai★ 674 звезды на GitHubОб этом скилле
nodetool.workflows, nodetool.jobs, nodetool.nodes
These three namespaces cover saved graphs, the runs they start, and the node
catalog a graph is built from. How to design a graph is
nodetool-workflow-builder. This skill is the call reference.
Every method takes an id as the full id or its 12-character prefix, and every method throws when its backing tool is not on this belt.
nodetool.workflows
| Call | Does | Answers |
|---|---|---|
list({workflow_type, query, limit}) |
Lists workflows. workflow_type is "user" (default), "example" or "all". |
{workflows: [{id, name, description, tags}]} — an envelope, not an array |
get(id) |
Reads one workflow with its graph. | The workflow record |
create(name, graph, {description, tags, access, project_id}) |
Saves a new workflow. graph is a DSL result, {nodes, edges}, or a workflow record. create({name, graph}) also works. |
The saved workflow with its id |
validate(idOrGraph) |
Checks a graph against the node registry without a run. | {ok, issues}. Throws when the graph has errors, so a broken graph cannot reach a paid run. |
run(id, params, {interactive, node_ids, reuse_results}) |
Runs and blocks until the run settles. | The run result. With interactive: true, a failed node returns status: "escalated". |
start(id, params, {node_ids, reuse_results}) |
Starts a run and returns at once. | A receipt {job_id, id, status: "running"} |
debug(id, params, {interactive, node_ids, reuse_results, include_graph, log_limit}) |
Runs and reports. | {workflow_id, run, job, workflow}. An escalated debug answers {workflow_id, run} with the escalation under run. |
resolve(sessionId, escalationId, action, {outputs, reason, apply_to}) |
Answers an escalation. | The next escalation, or the final report |
example("<package>/<name>") |
Loads a shipped example with its graph. A bare name reads from nodetool-base. |
The example workflow |
searchExamples(query, {limit}) |
Ranks the shipped examples against a plain-words description of the workflow. Read a hit before authoring a graph from scratch. | {examples: [{name, package, description, node_types, dsl}]}. dsl is a @nodetool-ai/sandbox-dsl program that rebuilds the example. |
versions(id, {limit}), getVersion(id, n) |
Lists and reads snapshots. | Version rows, newest first |
snapshot(id, {name, description}) |
Saves the current graph as a manual version. | The new version number |
restore(id, n) |
Rolls the graph back. The graph it replaces is snapshotted first, so a restore can be undone. | — |
deleteVersion(id, n) |
Deletes one snapshot. This cannot be undone. | — |
open(id?) |
Opens the editable object model of a graph that is open in the editor. Throws when no editor tools are on the belt. | A workflow object: addNode, connect, commit() |
node_ids runs only those nodes and what they need upstream. Unrelated
branches and downstream nodes are not executed or billed. An upstream
generator that already produced output in this workflow is fed that output
instead of running again, unless reuse_results: false. This is the cheapest
way to re-run one repaired node.
The debug report
debug answers {workflow_id, run, job, workflow}:
run.statusis the verdict of the run, andrun.errornames the failure.run.outputsis keyed by output name. Each name holds an array of the values it emitted, so readrun.outputs.summary[0], notrun.outputs.summary.run.verdict.issueslists what went wrong, node by node.jobcarries the status, the cost and the logs.
Escalations
An interactive run parks on a failed node and answers status: "escalated"
with a session_id, an escalation_id and escalation.allowedActions. The actions
are retry, substitute (with {outputs}, only when the escalation has a
candidateOutput), skip, end_stream and fail (with {reason}).
apply_to: "signature" also answers later failures with the same signature.
run answers the escalation at the top level. debug nests it under run,
so drive the loop with run. resolve answers the next escalation or the
final report, both at the top level. Write the whole loop in one action:
let report = await nodetool.workflows.run(id, params, { interactive: true });
while (report.status === "escalated") {
report = await nodetool.workflows.resolve(report.session_id, report.escalation_id, "skip");
}
return { status: report.status, error: report.error, issues: report.verdict?.issues };
An unanswered escalation fails the run when its decision timeout expires.
Rules
- A saved graph is not a run. When the user asked for results, call
run. - Validate before
createand before a paid run.validatethrows on errors, and its message lists the errors only. - A
*_modelproperty left unset fails validation. Assign(await nodetool.models.pick(capability)).ref. createchecks model prope
Установить api-workflows в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл api-workflows?
Call nodetool.workflows, nodetool.jobs or nodetool.nodes from a code action: list, validate, save, run, debug and version workflow graphs, wait on background jobs, and look up or probe node types. Load before the first call into these namespaces.
Как установить скилл api-workflows?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл api-workflows запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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