pm-diagrams

pm-diagrams is a skill for Claude Code from ljucask/pureinn-product-development. It costs 129 tokens per session (2,826 once invoked), scanned A, original, MIT.

A diagram-generation tool covering business, process, user-experience, architecture, planning, and strategy diagrams. It can render technical diagrams in Mermaid.js or visual overviews in Excalidraw.

In plain words
What is it for?
Use it to create flowcharts, data models, process diagrams, user journeys, architecture diagrams, delivery plans, and other supported visual specifications.
Why use it?
It helps turn system ideas and requirements into diagrams with the appropriate structure for their purpose. The diagram type determines how the information is composed.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions subagents; names the AskUserQuestion tool.

Part of the pureinn-product-development plugin — 51 skills, 1 command shipped together

Good fit Use it to create flowcharts, data models, process diagrams, user journeys, architecture diagrams, delivery plans, and other supported visual specifications.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ljucask/pureinn-product-development/pm-diagrams
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 ljucask/pureinn-product-development --skill pm-diagrams
Clone the repo
git clone --depth 1 https://github.com/ljucask/pureinn-product-development

Made for: Claude Code.

Or install pureinn-product-development, the plugin that ships this one along with the rest of its 51 skills, 1 command.

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 pm-diagrams

README.md
[![agentmods](https://agentmods.dev/badge/skills/ljucask/pureinn-product-development/pm-diagrams/github.svg)](https://agentmods.dev/skills/ljucask/pureinn-product-development/pm-diagrams)
Your own site
<a href="https://agentmods.dev/skills/ljucask/pureinn-product-development/pm-diagrams"><img src="https://agentmods.dev/badge/skills/ljucask/pureinn-product-development/pm-diagrams/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 pm-diagrams

Your own site · 80×15
<a href="https://agentmods.dev/skills/ljucask/pureinn-product-development/pm-diagrams"><img src="https://agentmods.dev/badge/skills/ljucask/pureinn-product-development/pm-diagrams.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 129 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,826 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.
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.00129 $0.02826
Opus 5 $0.00064 $0.01413
Sonnet 5 $0.00026 $0.00565
Haiku 4.5 $0.00013 $0.00283

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

Security

Grade A, and why

pm-diagrams 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 11d 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/pm-diagrams/SKILL.md · 191 lines

How it starts

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

PM - Diagrams

Agent mode (--agent)

Supports --agent: runs autonomously in a subagent, drafts the diagram from existing inputs, and returns a short summary + coverage note.

  • No flag → interactive (default); if inputs are heavy, offer agent mode.
  • --agent → obey. First check inputs are complete. Anything missing: do NOT invent it - mark [ASSUMED - what/why] in the output and summary. Never hallucinate to fill a gap.

What this skill does

Generates visual diagrams. It is a rendering engine + composition knowledge utility: it owns how each diagram type is correctly composed, not the analysis behind it. The correct composition rules for every type live in references/[slug].md - the skill reads the relevant reference before drawing, so it never renders from memory.

Two rendering modes:

  • Mermaid.js (primary, Claude Code workflow) - rendered inline in markdown, embedded in live registers and Feature Cards. Claude reads Mermaid natively. Use for anything that must be read as a specification.
  • Excalidraw (secondary, human communication) - hand-drawn visual overviews for stakeholders. Use for high-level maps where the value is visual, not machine-readable.

The 18-type catalogue (slug → type)

Slug Type Primary tool Phase Ownership
Domain / data
state Entity State Machine Mermaid 4 pm-diagrams
domain Domain Model Overview Excalidraw 4 pm-diagrams
erd ERD (crow's-foot) Mermaid 4 pm-diagrams
Process / behavior
sequence Sequence Diagram Mermaid 6 JIT pm-diagrams
flow User Flow / Flowchart Mermaid/Excalidraw 2, 6 pm-diagrams
bpmn Business Process (BPMN 2.0) Excalidraw 2, FI pm-diagrams
journey Customer Journey Map Excalidraw 2 pm-diagrams
UX / design
wireflow Wireflow / Screen Flow Excalidraw 6 pm-diagrams
Architecture
architecture System Architecture Excalidraw 4, 6 pm-diagrams
c4 C4 (Context + Container) Mermaid 4 pm-diagrams
Planning / delivery
dependency Dependency Graph Mermaid 5 render for pm-features-list
kanban Kanban Board (lifecycle) Mermaid 6, 7 render for pm-stripe
storymap User Story Map Excalidraw 5 pm-diagrams
gantt Gantt / Timeline Roadmap Mermaid 3b, 5, 6 render for pm-product-roadmap (dated) / pm-stripe (relative)
Strategic
jtbd JTBD Four Forces Excalidraw 2 pm-diagrams
matrix 2×2 Matrix (generic) Excalidraw various pm-diagrams
kano Kano Model Excalidraw 5 render for pm-features-list
swot SWOT Excalidraw 2 render for pm-market-analysis

Read the full file on GitHub · 191 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. 11d ago First seen · 191 lines · 129 tokens per session scan A d20c162ad761

Subscribe to this mod's changes

pm-diagrams is a skill published in the GitHub repository ljucask/pureinn-product-development (2 stars, last pushed yesterday), licensed MIT. It adds 129 tokens to every session and 2,826 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-31.

Related

Other skills, from other repositories

ai-native-design

A workflow for turning a product brief and API contract into frontend design prompts and implementation guidance. It supports three outside design channels and keeps generated frontend work aligned with the same brief and contract.

dhslegen/digital-delivery-team · 105 tokens

presentation-design

Designs slide decks and one-pagers that carry an argument rather than decorate one — deck structure, headlines that state the takeaway, charts that make a single point, and the different rules board decks and conference talks follow. Use this to build or fix a pitch deck, board deck, or conference talk, to design a…

cbrock84/headcount · 109 tokens

design-styles

Applies a deliberate visual direction to an interface — minimalist editorial, industrial utilitarian, or high-polish commercial — each with its own type scale, palette behavior, surface treatment, and motion. Use this when a product needs a point of view rather than defaults, when choosing between visual directions…

cbrock84/headcount · 81 tokens

interface-craft

Raises the visual and interaction quality of an interface — layout, hierarchy, type, spacing, density, and the details that separate a considered product from a generic one. Use this when a screen works but looks unfinished or default, when a layout feels crowded or arbitrary, when a page has no clear focal point, or…

cbrock84/headcount · 79 tokens

visual-content

Designs and directs the visual assets that carry content — carousels, infographics, quote graphics, diagrams, and social imagery — including the generation prompts where they are AI-produced. Use this to turn a written piece into a visual format, design a carousel or infographic, create social graphics, or fix visuals…

cbrock84/headcount · 72 tokens

brand-identity

Defines and applies visual brand — logo usage, palette, typography, imagery direction, and the guidelines that keep expression consistent across product and marketing surfaces. Use this to establish a brand from scratch, audit whether an existing brand is being applied consistently, build brand guidelines, or decide…

cbrock84/headcount · 69 tokens