griptape-ai/griptape-nodes/griptape-nodes-workflows
Claude Code and agent skill by griptape-ai/griptape-nodes
- community
Checking that the SKILL.md file is still in the repository.
Build, run, and inspect Griptape Nodes workflows by driving the engine's MCP server. Use when the user asks to construct a node workflow, run an existing one, set parameter values, wire connections between nodes, or read output from a workflow run. Triggers include "build a workflow", "add a node to the flow", "connect these nodes", "run the flow", "what does node X output".
Install
npx vskill@latest install griptape-ai/griptape-nodes/griptape-nodes-workflowsSKILL.md
Griptape Nodes Workflow Construction Guide
This skill covers the full cold-start cycle (build → wire → run → read) against the engine's MCP server, plus the idioms and gotchas discovered from running real workflows.
Mental Model
- Workflow: Top-level namespace. Only ONE can be active at a time. Reset with
ClearAllObjectStateRequest. - Flow: The canvas inside a workflow. A workflow has exactly one top-level "canvas" flow. Sub-flows are possible but rarely needed for scratch work.
- Node: A unit of work with parameters (inputs, outputs, properties).
- Connection: An edge between two parameters. Two kinds:
- Data flow: A typed parameter on one node → a typed parameter on another. The engine derives execution order from data dependencies, so data connections alone are usually sufficient.
- Control flow:
exec_out→exec_in. Only needed when two nodes must run in a specific order but don't share data (e.g. side-effecting steps, branching). Skip these by default. - Current Context: A stack (workflow → flow → node). Most requests default to "current" when a name is omitted.
What the MCP server actually exposes
Every MCP tool corresponds 1:1 to a RequestPayload class registered in SUPPORTED_REQUEST_EVENTS (src/griptape_nodes/servers/mcp.py). The server name is prefixed onto each tool, so the request CreateNodeRequest is reachable as griptape_nodes_CreateNodeRequest. A few consequences worth remembering up front:
- There are no plural variants of individual requests.
CreateNodesRequest,
CreateConnectionsRequest, etc. do not exist. To create N nodes, send N CreateNodeRequest calls — or wrap them in a single EventRequestBatch call (see below).
- `CreateNodeRequest` does not take parameter values. Setting a parameter is
always a separate SetParameterValueRequest after the node exists. There is no parameter_values / inputs shortcut on create.
- `EventRequestBatch` is the only fan-out primitive. It is a synthetic tool
(no matching RequestPayload class) that ships an ordered list of inner requests in one transport frame. Reach for it whenever you already know the shape of a build phase. See "EventRequestBatch: collapse a build phase into one round trip" below.
Survey the Workspace First
Before building anything, find out what is actually loaded in this engine. The set of registered libraries and the node types they expose is the catalog every later step draws from, so spend the round trips up front instead of guessing names that may not exist (or that exist in a different library than you expect).
Find the workspace directory on disk
The MCP surface does not expose GetConfigValueRequest, so resolve the workspace path by reading the user config file directly. On macOS / Linux it lives at:
The keys you care about are:
workspace_directory: absolute (or~-prefixed) workspace root. The sandbox
library lives inside this directory.
app_events.on_app_initialization_complete.libraries_to_register: list of locally
registered griptape_nodes_library.json paths. Entries can be either a string or an object {"path": "...", "enabled": true}. Reading these tells you where each library's source lives if you need to look at an existing node's Python module before writing a similar sandbox node.
The sandbox subdirectory key (sandbox_library_directory) is optional and defaults to sandbox_library. The absolute sandbox path is therefore <workspace_directory>/<sandbox_library_directory> (e.g. ~/Projects/.../GriptapeNodes/sandbox_library).
Do this once per session and remember the paths; they don't change mid-run.
Survey the registered libraries via MCP
Do this once per session, then reuse the catalog. Skip the survey only when you already know (from a prior call in the same session) which library provides each node type you intend to use.
EventRequestBatch: collapse a build phase into one round trip
EventRequestBatch (MCP tool name: griptape_nodes_EventRequestBatch) wraps an ordered list of inner requests in a single transport frame. Use it whenever the shape of the build phase is already decided — typical pattern is N CreateNodeRequest
- M
SetParameterValueRequest+ KCreateConnectionRequest+ one
AutoLayoutFlowRequest, all in one round trip.
Shape:
Behavior:
- Sequential dispatch. The engine awaits inner requests in submission order
(for inner in batch.requests: await _dispatch_event_request(inner)), so a CreateNodeRequest followed by a SetParameterValueRequest on that same node is safe inside one batch.
- Pre-flight validation. Every inner request is constructed against its
RequestPayload class before anything goes on the wire. An unknown request_type, a request that is not a JSON object, or unknown kwargs in the inner payload all reject the entire batch up front with a TypeError / ValueError.
- Per-slot failure isolation. Once the batch is dispatched, a failure in one
slot does not abort siblings. Failed slots come back as {"ok": false, "details": "..."} in the result array; successful slots come back as the same flattened object a single tool call would return. Walk every slot before assuming the batch succeeded.
- No nesting.
EventRequestBatchis intentionally absent from
SUPPORTED_REQUEST_EVENTS and the inner request_type enum, so a batch cannot contain another batch.
- Default timeout scales with size.
timeout_msdefaults to
30000 × len(requests) clamped at 300000 ms (5 min). Pass an explicit override when the last slot is StartFlowRequest or any other long-running call; otherwise the synchronous run can eat the budget meant for the rest of the batch. bool is rejected explicitly so True cannot silently become 1ms.
Return shape: a JSON array of trimmed slot responses in submission order. Each slot looks identical to the response that single-tool dispatch would have returned for that request_type.
Critical idiom: pre-name nodes you reference later in the same batch
Inside one batch you cannot read CreateNodeResultSuccess.node_name from an earlier slot before composing a later one — every entry is fixed when the batch is submitted. So either:
- Pass an explicit
node_nameon everyCreateNodeRequestand reuse those names
verbatim in later SetParameterValueRequest / CreateConnectionRequest entries, or
- Split the build across two batches: one that creates nodes (read the assigned
names back from the result array), then a second that sets parameters and wires them up.
The one-batch + explicit names path is almost always shorter and is what the batched recipe below uses.
Canonical Cold-Start Recipe
For a typical 3-node linear pipeline (TextInput → Agent → DisplayText), once the workspace survey above has confirmed the relevant library exposes those node types:
Thirteen MCP calls: 1 ensure + 3 describe + 3 create + 1 set + 2 connect + 1 layout + 1 run + 1 read. Wider graphs scale linearly: every node adds one CreateNode plus its SetParameterValue calls; every edge adds one CreateConnection.
Batched variant (4 round trips)
The build phase (steps 5-11 above) has fixed shape, so it collapses into one EventRequestBatch call. The describe phase still benefits from being a separate batch because its results inform the build payload, and StartFlowRequest is usually kept out of the build batch so its long timeout does not gate the rest:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdocs/skills/griptape-nodes-workflows/SKILL.md
Popularity
- Repository stars
- 82
- Repository forks
- 13
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/griptape-ai/griptape-nodes/griptape-nodes-workflows)