/genesys-cloud-architect:architect-diagramfrom genesys-cloud-architect
Draws deployed Genesys Cloud Architect flow tasks as SVG/PNG diagrams matching the Architect editor's canvas style, with numbered action boxes, branch pills, and optional highlights. Use for bug reports, stakeholder visuals, or animation frames.
Ships in genesys-cloud-architect. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The flow_diagram tool draws one task of a flow as SVG and PNG in the look of the
Architect editor, measured box by box from editor screenshots and set in its typeface.
It reads the flow itself and writes the files where you tell it; nothing here writes to
Genesys, and nothing needs installing for the PNG.
Pick this over the Mermaid flow-diagram skill when the picture has to be recognisable to
someone who works in Architect every day: a bug report, a "this is the box to change"
message, a slide, or a frame for an animation. Pick Mermaid for a README or a PR.
find_flow by name; note the id and publishedVersion. For a
past version, take the flowVersion from flow_versions or find_flow_execution.flow_diagram with the flow id, an absolute outputDir (a scratch folder:
the session scratchpad if the environment gives you one), and task by name or id.
Omit task for the entry task, which is what a user means by "the main task"; the
result lists every task of the flow either way, so a wrong guess costs one call.
highlights takes the badge numbers the editor shows (the raw trackingId, so a
number the user reads off a screenshot goes straight in) or IR action ids (what
flow_ir, search_in_flow and flow_execution_data report), each with an optional
tag of up to about 45 characters. Badge numbers appear only in this tool's result
(boxes), not in flow_ir; to highlight an action by what it does, find its id
with flow_ir or search_in_flow first. A highlight that is not in the drawn task
is an error naming the task that holds it.pngPath, or an Artifact / HTML page
with the SVG inline (it is self-contained; the web font is its only external
reference). Say which task it shows and which configuration: without flowVersion
that is the latest saved configuration, so say "latest configuration (published
version X)" from the result's configurationDescription and publishedVersion
(configuration itself is the same object the other flow tools return), and call
flow_versions only when the user needs to know whether unpublished edits exist
(the picture will be compared with the live canvas, or the flow is actively being
edited). Mention any hiddenOutputs, since flow_ir lists them and the picture,
like the editor, does not. Say that
the red outline and tag are additions the editor does not draw. If the result lists
anything under standIns, say those boxes are drawn with the nearest look rather than
from an editor capture; when it is empty there is nothing more to add. If the result
has cycleCuts, the flow loops back on itself outside a Loop action and the picture
stops just before repeating: say the task does not end where the picture does, name
the action it goes back to (reenters) and the last one drawn (after), and trace
the loop with flow_ir. The field is absent when nothing was cut. Relay any
notes: a PNG that could not be written, actions with no configuration.If the tool answers that a task "would draw more than 2000 action boxes", its branches
share or cross-link their targets and it cannot be drawn in the editor's layout: say so
and describe the task from flow_ir (or as Mermaid) instead of retrying.
For a sketch of a proposed change, or a flow the plugin cannot read, pass graph instead
of a flow id; the tool's description gives the shape and the kinds.
trackingId, the number Architect shows; it continues across tasks.outOfService) is not drawn, as the editor hides it.flow_action in the explanation rather than relying on the picture.Every rule above was settled against editor captures of digital bot flows: decisions, switches, digital menus with and without a visible system output, data actions, update data, set participant data, loops with and without Exit/Next Loop, Call Task with and without named paths, Jump to Task, End Task, Exit Bot Flow, hidden menu outputs, badges.
Known only from one inbound-call-flow screenshot, so drawn with the nearest look and
reported under standIns: Menu, Play Audio, Transfer to ACD, Collect Input, Call Agentic
Virtual Agent, Disconnect. Not modelled at all: collapsed actions, left-to-right layouts,
shadows and selection states. An action type the renderer does not know draws as a gear
with the IR's description as its body.
An IVR menu task has no canvas in the editor (it is a form), so it is drawn as one box
named after the task with a pill per choice and each choice's action under it, dashed
back because a choice hands the caller on. That box is a stand-in too (drawnAs: "ivr_menu", no badge, actionType: null); highlight it with <taskId>::start. A
transfer shows its Failure path only, and the action a failed transfer continues at is
drawn below it.
Highlights are this renderer's addition, not an editor feature.
The SVG is a static base. The result's boxes give every action's badge, IR action id
and position, so a script can map execution data (flow_execution_data, per action id)
onto coordinates and draw dots, counts or a walked path on top. Manim loads the SVG with
SVGMobject; a browser can animate it with CSS or JS on the g.node[data-id] groups.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub makingchatbots/genesys-cloud-plugins --plugin genesys-cloud-architect5 skills in this plugin
/architect-drawioThis skill should be used whenever a Genesys Cloud Architect flow, task, bot or IVR is wanted as a draw.io / diagrams.net diagram, a .drawio file, or "a canvas I can move boxes around" — "push it to draw.io", "open it in drawio", "editable Architect diagram", "make it look like Architect in draw.io" — for a deployed flow, a proposed change, or a fictional flow. Use it even when the user does not say "Architect" if the thing being drawn is a contact-centre flow and the destination is draw.io. It hand-writes draw.io XML that matches the Architect editor's canvas (numbered action boxes with a grey header, branch pills under a bus, dashed empty slots, End of Flow footers), with every box a separate movable shape. For a static PNG/SVG of that look use the architect-diagram skill's flow_diagram tool; for Mermaid in markdown use flow-diagram./flow-diagramThis skill should be used when the user asks to create a diagram, flowchart, flow visualization, dependency tree, architecture map, state machine, or pipeline view — including when they ask for an interactive, explorable, or pan-and-zoom diagram (this skill produces static diagrams and sets that expectation). Common trigger phrases include "visualize", "diagram", "flowchart", "graph", "map out", "show the flow", "draw the dependencies", "create a diagram". Produces Mermaid text; when the user wants an image that looks like the Architect editor's own canvas (a PNG or screenshot-like picture of a deployed flow, with a box highlighted), use the architect-diagram skill and its flow_diagram tool instead./interpret-flow-irUse when interpreting the JSON returned by the flow_ir, flow_action, search_in_flow, find_flow_execution, flow_execution_data or flow_versions tools, or when the user asks about a deployed Genesys Cloud Architect flow, including one named only by flow name (resolve with find_flow first) or a queue named only by queue name (resolve with find_queue first). Covers structural questions ("analyse this flow", "trace the path", "find dead logic", "does it loop"), semantic questions ("what does this decision check", "what does pressing 2 do"), search questions ("which actions reference this queue", "which use Flow.DNIS"), prompt questions ("what does the caller hear here", "what does Prompt.Welcome say"; resolve with get_prompts), execution questions about a real conversation or test run ("what did this conversation do", "why did the customer loop", "did the flow error", "is it working"), and publish-history questions ("when was this flow last published", "which version was live at 09:30", "what changed on the 5th"; resolve with flow_versions). Use it to answer control-flow questions from the IR rather than the raw configuration JSON, to find the actions worth inspecting, to fetch per-action settings the IR omits, and to read one run's execution data against the IR./write-flowWrite and deploy Genesys Cloud Architect flows as TypeScript using the Architect Scripting SDK. Guides Claude to produce correct flow code that typechecks and deploys.Other plugins' skills for the same job