Borrowing it
Nothing to install: this file belongs to renfei-design/Figma-AI-Bridge. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/renfei-design/Figma-AI-Bridge/main/.github/skills/workflow-diagram/SKILL.mdgit clone --depth 1 https://github.com/renfei-design/Figma-AI-BridgeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/renfei-design/figma-ai-bridge/workflow-diagram)<a href="https://agentmods.dev/skills/renfei-design/figma-ai-bridge/workflow-diagram"><img src="https://agentmods.dev/badge/skills/renfei-design/figma-ai-bridge/workflow-diagram/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/renfei-design/figma-ai-bridge/workflow-diagram"><img src="https://agentmods.dev/badge/skills/renfei-design/figma-ai-bridge/workflow-diagram.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00077 | $0.02384 |
| Opus 5.5 | $0.00031 | $0.00954 |
| Sonnet 5.5 | $0.00015 | $0.00477 |
| Haiku 4.5 | $0.00008 | $0.00238 |
Grade A, and why
workflow-diagram scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 229 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Workflow Diagram
Build workflow diagrams in Figma using the create_workflow_diagram command. One command builds the entire diagram — shapes, arrows, labels, and layout are handled automatically.
Prerequisites
- figma-ai-bridge plugin running in Figma and connected
- The
create_workflow_diagramcommand registered incode.js - Helper:
scripts/figma_cmd.mjs <channel> create_workflow_diagram '<paramsJSON>'
Shape Types
| Type | Shape | Use for |
|---|---|---|
start |
Green pill | Entry point of a workflow |
end |
Red pill | Termination / completion points |
process |
White rectangle | Actions, tasks, operations |
decision |
Yellow diamond | Yes/no branches, conditions. Always has 2+ labeled outgoing edges |
subprocess |
Purple double-border rectangle | Referenced sub-processes, external calls |
note |
Dashed yellow box | Comments, annotations, side notes |
Command Schema
{
"title": "My Workflow",
"direction": "TB",
"nodes": [
{ "id": "start", "type": "start", "label": "Begin" },
{ "id": "step1", "type": "process", "label": "Do something" },
{ "id": "check", "type": "decision", "label": "OK?" },
{ "id": "done", "type": "end", "label": "Done" }
],
"edges": [
{ "from": "start", "to": "step1" },
{ "from": "step1", "to": "check" },
{ "from": "check", "to": "done", "label": "Yes" },
{ "from": "check", "to": "step1", "label": "No" }
],
"x": 0,
"y": 0
}
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
title |
string | No | "Workflow Diagram" | Diagram title |
nodes |
array | Yes | — | Node definitions |
edges |
array | Yes | — | Edge definitions |
direction |
"TB" | "LR" | No | "TB" | Top-to-bottom or left-to-right |
swimlanes |
array | No | — | Optional lane groupings |
x, y |
number | No | 0 | Canvas placement offset |
spacing |
object | No | — | Override nodeWidth, nodeHeight, horizontalGap, verticalGap |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 229 lines · 77 tokens per session scan A 0312213022c5
workflow-diagram is a skill published in the GitHub repository renfei-design/Figma-AI-Bridge (19 stars, last pushed 8mo ago), licensed MIT. It adds 77 tokens to every session and 2,384 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
workflow-diagram compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| workflow-diagramrenfei-design/Figma-AI-Bridge | Skill | 19 | 8mo ago | MIT | A | 77 | Claude Code, Codex |
| figma-codegenawdr74100/figwright | Skill | 1.3k | yesterday | MIT | A | 145 | Claude Code, Codex |
| figma-buildawdr74100/figwright | Skill | 1.3k | yesterday | MIT | A | 180 | Claude Code, Codex |
| favicon-exportermadebypan/FigCC | Skill | 43 | 24d ago | MIT | A | 19 | Claude Code, Codex |
| icon-exportermadebypan/FigCC | Skill | 43 | 24d ago | MIT | A | 17 | Claude Code, Codex |
| padding-makermadebypan/FigCC | Skill | 43 | 24d ago | MIT | A | 17 | Claude Code, Codex |
| accessibilitymadebypan/FigCC | Skill | 43 | 24d ago | MIT | A | 21 | Claude Code, Codex |