diegomarino/claude-toolshed/mermaid-config
Claude Code and agent skill by diegomarino/claude-toolshed
- community
Checking that the SKILL.md file is still in the repository.
Change theme, output format, or check plugin dependencies
Install
npx vskill@latest install diegomarino/claude-toolshed/mermaid-configSKILL.md
/mermaid-config
User request: "$ARGUMENTS"
Task
Interactive config wizard: view and update plugin settings, or run a dependency health check.
Config file
All settings are stored in .claude/mermaid.json in the current project directory.
Default values (used when file does not exist):
Process
Step 1: Resolve Plugin Path
If empty:
Use $PLUGIN_DIR in all subsequent commands.
Step 2: Read current config
If .claude/mermaid.json exists, read it. Otherwise use defaults above.
Step 3: If argument provided
If the user passed arguments (e.g. theme dracula or auto_render true), apply directly:
- Parse as
{setting} {value} - For
theme: accept any of the 15 beautiful-mermaid theme names orcustom - Validate value is allowed (see options below)
- Update
.claude/mermaid.json - Confirm: "✅ {setting} set to {value}"
- Done.
Step 4: If no argument — show interactive menu
Display:
Step 5: Handle selection
If 1 (theme):
Update theme in .claude/mermaid.json.
If 2 (output_directory): Ask for path. Update config.
Special values:
"same"— save output in the same directory as the input file. Falls back to./diagramswhen there is no input file reference (e.g. text-only/mermaid-diagramcalls).
If 3 (auto_validate): Toggle true/false. Update config.
If 4 (auto_render): Toggle true/false. Update config.
If 5 (output_format):
Update output_format in .claude/mermaid.json.
If 6 (custom theme): Present the current values and prompt for each variable (leave blank to keep current):
Accept a hex color (#rrggbb) for each. Set theme to "custom" and save all entered values under themeVariables in .claude/mermaid.json.
Example saved config:
If 7 (health check): See Health Check section below.
Step 6: Write updated config
Create .claude/ directory if it doesn't exist:
Write updated settings to .claude/mermaid.json (merge with existing, don't overwrite unrelated keys).
Confirm: "✅ Config saved to .claude/mermaid.json"
Health Check
Run when user selects option 7.
Check 1: Node.js
✅ if v18.0.0 or higher | ❌ if not found or older → "Install Node.js 18+: <https://nodejs.org>"
Check 2: beautiful-mermaid (local node_modules)
- ✅ if "found" → show version from
$PLUGIN_DIR/scripts/node_modules/beautiful-mermaid/package.json - ❌ if "not found" → auto-install:
``bash npm install --prefix "$PLUGIN_DIR/scripts" ``
Confirm: "✅ beautiful-mermaid installed"
Check 3: Render smoke test
✅ if exit 0 and /tmp/mermaid-health-check.svg contains <svg | ❌ if error → show the JSON error message
Output format
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/mermaid/skills/mermaid-config/SKILL.md
Popularity
- Repository stars
- 44
- Repository forks
- 4
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/diegomarino/claude-toolshed/mermaid-config)