agentleFS
mhyllemhylle/claude-skills-collection/skills/skill-visualizer/SKILL.md

skill-visualizer

Skill20 starsChanged 35 days agoMITView on GitHub

Generate interactive HTML visualizations of the skills collection, codebase structure, or dependency graphs. Uses D3.js for interactive visualization with collapsible nodes, color-coded categories, and hover details. Triggers on "visualize skills", "generate skill map", "codebase visualization", or "show skill dependencies".

  • Installs packages

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Blue: Read-only (allowed-tools restrictions)

    line 49
  2. Very specific:

    All visualizations are saved to docs/visualizations/:

    line 85
  3. Very specific:

    Self-contained: No external dependencies (D3.js embedded)

    line 92

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Skill Visualizer

<!-- contents: generated by tests/skill_structure.py --write; edit headings, not this block -->

Contents

  • Overview
  • Arguments
  • Visualization Types
    • Skills Map (skills)
    • Codebase Structure (codebase)
    • Dependency Graph (deps)
  • Usage
  • Output
  • HTML Features
  • Python Scripts
<!-- /contents -->

Generate interactive HTML visualizations for exploring skills, codebase structure, and dependencies.

Overview

This skill creates browser-viewable HTML files with interactive diagrams. It supports multiple visualization types and outputs self-contained HTML files that open directly in any browser.

Arguments

  • $0: Output type - skills, codebase, or deps (default: skills)

Examples:

  • /skill-visualizer - Generate skills collection map
  • /skill-visualizer skills - Generate skills collection map
  • /skill-visualizer codebase - Generate codebase structure visualization
  • /skill-visualizer deps - Generate skill dependency graph

Visualization Types

Skills Map (skills)

Generates an interactive force-directed graph of all skills showing:

  • Skill nodes with name and type indicator
  • Color coding by skill type:
    • Green: Orchestrators (context: fork)
    • Blue: Read-only (allowed-tools restrictions)
    • Orange: Hybrid (standard skills)
  • Hover tooltips with skill descriptions
  • Drag to reposition nodes

Codebase Structure (codebase)

Generates a treemap visualization of the project structure:

  • Directory hierarchy with expandable nodes
  • File type distribution by color
  • Size indicators for each file/directory

Dependency Graph (deps)

Generates a directed graph showing skill dependencies:

  • Which skills invoke other skills
  • Integration points between skills
  • Visual workflow representation

Usage

  1. Invoke the skill with desired output type
  2. The skill runs Python scripts to analyze the codebase
  3. Generates self-contained HTML with embedded CSS/JS
  4. Opens in default browser automatically
# Run directly
python ~/.claude/skills/skill-visualizer/scripts/visualize.py skills

# Output location
docs/visualizations/skills-map-YYYY-MM-DD.html

Output

All visualizations are saved to docs/visualizations/:

  • skills-map-YYYY-MM-DD.html
  • codebase-structure-YYYY-MM-DD.html
  • skill-deps-YYYY-MM-DD.html

HTML Features

  • Self-contained: No external dependencies (D3.js embedded)
  • Responsive design: Works on any screen size
  • Interactive: Pan, zoom, drag nodes
  • Tooltips: Hover for details
  • Dark theme: Easy on the eyes
  • Export-ready: Can screenshot for documentation

Python Scripts

The skill uses Python scripts in scripts/ directory:

  • visualize.py - Main visualization generator
  • Requires only standard library (no pip install needed)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.