Skip to main content
crypto-protocol-diagramby Trail of BitsDevelopmentGitHub stars: 7.5k

Crypto Protocol Diagram skill: what it does and how to install it

Extracts cryptographic message flows from code and specifications, then generates annotated Mermaid sequence diagrams and ASCII summaries.

Summary generated from the skill's documentation.

Install

$ npx skills add trailofbits/skills --skill crypto-protocol-diagram

Run 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. Reads protocol source code, RFCs, papers, prose, ProVerif models or Tamarin models to identify parties, messages, cryptographic operations, phases and abort paths. It writes an annotated Mermaid sequenceDiagram to a Markdown file and prints an ASCII sequence diagram with a protocol summary.

When to use it. For visualising handshakes, key exchanges and multi-party cryptographic protocols such as TLS, Noise, Signal, X3DH and FROST. It is not for call graphs, class hierarchies, module dependencies or formal verification.

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
Repo stars by day
DateRepo stars
12 Oct 20267,491
11 Oct 20267,473
10 Oct 20267,457
9 Oct 20267,444
8 Oct 20267,427
7 Oct 20267,408
6 Oct 20267,389
5 Oct 20267,370
4 Oct 20267,355
3 Oct 20267,348
2 Oct 20267,340
1 Oct 20267,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.7k

Tracking since . A chart appears once there are 7 days of data.

Installs via skills.sh

Similar skills