explainx.ai350K+ learn from us
TrendingAI News TodayPathwaysSkills
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

follow on google

Add explainx.ai as a preferred source

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

community

Join the community

learn

mind: share how you thinkpathways — start freeworkshopsbootcampscoursescompare Explainxcertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcpestacktoolsmdx readeragentsllmsdesignsdictionarypeopleagi trackerfelony benchranks

company

aboutvisionmissionteaminstructorsteach on explainxpartnershipscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportcontactprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

explainx.ai

On this page

  • TL;DR
  • Why developers forwarded it
  • What the skill actually does
  • Install paths and host differences
  • Examples in the README
  • Gallery and privacy
  • Licensing and trademark hygiene
  • Limitations honest builders should expect
  • How this compares to doing it manually
  • Security note
  • What people ask after seeing the repo
  • Maintenance and team rollout
  • Deeper comparison to diagram-as-code
  • Try it in five minutes
  • Related reading
← Back to blog

explainx / blog

stack-diagram: Agent Skill That Draws Your Stack From One Sentence

Agent Skills, Claude Code, Developer Tools, Guides, Open Source

Part of Agent Skills

caru-ini/stack-diagram is a trending agent skill: describe your stack in plain English and get an HTML architecture diagram with official vendor logos.

Nov 9, 2026·8 min read·Yash Thakker
add explainx.ai
go deep
stack-diagram: Agent Skill That Draws Your Stack From One Sentence

The GitHub repository caru-ini/stack-diagram trended in early November 2026 because it turns a boring chore — drawing architecture diagrams with correct logos — into a repeatable agent skill. You write one sentence about your production stack. The agent fetches official icons, routes connectors so lines do not slice through text, and hands back a self-contained HTML file (or PNG / React) you can drop into a wiki, PR or deck.

If you already use agent skills for coding, this is the same packaging idea applied to documentation craft, not model weights.

TL;DR

table · 2 cols
QuestionAnswer
What do I run?npx skills add caru-ini/stack-diagram per the README
Hosts namedClaude Code, Codex, Cursor, other agentskills.io clients
Default outputSingle HTML file with inlined fonts and logos
ThemesLight and dark renders; tiles stay white for brand colors
Logo sourcessvgl, devicon, vendor packs (AWS, GCP, Azure)
Python needed?Yes, 3.9+ for the build scripts
PNG pathPlaywright plus Chromium
LicenseMIT for code; logos remain vendor trademarks
Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

Why developers forwarded it

Architecture diagrams fail in two predictable ways: wrong logos (recolored SVG hacks) and unreadable routing (arrows through labels). The README promises both are handled — official assets only, lines routed around text, and the agent re-renders to check before delivery.

That matches what teams actually argue about in design reviews, not what slide templates optimize for. It also rides the same wave as skills we covered for Claude animated shorts via Remotion and Blader humanizer patterns: small repos that become agent-native utilities faster than traditional npm CLIs because npx skills add lowers install friction.

The repo's skills.sh badge links to skills.sh/caru-ini/stack-diagram, the discovery surface many Cursor and Claude users search before GitHub Trending.

What the skill actually does

From the README workflow:

  1. Parse a natural-language stack description (example: Next.js and Hono on Vercel, Postgres on Neon, auth with Clerk).
  2. Resolve each named product to a logo pipeline: try svgl, then devicon, then gilbarbara/logos, then vendor repositories. AWS, Google Cloud and Azure icons come from each cloud's published packs.
  3. Layout groups and edges, enforcing no arrows through labels.
  4. Render HTML with inlined fonts and logos so the file works offline — important for artifacts and email attachments.
  5. Optionally export PNG or a dependency-free React component from the same source.

The output is explicitly not a generic whiteboard export. It is a branded architecture view suitable for RFCs and onboarding docs.

stack-diagram packages architecture-diagram generation as an installable agent skillstack-diagram packages architecture-diagram generation as an installable agent skill

Install paths and host differences

Terminal-first agents use:

bash
npx skills add caru-ini/stack-diagram

Claude apps without CLI skills can upload stack-diagram.zip from GitHub Releases as a skill bundle.

Cursor users should confirm their build supports the same skills loader; the README points to agentskills.io for the compatibility list. If your client only runs MCP tools, this repo is not an MCP server — it is a skill package with Python helpers underneath.

Our agent skills complete guide explains how skills differ from MCP and from raw prompts; stack-diagram is a worked example of skills as packaged procedures plus local scripts.

stack-diagram resolves product names to official logo pipelines through svgl, devicon and vendor packsstack-diagram resolves product names to official logo pipelines through svgl, devicon and vendor packs

Examples in the README

The project ships prompt templates beyond SaaS web apps:

  • Dev tooling monorepos — pnpm, Turborepo, Biome, Vitest, Lefthook, GitHub Actions.
  • AI apps — Next.js on Vercel, Supabase pgvector, Claude, Inngest syncing Notion.
  • Regional cloud layouts — AWS, GCP and Azure three-tier patterns with vendor-native icons.

Each example reinforces one design rule: name real products, not abstract boxes. The skill's matcher lives or dies on whether it recognizes your strings.

Gallery and privacy

After a diagram, the agent may offer once to publish light and dark PNGs to stacks.caru.moe. The README states:

  • It shows exactly what would be public (PNGs, English title, stack list, display name).
  • It requires two explicit yes answers.
  • Your prompt is never sent.
  • GitHub login is optional and only enables later deletion.

For teams under NDA, decline the gallery. The local HTML artifact still works.

Licensing and trademark hygiene

Code and docs are MIT. Fonts use SIL Open Font License 1.1. Logos are not bundled; they download at build time under each vendor's terms. The README repeats that diagram use is not endorsement and that Microsoft permits Azure icons in architecture diagrams per their published guidance.

That matters for commercial decks. A skill that auto-fetches logos is convenient; your legal review may still want a static export archived with attribution.

Limitations honest builders should expect

  • Network required for logo fetches during generation.
  • Python 3.9+ and, for PNG, Playwright/Chromium — CI containers need those dependencies.
  • Ambiguous names ("Oracle" database versus cloud) can map wrong; edit the sentence and regenerate.
  • Star counts move; verify the README on the commit you install, not a screenshot from social media.

The GitHub page showed zero stars in one automated fetch while Trending metadata cited thousands gained since November 1 — typical lag between indexer snapshots and the trending email. Use the repo's release tags and issue tracker for maturity, not stars alone.

How this compares to doing it manually

table · 3 cols
ApproachProsCons
stack-diagram skillFast, logo-accurate, agent-driven iterationPython and Playwright setup
Figma / Lucid templatesDesigner polishManual logo compliance
Mermaid in markdownVersion controlledWeak logo fidelity
Cloud vendor diagram toolsOfficial stencilsLock-in to one hyperscaler

For agent-heavy teams, the skill wins on iteration speed when the diagram is a living document during refactors. For customer-facing PDFs, you may still touch up spacing in a design tool.

Security note

The skill runs local Python and fetches third-party SVGs. Treat it like any agent tool chain: run in a trusted environment, pin the skill version in team docs, and review HTML output before hosting on a public domain (inline resources can be large but should not execute remote scripts if you use the stock templates).

For broader agent hardening patterns, see agent sandboxes compared and loop engineering with coding agents.

What people ask after seeing the repo

Do I need a paid API? No for the skill itself — you pay whatever model your agent host bills. Logo fetches hit public CDNs and vendor icon hosts.

Can I use this in client deliverables? The MIT license covers the tooling. Logo trademark rules still belong to each vendor; keep the README's attribution mindset.

Does it replace C4 models? No. C4 captures context containers and components; stack-diagram optimizes logo fidelity for one snapshot of what you run today. Many teams will use both: C4 for narrative, stack-diagram for the quick "what we deploy" slide.

Will it understand internal codenames? Unlikely. Replace internal service names with the public product you actually run in prod, or add a gloss line the matcher can grep.

How does this relate to explainx.ai skills? Our skills directory catalogs installable agent procedures for workshops and products. stack-diagram is an external skill you add the same way you would add a lint or deploy skill — it does not ship inside explainx.ai, but it is the kind of utility we expect in agent-heavy teams.

Maintenance and team rollout

Rollout works best as a doc template, not a one-off demo:

  1. Add the skill to your team skill manifest alongside testing and formatting skills.
  2. Store generated HTML under docs/architecture/ in git so PRs show diagram diffs when stacks change.
  3. Pin the release zip version for Claude app users; floating latest will drift when logo sources move.
  4. In CI, skip PNG generation unless you maintain a Playwright image; HTML-only keeps pipelines light.

When your stack changes — say you migrate auth from one vendor to another — regenerate in the same skill session so group boxes stay aligned. The README's light and dark pair helps Confluence and Notion pages that auto-theme.

Deeper comparison to diagram-as-code

Diagram-as-code tools (Mermaid, D2, PlantUML) excel at git diffs and reviewability. stack-diagram trades some purity for marketing-grade icons. A sensible split:

  • Use Mermaid inside engineering specs for flows and sequence diagrams.
  • Use stack-diagram for onboarding README heroes and executive summaries.
  • Export PNG only when the audience lives in PowerPoint or PDF.

If you already document agents with DESIGN.md patterns, paste the stack sentence from your DESIGN stack section to keep diagrams synchronized with declared dependencies.

Try it in five minutes

  1. Clone or npx skills add caru-ini/stack-diagram.
  2. Paste a sentence that names at least five concrete products you deploy today.
  3. Ask the agent for HTML first; open the file locally and toggle dark mode if your template supports it.
  4. Only then request PNG if you need slides.
  5. Decline gallery upload unless marketing owns the stack list.

Related reading

  • What are agent skills?
  • Claude animated shorts agent skill
  • Blader humanizer agent skill
  • Agent sandboxes for coding agents
  • Loop engineering with Claude Code
  • What is MCP?

Document the prompt sentence your team standardizes on — for example listing hosting, database, auth, payments and CI in fixed order — so diffs stay readable when only one vendor changes.

Repository layout and commands follow the caru-ini/stack-diagram README as read on November 9, 2026.

Spotted something out of date? Let us know.
Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

  • ✓ Free
  • ✓ One email a day, no spam
  • ✓ Unsubscribe anytime
Yash Thakker

Written by

Yash Thakker

Yash is an AI expert with over 300K learners. Join his workshops →

View Yash Thakker in People in AI →

Related posts

Oct 24, 2026

imozuru: A Claude Code Skill That Digs to Original Sources

imozuru, a new Claude Code skill from developer MaryCache, gained 1,173 GitHub stars in about eleven days. It maps an unfamiliar field, follows citations to original sources, saves them verbatim and builds a page of checked extracts instead of a summary. Here is how it works, how to install it, and what to watch for.

Oct 13, 2026

pstack-claude: Poteto-Style Agent Workflows for Claude Code, Codex and Copilot

pstack-claude, a GitHub repo gaining about 393 stars this week, translates a Cursor skill stack into plugins for Claude Code, Codex, GitHub Copilot, Pi, OpenCode and Gemini CLI. Here is what poteto-mode does, how to install it, and what to check before you trust it.

Oct 12, 2026

Replica Skill: Eleven Free Claude Skills That Clone Any App, From Recon to Deploy

Replica skill, a new MIT-licensed repo with 1.9k stars after about a week, packages eleven Claude skills into a clone pipeline: recon, architecture, design, build, backend, test, diff, entrepreneur, brand, launch and deploy. explainx.ai covers how to install it, what the six Python tools do, and the legal and quality limits that matter before you sell anything.