mermaid-summarizer

mermaid-summarizer is a skill for Claude Code, Codex from Jacobinwwey/notemdpro. It costs 25 tokens per session (1,364 once invoked), scanned A, original, MIT.

A document summarizer that turns Markdown into a Mermaid mindmap, a text format for diagrams. It creates a hierarchy of topics, summaries, and key sentences, and can optionally translate the result.

In plain words
What is it for?
Use it to create visual summaries, outlines, study guides, and relationship maps from Markdown files, saving the generated Mermaid diagram to a file.
Why use it?
It makes a long document easier to study or understand by showing its structure and main ideas as a visual map.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create visual summaries, outlines, study guides, and relationship maps from Markdown files, saving the generated Mermaid diagram to a file.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jacobinwwey/notemdpro/mermaid-summarizer
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 Jacobinwwey/notemdpro --skill mermaid-summarizer
Clone the repo
git clone --depth 1 https://github.com/Jacobinwwey/notemdpro

Made for: Claude Code, Codex.

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 mermaid-summarizer

README.md
[![agentmods](https://agentmods.dev/badge/skills/jacobinwwey/notemdpro/mermaid-summarizer/github.svg)](https://agentmods.dev/skills/jacobinwwey/notemdpro/mermaid-summarizer)
Your own site
<a href="https://agentmods.dev/skills/jacobinwwey/notemdpro/mermaid-summarizer"><img src="https://agentmods.dev/badge/skills/jacobinwwey/notemdpro/mermaid-summarizer/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 mermaid-summarizer

Your own site · 80×15
<a href="https://agentmods.dev/skills/jacobinwwey/notemdpro/mermaid-summarizer"><img src="https://agentmods.dev/badge/skills/jacobinwwey/notemdpro/mermaid-summarizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,364 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.00025 $0.01364
Opus 5 $0.00013 $0.00682
Sonnet 5 $0.00005 $0.00273
Haiku 4.5 $0.00003 $0.00136

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

Security

Grade A, and why

mermaid-summarizer 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 10d 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/mermaid-summarizer/SKILL.md · 187 lines

How it starts

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

NoteMD Pro - Summarize as Mermaid Diagram

Overview

This feature converts markdown document content into a Mermaid mindmap diagram. It uses LLM to analyze the document structure and generate a hierarchical mindmap with summaries and key sentences.

When to Use

  • Visual summaries: Create visual mindmaps of documents
  • Outline generation: Generate hierarchical structure
  • Study aids: Create visual study guides
  • Knowledge mapping: Map relationships between ideas

Function Call Chain

summarizeToMermaidCommand (main.ts)
├── read_file(inputPath)
├── getProviderAndModelForTask('summarizeToMermaid')
├── getPromptForTask('summarizeToMermaid')
├── call[Provider]API(prompt, content)
├── saveMermaidSummaryFile(settings, inputPath, mermaidContent)
│   ├── mkdir_p(outputFolderPath)
│   └── write_file(outputPath, content)
└── [Optional] Translate output

Key Functions

summarizeToMermaidCommand (main.ts)

Main command handler for summarization.

saveMermaidSummaryFile (fileUtils.ts)

Saves the generated mermaid content to a file.

export async function saveMermaidSummaryFile(
  settings: NotemdSettings,
  inputPath: string,
  mermaidContent: string,
  progressReporter: ProgressReporter,
): Promise<string>;

Settings

Provider Settings

Setting Description
summarizeToMermaidProvider LLM provider for summarization
summarizeToMermaidModel Model for summarization
summarizeToMermaidLanguage Language for output

Contextual Context (Macro Settings)

Setting Description
enableFocusedLearning Inject macro user domain preferences globally
focusedLearningDomain The specific domain context (e.g., "Software Architecture")

Read the full file on GitHub · 187 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. 10d ago First seen · 187 lines · 25 tokens per session scan A b9544e19aded

Subscribe to this mod's changes

mermaid-summarizer is a skill published in the GitHub repository Jacobinwwey/notemdpro (2 stars, last pushed 4mo ago), licensed MIT. It adds 25 tokens to every session and 1,364 once invoked, about $0.0001 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

manim-composer

Trigger when: (1) User wants to create an educational/explainer video, (2) User has a vague concept they want visualized, (3) User mentions "3b1b style" or "explain like 3Blue1Brown", (4) User wants to plan a Manim video or animation sequence, (5) User asks to "compose" or "plan" a math/science visualization.…

calesthio/OpenMontage · 174 tokens

learning-mode

Hands-on mentoring: the agent scaffolds work, then pauses so the engineer writes small, meaningful code (roughly 5–15 lines) for practice. Use when the user enables learning mode, asks for guided mentoring, hands-on practice, collaborative coding, or teaching while building a feature.

opendatahub-io/ai-helpers · 62 tokens

learnship

You are working inside a project that uses learnship — a multi-platform agentic engineering system for building real products with spec-driven workflows, integrated learning, and impeccable design.

FavioVazquez/learnship · 0 tokens

nft-standards

Implement NFT standards (ERC-721, ERC-1155) with proper metadata handling, minting strategies, and marketplace integration. Use when creating NFT contracts, building NFT marketplaces, or implementing digital asset systems.

wshobson/agents · 48 tokens

postgresql-table-design

Use this skill when designing or reviewing a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features.

wshobson/agents · 37 tokens

parallel-feature-development

Coordinate parallel feature development with file ownership strategies, conflict avoidance rules, and integration patterns for multi-agent implementation. Use this skill when decomposing a large feature into independent work streams, when two or more agents need to implement different layers of the same system…

wshobson/agents · 105 tokens