Algorithm visualizer

From a5c-ai/babysitter · View interactive version

Algorithm visualizer is an AI agent skill from the GitHub repository a5c-ai/babysitter. Generate visual representations of algorithm execution

How to use this skill

Skill file

Algorithm Visualizer Skill

Purpose

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

Capabilities

Target Processes

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

{
  "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

{
  "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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.