These particular yt-dlp diagrams were an experiment in getting meaningful sequence diagrams from a code repo using Claude. If you open the black tab on the left, you can see the source of the diagrams. Claude was able to generate most of this, albeit with a good amount of back-and-forth to get the details right, plus some manual tweaking in the end.