algorithm-visualizer

Generate visual representations of algorithm execution

509 stars

Best use case

algorithm-visualizer is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Generate visual representations of algorithm execution

Teams using algorithm-visualizer should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/algorithm-visualizer/SKILL.md --create-dirs "https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/specializations/algorithms-optimization/skills/algorithm-visualizer/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/algorithm-visualizer/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How algorithm-visualizer Compares

Feature / Agentalgorithm-visualizerStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Generate visual representations of algorithm execution

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Algorithm Visualizer Skill

## Purpose

Generate visual representations of algorithm execution to aid understanding, debugging, and explanation of algorithmic concepts.

## Capabilities

- Step-by-step execution visualization
- Data structure state visualization
- Graph algorithm animation
- DP table visualization
- Generate animated GIFs/videos
- Interactive visualization generation
- Tree and array state rendering

## Target Processes

- algorithm-implementation
- dp-pattern-matching
- graph-traversal
- interview-problem-explanation

## Visualization Types

1. **Array Operations**: Sorting, searching, two-pointer techniques
2. **Tree Structures**: Binary trees, BST operations, tree traversals
3. **Graph Algorithms**: BFS, DFS, shortest paths, MST
4. **DP Tables**: State transitions, optimal substructure
5. **Data Structures**: Stack, queue, heap operations

## Input Schema

```json
{
  "type": "object",
  "properties": {
    "algorithm": { "type": "string" },
    "input": { "type": "object" },
    "format": {
      "type": "string",
      "enum": ["ascii", "svg", "gif", "html"]
    },
    "steps": { "type": "boolean", "default": true }
  },
  "required": ["algorithm", "input"]
}
```

## Output Schema

```json
{
  "type": "object",
  "properties": {
    "success": { "type": "boolean" },
    "visualization": { "type": "string" },
    "steps": { "type": "array" },
    "format": { "type": "string" }
  },
  "required": ["success"]
}
```

## Integration

Can integrate with visualization libraries like Manim, D3.js, or generate ASCII art for terminal-based visualization.

Related Skills

slam-algorithms

509
from a5c-ai/babysitter

Expert skill for SLAM algorithm selection, configuration, and tuning. Configure visual SLAM (ORB-SLAM3, RTAB-Map), LiDAR SLAM (Cartographer, LIO-SAM), tune parameters, evaluate accuracy, and optimize for real-time performance.

network-visualizer

509
from a5c-ai/babysitter

Skill for visualizing network and graph data

paraview-scientific-visualizer

509
from a5c-ai/babysitter

ParaView visualization skill for 3D scientific data rendering and analysis

graph-algorithm-library

509
from a5c-ai/babysitter

Comprehensive graph algorithms implementation

image-algorithm-validator

509
from a5c-ai/babysitter

Medical image processing algorithm validation skill for segmentation, detection, and analysis algorithms

pymol-visualizer

509
from a5c-ai/babysitter

PyMOL molecular visualization skill for structure rendering and analysis

genetic-algorithm-optimizer

509
from a5c-ai/babysitter

Genetic algorithm skill for complex optimization problems with non-linear objectives or discontinuous search spaces

string-algorithm-matcher

509
from a5c-ai/babysitter

Match string problems to appropriate algorithms

graph-algorithm-selector

509
from a5c-ai/babysitter

Select optimal graph algorithm based on problem constraints

geometry-algorithm-library

509
from a5c-ai/babysitter

Implement computational geometry algorithms

process-builder

509
from a5c-ai/babysitter

Scaffold new babysitter process definitions following SDK patterns, proper structure, and best practices. Guides the 3-phase workflow from research to implementation.

Workflow & Productivity

babysitter

509
from a5c-ai/babysitter

Orchestrate via @babysitter. Use this skill when asked to babysit a run, orchestrate a process or whenever it is called explicitly. (babysit, babysitter, orchestrate, orchestrate a run, workflow, etc.)