agent-topology
БесплатноЗапускает вложенные скриптыНе проверенGenerate interactive SVG architecture diagrams for AI agent systems. Use when visualizing multi-agent setups, orchestration flows, data pipelines, or system…
от modbender★ 21 звезда на GitHubОб этом скилле
Agent Topology
Generate interactive architecture diagrams from a JSON topology definition.
Quick Start
- Create a topology JSON file (see
references/schema.mdfor full spec) - Run the generator:
python3 scripts/generate.py topology.json -o diagram.html
- Output is a self-contained HTML file with embedded SVG, CSS, and JS.
Topology JSON Format
{
"title": "My Agent System",
"theme": "dark",
"viewBox": [1220, 1000],
"zones": {
"center": { "label": "Orchestration" },
"left": { "label": "Content Pipeline" },
"right": { "label": "Infrastructure" }
},
"nodes": [
{
"id": "orchestrator",
"name": "Main Agent",
"type": "orchestrator",
"emoji": "🤖",
"subtitle": "Central Hub",
"position": [610, 480],
"radius": 58
},
{
"id": "tool_agent",
"name": "Tool Agent",
"type": "agent",
"emoji": "🔧",
"subtitle": "Executes tools",
"position": [400, 300],
"radius": 32
}
],
"connections": [
{ "from": "orchestrator", "to": "tool_agent", "type": "core" }
],
"pipelines": ["tool_agent", "processor", "output"]
}
Node Types
| Type | Visual | Use for |
|---|---|---|
orchestrator |
Large glowing circle | Central agent/router |
agent |
Medium teal circle | Sub-agents, workers |
system |
Medium muted circle | External systems (DBs, APIs) |
pipeline |
Small bright circle | Sequential pipeline steps |
ops |
Small circle | Operational/maintenance agents |
human |
Medium circle | Human-in-the-loop nodes |
Connection Types
| Type | Style | Use for |
|---|---|---|
hub |
Bright, thicker | Orchestrator ↔ systems |
core |
Medium brightness | Orchestrator ↔ agents |
cross |
Subtle | Agent ↔ system (data flow) |
cluster |
Pipeline style | Sequential chain steps |
sys |
Dashed subtle | System ↔ system |
Pipelines
The pipelines array lists node IDs that form sequential chains. Hovering any pipeline node highlights the full chain transitively (not just direct connections).
Multiple pipelines supported:
"pipelines": {
"content": ["feed_hunter", "synthesizer", "writer", "website"],
"deploy": ["builder", "tester", "deployer"]
}
Auto-Layout Mode
If positions are omitted, the generator auto-places nodes by zone:
{
"nodes": [
{ "id": "main", "type": "orchestrator", "zone": "center" },
{ "id": "researcher", "type": "agent", "zone": "top-left" },
{ "id": "db", "type": "system", "zone": "right" }
]
}
Available zones: center, top-left, top-right, left, right, bottom-left, bottom-right, bottom.
Theming
{
"theme": "dark",
"colors": {
"accent": "#5d9b93",
"background": "#0a0e14",
"text": "#c8d6e0",
"nodeStroke": "rgba(93,155,147,0.4)"
},
"font": "Inter, system-ui, sans-serif"
}
Built-in themes: dark (default), light. Override any color individually.
Output Formats
# Self-contained HTML page (default)
python3 scripts/generate.py topology.json -o diagram.html
# SVG only (for embedding)
python3 scripts/generate.py topology.json -o diagram.svg --format svg
# SVG paths only (for injection into existing page)
python3 scripts/generate.py topology.json --format paths
Features
- Edge-to-edge connections: Lines connect at circle perimeters, not centers
- Curved bezier paths: All connections use smooth cubic bezier curves
- Hover highlighting: Hover a node to highlight its connections; dims everything else
- Pipeline walk: Hovering a pipeline node lights up the full sequential chain
- Path tooltips: Hover a connection line to see "Source → Target"
- Mobile/tap support: Tap works like hover with auto-dismiss
- Responsive: SVG scales to container width
- Zero dependencies: Output is a single self-contained HTML file
Advanced
- For custom CSS injection and embedding options, see
references/customization.md
Установить agent-topology в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл agent-topology?
Generate interactive SVG architecture diagrams for AI agent systems. Use when visualizing multi-agent setups, orchestration flows, data pipelines, or system topology. Produces a self-contained HTML page with hover-highlighting, tooltips, curved bezier connections, and zone-based layout. Works with any agent framework (OpenClaw, CrewAI, LangGraph, AutoGen, etc).
Как установить скилл agent-topology?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agent-topology запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic