create-workflow-from-diagram

create-workflow-from-diagram is a skill for Claude Code from diagrid-labs/dapr-skills. It costs 124 tokens per session (1,948 once invoked), scanned A, original, MIT.

A process for turning a workflow diagram or BPMN 2.0 file into a runnable Dapr Workflow project. BPMN is a standard format for describing business processes.

In plain words
What is it for?
Use it with PNG, JPG, GIF, WebP, or BPMN input to extract the workflow, validate it, generate code in a chosen language, and create a README.
Why use it?
It helps convert a visual process into structured workflow data and then into code without manually recreating every step.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Part of the dapr-skills plugin — 18 skills shipped together

Good fit Use it with PNG, JPG, GIF, WebP, or BPMN input to extract the workflow, validate it, generate code in a chosen language, and create a README.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/diagrid-labs/dapr-skills/create-workflow-from-diagram
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add diagrid-labs/dapr-skills --skill create-workflow-from-diagram
Clone the repo
git clone --depth 1 https://github.com/diagrid-labs/dapr-skills

Made for: Claude Code.

Or install dapr-skills, the plugin that ships this one along with the rest of its 18 skills.

Wrote 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.

agentmods badge for create-workflow-from-diagram

README.md
[![agentmods](https://agentmods.dev/badge/skills/diagrid-labs/dapr-skills/create-workflow-from-diagram/github.svg)](https://agentmods.dev/skills/diagrid-labs/dapr-skills/create-workflow-from-diagram)
Your own site
<a href="https://agentmods.dev/skills/diagrid-labs/dapr-skills/create-workflow-from-diagram"><img src="https://agentmods.dev/badge/skills/diagrid-labs/dapr-skills/create-workflow-from-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.

agentmods 80×15 button for create-workflow-from-diagram

Your own site · 80×15
<a href="https://agentmods.dev/skills/diagrid-labs/dapr-skills/create-workflow-from-diagram"><img src="https://agentmods.dev/badge/skills/diagrid-labs/dapr-skills/create-workflow-from-diagram.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 124 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,948 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 9
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00124 $0.01948
Opus 5 $0.00062 $0.00974
Sonnet 5 $0.00025 $0.00390
Haiku 4.5 $0.00012 $0.00195

Measured 12d ago against content hash 492e591f97f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

create-workflow-from-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 12d 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.

skills/create-workflow-from-diagram/SKILL.md · 141 lines

How it starts

The opening of the file, as written. The whole thing — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Create Dapr Workflow from Diagram

Overview

This skill converts a workflow diagram into a runnable Dapr workflow project. Two input paths are supported:

  • Image (PNG / JPG / JPEG / GIF / WebP) — uses Claude's vision to extract workflow structure
  • BPMN 2.0 XML (.bpmn, .bpmn20.xml) — parses the XML deterministically

Both paths produce the same intermediate representation (IR, JSON Lines), which is then rendered into code for the target language.

Execution Order

You MUST follow these phases in strict order:

  1. Check specification — Confirm you have the input diagram + target language. Ask clarifying questions only if missing.
  2. Phase 0: Detect input type — Decide between the image path and the BPMN path.
  3. Phase 1: Diagram → IR — Emit JSON Lines IR per prompts/ir-schema.md.
  4. Phase 2: Validate IR — Light checks per prompts/ir-schema.md acceptance rules.
  5. Phase 3: IR → code — Render the project for the target language using prompts/languages/<lang>.md.
  6. Create README.md — Summarise the generated project + how to run it.
  7. Show final message — Your LAST output MUST be EXACTLY the message defined in ## Show final message. No extra text.

Check specification

You need three things. Ask at most three clarifying questions, interview-style, only for items not already provided:

  1. Input diagram — a path to a PNG/JPG/JPEG/GIF/WebP image or a .bpmn / .bpmn20.xml file. If the user pasted the image directly into the chat, use that.
  2. Target language — one of: go, python, csharp, javascript, java. Default: python.
  3. Project name — used as the folder name. No spaces. Defaults to a camelCased name derived from the workflow's <bpmn:process @id> or image filename.

Prerequisites

The following must be installed by the user before running the generated project:

Read the full file on GitHub · 141 lines

Changes

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.

  1. 12d ago First seen · 141 lines · 124 tokens per session scan A 492e591f97f3

Subscribe to this mod's changes

create-workflow-from-diagram is a skill published in the GitHub repository diagrid-labs/dapr-skills (12 stars, last pushed 2d ago), licensed MIT. It adds 124 tokens to every session and 1,948 once invoked, about $0.0006 per session on Opus 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-30.

Related

Other skills, from other repositories

fullstack-guide

A development guide for building full-stack applications with React and TypeScript on the frontend and Node.js and Supabase on the backend. It covers component structure, data loading, routing, styling, performance, and TypeScript practices.

VidyFoo/antigravity-skill-engine · 74 tokens

api-documentation-discovery

Use when APIs fail repeatedly with version-related errors (method not found, wrong arguments, unknown flag) or when about to use library APIs with uncertain knowledge - guides finding current, accurate documentation instead of guessing from training data.

technicalpickles/pickled-claude-plugins · 49 tokens

mcp-building

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools.

VidyFoo/antigravity-skill-engine · 31 tokens

add-matrix

Add Matrix channel integration via Chat SDK. Works with any Matrix homeserver.

nanocoai/nanoclaw · 19 tokens

django-storages-s3

Use when configuring Django to store static and media files on AWS S3 with django-storages. Invoke when working with the STORAGES setting, S3 buckets, presigned URLs, CloudFront, or boto3-backed file storage in settings.py. Configures the Django 4.2+ STORAGES dict, public/private custom backends, presigned GET/POST…

Jeffallan/claude-skills · 138 tokens

laravel-specialist

Build and configure Laravel 10+ applications, including creating Eloquent models and relationships, implementing Sanctum authentication, configuring Horizon queues, designing RESTful APIs with API resources, and building reactive interfaces with Livewire. Use when creating Laravel models, setting up queue workers…

Jeffallan/claude-skills · 86 tokens