diagram
SkillFiles & storageGenerate architecture diagrams for a codebase subsystem or module. Explores source files and produces Mermaid diagrams in docs/.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the diagram skill
What this skill tells your AI
The instructions your AI receives, as published by kastalien-research/thoughtbox in .agents/skills/diagram/SKILL.md and read by ahel’s review.
Generate architecture diagrams for: $ARGUMENTS
Workflow
- Launch the
architecture-diagrammeragent with the target subsystem - The agent will:
- Explore all files in the target module
- Map entry points, data flows, and component relationships
- Produce
docs/<target>-architecture.mdwith Mermaid diagrams
- Report which diagrams were produced
Execution
Use the Task tool to launch the architecture-diagrammer agent:
Task({
subagent_type: "architecture-diagrammer",
prompt: "Generate architecture diagrams for the '$ARGUMENTS' subsystem. Explore the codebase, trace data flows, and produce docs/$ARGUMENTS-architecture.md with Mermaid diagrams covering: system context, sequence diagrams for key flows, component architecture, and startup lifecycle.",
description: "Diagram $ARGUMENTS architecture"
})
Output
After the agent completes, summarize:
- File produced:
docs/<target>-architecture.md - Number and types of diagrams generated
- Key architectural insights discovered
Signals
- GitHub stars
- 64
- Forks
- 20
- Last commit
- Jul 2026
Advanced
- Catalog kind
- skill
- Gateway key
diagram-kastalien-research- Source
- github.com/kastalien-research/thoughtbox