skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
camacho/ai-skills296 installs

visualize

Use when content needs a diagram or visual — auto-detects content shape, picks the best format per the active-selection rule, and renders it.

How do I install this agent skill?

npx skills add https://github.com/camacho/ai-skills --skill visualize
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    This skill enables the agent to generate diagrams and visual representations (like flowcharts, sequence diagrams, and ER diagrams) from text or files. It uses the Mermaid diagramming language and includes a helper script to render high-resolution PNG images using the official Mermaid CLI tool.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

What does this agent skill do?

/visualize

Auto-detect content shape and render the appropriate visualization. Follows the active-selection rule from ai-workspace/rules/visualizations.md.

Usage

/visualize                              # visualize the last discussed concept
/visualize <topic or file>              # visualize specific content
/visualize --format mermaid <topic>     # force a specific format

Steps

  1. Identify content. From args, recent conversation context, or a file path. Determine what needs visualizing.

  2. Classify content shape. Use this decision table:

    Content shapeSignalFormat
    Graph with nodes + edgesarchitecture, dependencies, flow between componentsMermaid graph or flowchart
    Sequence / interactionrequest flow, API calls, multi-step protocolMermaid sequenceDiagram
    State transitionsmodes, lifecycle, status changesMermaid stateDiagram-v2
    Comparison (3+ items)options, tradeoffs, feature matrixMarkdown table
    Hierarchy / treefile structure, org chart, simple nestingASCII art
    Contrast (2 items)before/after, good/bad, do/don'tInline pairs
    Entity relationshipsdata model, schemaMermaid erDiagram
  3. Check render surface. Mermaid in committed .md files renders on iOS/web/GitHub/VS Code. In terminal chunks, Mermaid is literal text — use ASCII instead. When surface is unknown, default to ASCII.

  4. Render.

    • ASCII / table / inline pairs: output directly in the response.
    • Mermaid: output as a fenced mermaid code block in the response. If high-resolution PNG is needed:
      node --import tsx "${SKILL_DIR}/scripts/render-mermaid.ts" --input <mermaid-file> --output <png-path> --width 2400 --height 1800
      
    • Format override: if user passed --format, use that format regardless of auto-detection.
  5. Present. Show the visualization. If Mermaid PNG was rendered, display the path.

Failure modes

ConditionBehavior
Content shape ambiguousAsk: "This could be a [X] or [Y] — which fits better?"
Mermaid syntax errorShow the error, offer to fix
mmdc not availableFall back to fenced Mermaid block (renders on GitHub/web)

Cross-tool notes

  • Codex / Cursor: run scripts/render-mermaid.ts directly for PNG rendering. Content-shape detection is agent reasoning, not script logic.

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/camacho/ai-skills/visualize">View visualize on skillZs</a>