ML9373

Markmap Forge — Development skill for Claude Code

Development community

Deterministic renderer + validator skill: typed JSON in, standalone interactive Markmap HTML5 mind map out.

How to install Markmap Forge

This entry records only its repository, not the path inside it, so there is no exact command to give. Open ML9373/markmap-forge and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Markmap Forge does

Deterministic renderer + validator skill: typed JSON in, standalone interactive Markmap HTML5 mind map out.

Alternatives in Development

  • Portaljs Add Map — Render a GeoJSON dataset on an interactive Leaflet map in the Views section of a dataset's showcase 2.3k ★
  • Hive — Browser-native hive-mind for CLI coding agents — Claude Code, Codex, Gemini, and OpenCode collaborate as real 473 ★
  • Convex Schema Validator 354 ★

README

markmap-forge

Turn an outline into one standalone, interactive mind map. A small typed JSON file goes in, a single HTML file built on [markmap](https://markmap.js.org) comes out, and a validator checks the input first.

The output is deterministic: the template is a static asset and a Node.js CLI fills it in, validates and escapes the content, so the same JSON always gives the same bytes. That makes it safe to drive from an AI agent: the model writes the outline, never the HTML. [`SKILL.md`](./SKILL.md) is the ready-made instruction file for that use, a Claude Code skill that tells an agent how to turn a document into the JSON and call the CLI.

![A rendered Markmap Forge strategic map, with its level, search, palette and export controls](https://raw.githubusercontent.com/ML9373/markmap-forge/main/docs/preview.png)

*The document above is `examples/example.html`, produced by the CLI from `examples/example.mindmap.json`. Regenerate the screenshot with `npm run capture:preview` so it never drifts from the template.*

Every output is a single self-contained HTML file: no build step, no script fetched at view time (it opens offline and behind corporate web filters), with search, level folding, pitch mode, dark mode, palette/font/size controls, an in-page markdown editor that regenerates the tree, and SVG/PNG export built in.

Install

Needs Node.js 18 or later. Run it without installing anything:

npx markmap-forge render input.json output.html

or install it globally with `npm install -g markmap-forge`. To work on the code, clone this repository and run `npm install`.

CLI

markmap-forge validate  [--json]
markmap-forge render  [output.html] [--json]
markmap-forge deliver  [output.html] [--json]

From a clone, run `node bin/markmap-forge.mjs` in place of `markmap-forge`.

`deliver` validates, renders, and prints a SHA-256 receipt for both the JSON source and the HTML artifact.

Input shape

See [`s