/genesys-cloud-architect:flow-diagramfrom genesys-cloud-architect
Creates flow diagrams, flowcharts, dependency trees, architecture maps, state machines, and pipeline views as Mermaid text. Sets expectation of static output; defers to architect-diagram skill for PNG/SVG renders.
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.
For a picture that looks like the Architect editor's own canvas (numbered action boxes, branch pills, a highlighted "this is the broken box"), use the architect-diagram skill instead; it renders PNG/SVG from flow_ir and flow_action. This skill is the text form.
Create flow diagrams as Mermaid — text-based with automatic layout. Mermaid is diffable, cheap to generate, and renders natively in GitHub markdown (READMEs, PR and issue descriptions), Claude artifacts, and most docs tooling.
For graphs with fewer than 3 nodes or no edges, prefer plain text (ASCII or a markdown table) — not worth a diagram.
| Data | Mermaid type |
|---|---|
| Flows, pipelines, decision branches | flowchart TD (or LR for wide/shallow graphs) |
| State machines | stateDiagram-v2 |
| Dependencies, architecture maps | flowchart LR with subgraph groupings |
| Sequences of calls between systems | sequenceDiagram |
flowchart TD
Welcome["Welcome message"] --> Hours{"Business hours?"}
Hours -->|open| Queue["Route to Sales queue"]
Hours -->|closed| AfterHours["After-hours message"]
AfterHours --> Offer{"Leave a voicemail?"}
Offer -->|yes| Record["Record voicemail"]
Offer -->|no| Finish["End call"]
Queue --> Finish
Record --> Finish
Syntax gotchas:
A["Play message (after hours)"]end (lowercase) is a reserved word in flowcharts — use a different node id like FinishA -->|open| BclassDef + class, e.g. classDef queue fill:#1d4ed8,color:#fff then class Queue queueMermaid source is only a picture where something renders it. A fenced block printed into a Claude Code terminal shows as raw source text, not a diagram — so pick the delivery form from the destination:
| Destination | Deliver as |
|---|---|
GitHub PR or issue description, README, a committed .md file | Fenced ```mermaid block — inline in the response for the user to paste, or written to the file |
| The user wants to look at the diagram now, in a Claude Code session ("show me", "let me see it") | A standalone HTML file they can open (section 5), or a published Artifact — never bare source in the terminal |
| Web or desktop chat, or docs tooling that renders Mermaid | Fenced ```mermaid block |
When delivering a file or Artifact, still show the Mermaid source inline if it is short — it is the reviewable, diffable form.
When a node needs to show a list of sub-items (e.g., a flow listing the data actions it calls), use multi-line labels with <br/> bullets, or group children in a subgraph:
flowchart LR
Main["Main IVR flow<br/>• Lookup-Customer<br/>• Check-Balance"] --> Bot["Billing bot<br/>• Get-Invoice"]
To give the user something openable in a browser, wrap the diagram. The page background must match the Mermaid theme — a dark theme diagram on a default white page is washed out and low contrast:
<!doctype html>
<html>
<body style="margin:0;padding:24px;background:#0f172a">
<pre class="mermaid">
flowchart TD
A["..."] --> B["..."]
</pre>
<script type="module">
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs';
mermaid.initialize({ startOnLoad: true, theme: 'dark' });
</script>
</body>
</html>
This wrapper needs internet access when opened (Mermaid loads from a CDN); the markdown form has no such dependency.
subgraph groupings rather than fighting the layout.What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/architect-diagramDraw a deployed Genesys Cloud Architect flow task as an image that looks like the Architect editor's own canvas (numbered action boxes with icons, branch pills under a bus, dashed rejoins, inline loops, "End of Flow" footers), with optional red highlights and tags on the actions being discussed, using the flow_diagram tool. Use when the user asks for a picture, image, screenshot-like diagram or PNG/SVG of a flow or task "like Architect" / "as it looks in the editor", wants a diagram that points at where a flow is broken, wants to show stakeholders where customers drop out or which path a conversation took, or wants a static base image for an animation of customers moving through a flow. For a quick text diagram that renders in GitHub markdown, use the flow-diagram skill (Mermaid) instead./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.npx claudepluginhub makingchatbots/genesys-cloud-plugins --plugin genesys-cloud-architectOther plugins' skills for the same job