Skip to main content
Back

fireworks-tech-graph Turns a 30-Minute Diagram Into a 30-Second Claude Prompt

fireworks-tech-graph is a Claude Code skill that turns plain-language descriptions into publication-ready SVG+PNG architecture diagrams in seconds, with 7 styles and deep AI/agent domain knowledge built in.

Pro

Repo, Full Access
  • πŸ–ΌοΈ fireworks-tech-graph is a Claude Code skill that converts plain-language prompts into production-ready SVG+PNG architecture diagrams in under 30 seconds.
  • 🎨 Ships with 7 visual styles (Dark Terminal, Blueprint, Glassmorphism, Claude Official, OpenAI Official, and more) and 14 UML diagram types.
  • πŸ€– Deep built-in knowledge of AI/agent patterns: RAG, Agentic RAG, Mem0, Multi-Agent, Tool Call flows, and more.
  • βš™οΈ Generation runs as a deterministic 7-step pipeline (classify β†’ extract β†’ style β†’ layout β†’ generate β†’ validate β†’ export), not a raw model improvisation.
  • πŸ“¦ Free and MIT-licensed; install with npx skills add yizhiyanhua-ai/fireworks-tech-graph plus one PNG renderer (cairosvg recommended).
  • ⚠️ Works best with specific prompts; vague input produces vague output, and highly custom layouts still need manual SVG editing.

Technical diagrams are a constant tax on engineering time. You know what the system looks like in your head, but turning that into something presentable means opening draw.io, dragging boxes, aligning arrows, and fighting with color palettes for 30 minutes. fireworks-tech-graph is a Claude Code skill that collapses that process into a single sentence.

The author frames it as a skill that treats diagrams as build artifacts, meaning output assets of an automated pipeline rather than objects to draw by hand. You write a descriptive sentence about the system you want to represent, and Claude Code runs the skill. The internal pipeline recognizes the diagram type, picks the correct semantic shapes, applies the requested style, and produces two publication-ready files: the vector SVG for later editing in Figma or Illustrator, and the raster PNG at 1920px width for documents, slides, and blog articles.

More than a box-and-arrow generator

The key thing that separates this from generic diagramming tools is domain awareness. Generic diagram tools can draw boxes and arrows. This repo goes further by encoding patterns for RAG, agentic search, memory layers, multi-agent coordination, and tool calls. That is the difference between a drawable shape library and a domain-aware visualization system. The value is semantic.

A double border can mean one thing, a hexagon another, and arrow color can carry flow type. When those conventions are consistent, the diagram stops being decorative and starts carrying engineering meaning. The built-in shape vocabulary covers the full AI stack:

  • LLM / Model: rounded rect with double border and a lightning bolt icon
  • Agent / Orchestrator: hexagon
  • Vector Store: cylinder with inner rings
  • Graph DB: three-circle cluster
  • Tool / Function: rect with a gear icon
  • Queue / Stream: horizontal pipe/tube
  • Decision node: diamond

The skill turns natural language descriptions into polished SVG diagrams, then exports them as high-resolution PNG via cairosvg (recommended), with rsvg-convert and puppeteer available as alternatives. It ships with 7 template styles and 1 AI-authored style (Dark Luxury) and deep knowledge of AI/Agent domain patterns, plus full support for all 14 UML diagram types.

Multi-agent collaboration diagram in glassmorphism style showing coordinator and specialist agents with shared memory

A pipeline, not a prompt

The reliability story is what makes this interesting from an engineering perspective. This is a Claude Code Skill, not a loose bundle of scripts. The orchestration lives in SKILL.md, which instructs the agent to follow a fixed order: classify the diagram, extract nodes and edges, load style references, and validate the output before calling it done.

The generation workflow runs in seven deterministic steps:

  1. Classify diagram type
  2. Extract nodes and edges from the prompt
  3. Load style reference files
  4. Plan layout (swim lanes, groupings, anchors)
  5. Generate SVG with embedded styling
  6. Validate SVG syntax
  7. Export 1920px PNG

A generated SVG is not trusted because it exists. It is trusted because it survives a series of checks that look a lot like tests. That matters for teams. If the output will be dropped into documentation, the failure mode should be explicit and inspectable. The repository is designed to fail loudly before a bad diagram becomes part of the record.

