Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By kylesnowschwartzv7.8.0MIT
Claude Code mods: draws mermaid diagrams in replies as Unicode text in the terminal
sc-mods@simpleclaude, from the plugins/sc-mods/ folder. Claude Code treats the two as separate plugins. View the author's build →Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
merman-cli pathMERMAN_PATH
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. It can read and write your files, run programs, reach the network, read your secrets, change prompts and tool calls, and approve tool calls without asking you. Mod code isn't analyzed here; clone the repository and run claude plugin validate on it to list what it calls.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Absolute path to a merman-cli to run instead of the one bundled with the plugin. Leave it unset to use the bundled one.
string
Claude Code mods from SimpleClaude. A mod is a plugin that changes Claude Code's own interface; see the mods documentation.
sc-mods holds one mod today: it draws the mermaid diagrams in Claude's replies as Unicode text, so you can read a diagram in the terminal without copying it into a renderer.
When a reply contains a closed ```mermaid code block, the mod runs merman on the diagram and shows the drawing in place of the source. Nothing else in the reply changes, and the conversation the model sees still holds the mermaid source.
Before:
```mermaid
flowchart LR
Plan --> Build --> Review --> Ship
```
After:
┌──────┐ ┌───────┐ ┌────────┐ ┌──────┐
│ │ │ │ │ │ │ │
│ Plan ├──►│ Build ├──►│ Review ├──►│ Ship │
│ │ │ │ │ │ │ │
└──────┘ └───────┘ └────────┘ └──────┘
The drawing has to fit the terminal's width. For a flowchart that is too wide, the mod tries a compact layout, then wraps long node labels, then turns a left-to-right chart top-to-bottom. A sequence diagram gets a second, automatic layout. If no layout fits, or merman cannot read the diagram, the source stays as it was.
claude plugin install sc-mods --marketplace kylesnowschwartz/SimpleClaude
This installs from the sc-mods-dist branch, which carries merman-cli for macOS and Linux on arm64 and x86_64. Nothing is downloaded when the mod runs.
A mod runs with your permissions. It runs inside Claude Code and can start programs as you. This one starts only merman-cli, it makes no network calls, and it writes no files. Read hooks/register.ts before you install it.
| Setting | What it does |
|---|---|
MERMAN_PATH | Absolute path to a merman-cli to run instead of the bundled one. Leave it unset to use the bundled one. Set it at install with --config MERMAN_PATH=/path/to/merman-cli, or later with /plugin configure. |
If merman-cli cannot run, every diagram stays as source and Claude Code shows one notice saying how to fix it.
The binaries are not in the main branch. Fetch them into bin/ first:
just fetch-merman
This runs scripts/fetch-merman.sh, which downloads the pinned merman release, checks each archive against its published checksum, and puts one binary per platform beside the bin/merman-cli launcher, with merman's licenses in bin/merman-licenses/. Running it again does nothing. just check-merman reports whether a newer merman release is out.
Then load the plugin from the checkout, either for one session:
claude --plugin-dir plugins/sc-mods
or as an installed plugin that reads straight from your checkout:
claude plugin marketplace add /path/to/SimpleClaude
claude plugin install sc-mods-dev@simpleclaude
With sc-mods-dev, edit the files and run /reload-plugins. Don't install sc-mods and sc-mods-dev together, or every diagram is handled twice.
Check and test the mod:
just test-mods
Every just release republishes the sc-mods-dist branch. To publish it on its own, run just publish-mods, which stops unless all four binaries are present.
MERMAN_PATH points at a merman-cli.Claude Code refuses to install this plugin
Failed to clone repository: fatal: Remote branch sc-mods-dist not found in upstream origin
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground