Diagramming Code skill: what it does and how to install it
Generates Mermaid diagrams from Trailmark code graphs, including call graphs, class hierarchies, dependencies and data-flow paths.
Summary generated from the skill's documentation.
Install
$ npx skills add trailofbits/skills --skill diagramming-codeRun it in a terminal. If your agent is already running, start a new session so it picks the skill up.
About this skill
What it does. Analyses a codebase with Trailmark, selects a diagram type and generates Mermaid output from the parsed graph. It supports call graphs, class hierarchies, module dependencies, class containment, complexity heatmaps and data-flow visualisations, using Trailmark's native command when available or a bundled script.
When to use it. For visualising code architecture, call paths, complexity hotspots or data flows to sensitive functions. It is not intended for graph queries without diagrams, mutation testing triage or architecture diagrams that are not derived from code.
History
Repo stars
7.5kAbout +327 since 16 Jul 2026
Before 1 Oct 2026 the curve is estimated from public event data.
Stars are counted for the whole repository, which holds 67 skills.
Show as a table
| Date | Repo stars |
|---|---|
| 12 Oct 2026 | 7,491 |
| 11 Oct 2026 | 7,473 |
| 10 Oct 2026 | 7,457 |
| 9 Oct 2026 | 7,444 |
| 8 Oct 2026 | 7,427 |
| 7 Oct 2026 | 7,408 |
| 6 Oct 2026 | 7,389 |
| 5 Oct 2026 | 7,370 |
| 4 Oct 2026 | 7,355 |
| 3 Oct 2026 | 7,348 |
| 2 Oct 2026 | 7,340 |
| 1 Oct 2026 | 7,320 |
| 24 Sept 2026 (estimated) | 7,310 |
| 17 Sept 2026 (estimated) | 7,305 |
| 10 Sept 2026 (estimated) | 7,239 |
| 3 Sept 2026 (estimated) | 7,179 |
| 27 Aug 2026 (estimated) | 7,174 |
| 20 Aug 2026 (estimated) | 7,174 |
| 13 Aug 2026 (estimated) | 7,169 |
| 6 Aug 2026 (estimated) | 7,164 |
| 30 Jul 2026 (estimated) | 7,164 |
| 23 Jul 2026 (estimated) | 7,164 |
| 16 Jul 2026 (estimated) | 7,164 |
Installs
3.9k
Tracking since . A chart appears once there are 7 days of data.
Installs via skills.sh
Similar skills
- Gemini Live APIGenerates a client service class for the Gemini Live API websocket endpoint in the language you choose.
- CodeQLScans a codebase for security vulnerabilities with CodeQL's data flow and taint tracking analysis.
- Zeroize AuditDetects missing zeroisation of sensitive data in C, C++ and Rust code, including cases removed by the compiler.