AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Skill Visualizer

skill-agents365-ai-skill-visualizer-skill-visualizer · by Agents365-ai

Use when user asks to visualize, diagram, or analyze the structure of any skill. Generates Mermaid flowcharts rendered to a single PDF.

No reviews yet
0 installs
19 views
0.0% view→install

Install

$ agentstack add skill-agents365-ai-skill-visualizer-skill-visualizer

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-agents365-ai-skill-visualizer-skill-visualizer)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
5mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Skill Visualizer? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Skill Visualizer

Analyzes any skill's structure and generates Mermaid diagrams, rendered into a single timestamped PDF.

When to Use

  • User says "visualize X skill", "diagram X skill", "show me X skill's flow"
  • User wants to understand a skill's structure visually
  • User asks for structural analysis of a skill

When NOT to Use

  • User only wants to read/review skill code without visualization
  • User asks about skill functionality without requesting diagrams
  • Target skill directory does not exist

Process

Step 0 — Verify prerequisites

Check mmdc is installed:

which mmdc || echo "NOT_INSTALLED"

If not installed, inform user:

mmdc (mermaid-cli) is required. Install with:
npm install -g @mermaid-js/mermaid-cli

Check target skill exists:

ls ~/.claude/skills//SKILL.md

If not found, list available skills and ask user to confirm.

Step 1 — Read the skill

  • ls the target skill directory to understand file structure
  • Read SKILL.md + all scripts/configs/templates in the directory
  • Note: skill directories live at ~/.claude/skills//

Step 2 — Analyze & generate Mermaid

Comprehend the skill's full logic, then decide scope:

| Complexity | Criteria | Action | |------------|----------|--------| | Simple | ≤3 sections, no scripts, linear flow | One comprehensive flowchart | | Complex | Multiple scripts, multi-phase, DOT blocks | Multiple diagrams: overview + per-phase |

Write .mmd files to temp dir: ~/.claude/skills//tmp-diagrams/.

Mermaid guidelines
  • flowchart TD for overviews and decision trees
  • flowchart LR for linear phase sequences
  • {{"Decision"}} diamond nodes for conditional branches
  • -.-> dashed arrows for loops/backtracking
  • subgraph to group related steps
  • Keep node labels short (≤6 words)
  • Use meaningful node IDs (e.g. parse_input not A)
Example template
flowchart TD
    start([Start]) --> check_input{{"Input valid?"}}
    check_input -->|Yes| process[Process data]
    check_input -->|No| error[Show error]
    process --> output[Generate output]
    output --> done([End])
    error -.-> start

Step 3 — Render diagrams to PDF

Render each .mmd directly to PDF:

mmdc -i X.mmd -o X.pdf -b white -t default

If mmdc fails, check error and report to user.

If multiple diagram PDFs, invoke the pdf skill to merge them into one diagrams PDF.

Step 4 — Write summary & suggestions

Write summary.md in tmp-diagrams/ — list all diagrams with brief descriptions.

Write suggestions.md in tmp-diagrams/ covering:

  • Clarity: Are instructions unambiguous? Any contradictions?
  • Completeness: Missing edge cases, error handling, or "when NOT to use"?
  • Structure: Could sections be reordered or split for better flow?
  • Actionability: Are steps concrete enough for Claude to follow without guessing?

Keep suggestions concise and actionable — bullet points, not essays.

Step 5 — Finalize & cleanup

  1. Convert both .md files to PDF via the pdf skill.
  2. Merge all PDFs (diagrams + summary + suggestions) into one final PDF via the pdf skill. Order: diagrams → summary → suggestions.
  3. Move final PDF to skill root with timestamp:

~/.claude/skills//-YYYYMMDD-HHMMSS.pdf

  1. Optionally move summary/suggestions .md files to skill root (timestamped).
  2. Clean up — delete tmp-diagrams/.

Note: Historical PDFs are preserved (timestamp naming prevents overwrite).

Output Structure

~/.claude/skills//
├── SKILL.md
├── -YYYYMMDD-HHMMSS.pdf           # all-in-one PDF
├── -YYYYMMDD-HHMMSS-summary.md    # optional
└── -YYYYMMDD-HHMMSS-suggestions.md # optional

After Running

  1. Present diagram descriptions from summary to the user
  2. Share structural suggestions
  3. If user wants changes, help edit the skill based on suggestions

Requirements

  • mmdc (mermaid-cli): npm install -g @mermaid-js/mermaid-cli
  • pdf skill for merging PDFs

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.