The skill works with Claude Opus, Sonnet, and Haiku, because the generation logic is delegated mostly to the Python and Shell scripts of the templates, while the model only translates the natural prompt into the input JSON. On Sonnet or Haiku, quality stays high because the visual responsibility lies with the deterministic Python code, not with the model.

Seven styles, one command

Style is a first-class concept here, not an afterthought. Each of the 7 styles has a dedicated reference file with exact color tokens, SVG patterns, and templates that the generator reads at runtime. The styles cover the full range of contexts where technical diagrams end up:

  • Flat Icon (default): white background, colored accents, good for blogs and slides
  • Dark Terminal: dark background, neon accents, monospace font, ideal for GitHub READMEs
  • Blueprint: deep blue background, grid lines, cyan strokes, engineering aesthetic
  • Notion Clean: minimal white, single accent color, wiki-friendly
  • Glassmorphism: dark gradient, frosted glass cards, good for presentations
  • Claude Official: warm cream background (#f8f6f3), Anthropic brand colors
  • OpenAI Official: pure white, OpenAI palette, clean modern look
Microservices architecture diagram in blueprint style showing tiered system with API gateway, services, and data infrastructure

What it covers, and where it stops

The skill ships with deep knowledge of AI/Agent domain patterns (RAG, Agentic Search, Mem0, Multi-Agent, Tool Call flows), plus full support for all 14 UML diagram types. The AI/agent patterns are particularly well-developed, with built-in knowledge of flows like:

  • RAG Pipeline: Query β†’ Embed β†’ VectorSearch β†’ Retrieve β†’ LLM β†’ Response
  • Agentic RAG: adds Agent loop and Tool use on top of standard RAG
  • Multi-Agent: Orchestrator β†’ SubAgentΓ—N β†’ Aggregator β†’ Output
  • Tool Call Flow: LLM β†’ Tool Selector β†’ Execution β†’ Parser β†’ LLM (loop)
  • Mem0 Memory Layer: Input β†’ Memory Manager β†’ VectorDB + GraphDB β†’ Context

The product icon library covers 40+ tools with brand colors, including OpenAI, Anthropic, Pinecone, Weaviate, LangChain, LlamaIndex, Kafka, PostgreSQL, and major cloud providers.

The skill excels at AI domain diagrams and the UML templates it covers, but it is not yet the right tool for highly customized diagrams with proprietary shapes, off-grid layouts, or complex graphical annotations. In those cases, it is still faster to edit the exported SVG in Figma or Illustrator. The third limit is the initial learning curve for prompting: the skill works well when the prompt is specific (diagram type, style, main nodes, output path), and works poorly when the prompt is vague.

Getting started

Installation is a single command inside Claude Code:

npx skills add yizhiyanhua-ai/fireworks-tech-graph

You then need one PNG renderer. cairosvg is the recommended option:

pip install cairosvg
# or on macOS
brew install librsvg
# or on Ubuntu/Debian
sudo apt install librsvg2-bin

Once installed, the skill auto-triggers on phrases like generate diagram, draw diagram, architecture diagram, or flowchart. A typical prompt looks like:

Draw a RAG pipeline flowchart, style 2 (dark terminal), output to ~/Desktop/

Estimated time for a polished diagram the manual way is between 15 and 30 minutes. With fireworks-tech-graph the process collapses into a single prompt. Claude Code runs the skill, generates the SVG file, validates the XML markup, exports the PNG at 1920px width, and returns both files ready to drop into the article. The average observed time is under 30 seconds for a single image.

The repo is MIT-licensed and free to use. The only cost is the Claude Code tokens consumed during generation, which the author notes are modest (a few thousand tokens per diagram). The SVG is fully editable, generated as a standard XML vector file, readable and editable in any editor including Figma, Illustrator, Inkscape, or even a plain text editor. This is an important difference compared to tools that produce only PNG: the vector version is always available for later refinements.

Most diagram tools start with the canvas. fireworks-tech-graph starts with the workflow. The repo turns a messy, subjective task into a sequence of controlled steps, which is why it feels closer to a build system than a drawing app. For teams shipping AI systems, where architecture diagrams are often the only artifact that explains memory, retrieval, and multi-agent coordination without making the reader reverse-engineer a codebase, that shift in framing matters.