Draw any process as a diagram with Claude Code

A diagram of your process in your brand colours, in a file that opens in any browser.

Plain words

“Draw my client onboarding as a swimlane with three lanes: Sales, Account manager and Designer.”

Sample names, made up
Diagram Design skill
Picks the type, tells you its planFlowchartSwimlaneOrg chart
onboarding.html
SalesAccount managerDesigner
Check every step against your process
  1. You describe a process in plain words, for example: Draw my client onboarding as a swimlane with three lanes: Sales, Account manager and Designer. The sample names are made up.
  2. The free Diagram Design skill for Claude Code picks the diagram type, here a swimlane rather than a flowchart or an org chart, and tells you its plan.
  3. It writes one file, such as onboarding.html, that opens in any browser: three lanes, each step a box, moving from Sales to the account manager to the designer.
  4. Check every step against your real process.
10 to 15 minLight terminal

You need

  • Claude Code
  • A website address for your brand colours (optional)
  • Python, only if you want a PNG picture

Process steps live in long documents nobody reads. People skip a four-page SOP, but they will look at a picture. Drawing one by hand takes an hour and never looks consistent.

Diagram Design is a free skill (MIT licence) for Claude Code. You describe a process in plain words. It picks the diagram type, tells you its plan, and writes one file that opens in any browser. The project lists 45 types, including flowcharts, org charts, timelines and swimlanes. A swimlane gives each person or team their own lane, so you can see who does what and when.

You do not drag a single box.

01 / 08

Step 1: install it (2 lines)

Open Claude Code and type these two lines, one at a time:

Install lines
install.txt
/plugin marketplace add cathrynlavery/diagram-design
/plugin install diagram-design@diagram-design

Official builds come only from the project page. A listing under any other name is an unofficial copy.

Optional: type /plugin, open Marketplaces, pick diagram-design and choose Enable auto-update, so you get fixes without doing anything. Claude Code turns this off by default for third-party sources.

02 / 08

Step 2: teach it your brand (once)

Type this, with your own address:

Teach it your colours and fonts
Onboard diagram-design to https://yourwebsite.com
49 characters

Per the project page, it reads your homepage, finds your main colours and fonts, and shows you a proposed change. It checks that your text colour stays readable against your background and suggests an adjusted colour if not. Nothing is applied until you say yes.

What to check before you say yes:

  1. Is the background colour your page colour, not a random shade?

  2. Is the highlight colour the one you want drawn attention to? It is used sparingly.

  3. Are the fonts the ones on your site? If a font is missing, it will name the substitute.

Then reply yes, apply it. Every diagram after this uses your colours and fonts. Without this step you get the default black and orange look.

By default, diagrams load their fonts from Google Fonts. That is the only network request the skill makes. If you want a file with no outside requests, add "use system fonts" to your prompt.

03 / 08

Step 3: three prompts to paste

Change the names and steps to fit your business. The sample names here are made up.

Client onboarding swimlane
Draw my client onboarding as a swimlane with three lanes: Sales, Account manager and Designer. Sales sends the contract and takes the deposit. The account manager runs the kickoff call and collects the brand files. The designer builds the first draft, then the account manager sends it to the client for feedback. Keep it to 8 steps or fewer and show who hands off to whom.
373 characters
Approval flowchart
Draw an approval flowchart for a new expense request. Start with "Employee submits request". If the amount is under the team limit, the team lead approves it. If it is over the limit, it goes to the finance manager. Either approver can reject it, which sends it back to the employee with a reason. Approved requests go to payment. Show the decisions as diamonds.
362 characters
Org chart
Draw an org chart for a 12-person company. One owner at the top. Under the owner: an operations manager, a sales lead and a creative lead. Operations has two coordinators. Sales has three reps. Creative has one senior designer and two designers. Use job titles, not names.
272 characters

After each one, Claude saves an HTML file and tells you where. Double-click it to open it in your browser.

04 / 08

Step 4: check every step

Read every box against your real process. The tool draws what you described. It does not know your business, so a missing step or a wrong arrow is yours to catch. The layout also changes a little every run and you cannot drag boxes afterwards, so check every step. Fix a mistake by asking:

Add a missing step
Add a step between kickoff and first draft called "Brand review".
65 characters

05 / 08

Step 5: export a picture

Ask in plain words: "Export this diagram as SVG and PNG." Or use the command:

Export command
export.txt
/diagram-design:export-diagram path/to/diagram.html

SVG works straight away and opens in browsers and design tools. Add --svg-only to skip the picture file.

PNG (the format for slides and social posts) needs a one-time setup, because it uses a browser tool called Playwright. Claude will not install it for you. It shows you the lines and stops. You need Python installed, then run these two lines in a terminal:

One-time PNG setup
png-setup.txt
pip install playwright
playwright install chromium

If you only need the picture for a web page, skip PNG and use SVG.

06 / 08

Test it safely

  1. Draw a process you know well, with a few steps, so a mistake is easy to spot.

  2. Compare each box and arrow with how the process really runs.

  3. Run the same prompt twice. Expect a slightly different layout. The steps should stay the same.

  4. Open the saved file in a different browser to confirm it opens anywhere.

Common mistakes

  1. Trusting the first draw. A missing step or a wrong arrow is easy to miss. Read every one.

  2. Applying the brand change without looking. Check the background, highlight colour and fonts first.

  3. Expecting to drag boxes. There is no canvas. Ask Claude to change it, or edit the SVG.

  4. Installing from another listing. Use only the project page above.

  5. Asking for PNG before the Playwright setup. Use SVG, or run the two setup lines first.

07 / 08

Honest limits

These come from the project's own page, as last checked on 2026-11-08.

  • The same prompt can lay out differently twice. Quality also depends on which Claude model you use.
  • The file is not an editable diagram. There is no canvas where you drag a box.
  • It suits a diagram you will publish or send. For a diagram that changes every week and lives in a code project, the project says a text-based tool such as Mermaid fits better.
  • Always check every step and arrow before it goes to anyone.

The project changes often. If a line above stops working, read the project page and follow what it says now.

Do I need to know how to code?

No. You type two install lines and then describe your process in plain words. Only the optional PNG export needs a terminal and Python.

Is it free?

Yes. The skill is free under the MIT licence. It runs on your own Claude plan.

Can I edit the diagram afterwards?

Not by dragging boxes. Ask Claude to change it, or edit the SVG file.

The colours look wrong.

Run the onboarding step again with your website address, and check the proposed colours before you say yes.

Finish line

What to do next

  1. Install it and teach it your brand.

  2. Draw one process you have only ever explained in a document.

  3. Check every step, then send the picture instead of the document.

Back to all the free guides. Two that pair well with this one: turn an SOP into a Claude checklist and pull a brand guide from a website.

You reached the end of the guide