Back to catalog

agent-hierarchy-diagram

Generate visual hierarchy diagrams of the agent system showing levels and delegation. Use for documentation or understanding agent relationships.

  • Category: discovered
  • Tags: github, community
  • Version: 1.0.0
  • Author: walid
  • Downloads: 0
  • GitHub stars: 4
  • Updated: 2025-11-21

Download the latest version (v1.0.0) from this page.

SKILL.md

---
name: agent-hierarchy-diagram
description: Generate visual hierarchy diagrams of the agent system showing levels and delegation. Use for documentation or understanding agent relationships.
---

# Agent Hierarchy Diagram Skill

Generate visual diagrams of agent hierarchy.

## When to Use

- Documenting agent system
- Understanding delegation structure
- Onboarding new contributors
- Visualizing agent relationships

## Usage

```bash
# Generate ASCII diagram
./scripts/generate_hierarchy_diagram.sh

# Output to file
./scripts/generate_hierarchy_diagram.sh > agents/hierarchy-visual.txt

# Generate mermaid diagram
./scripts/generate_mermaid_diagram.sh > agents/hierarchy.mmd
```text

## Diagram Format

```text
Chief Architect (L0)
├── Foundation Orchestrator (L1)
│   ├── Repository Design (L2)
│   │   ├── Directory Specialist (L3)
│   │   │   └── Junior Engineer (L4)
│   │   └── Config Specialist (L3)
│   └── Config Design (L2)
├── Shared Library Orchestrator (L1)
│   └── Tensor Module Design (L2)
│       └── Tensor Specialist (L3)
└── ...
```text

## Mermaid Format

```mermaid
graph TD
    A[Chief Architect L0] --> B[Foundation Orchestrator L1]
    B --> C[Repository Design L2]
    C --> D[Directory Specialist L3]
```text

## Use Cases

- Add to `/agents/hierarchy.md`
- Include in documentation
- Presentation materials
- Understanding delegation

See `/agents/hierarchy.md` for existing diagram.