skills/smithery.ai/extract-tikz

extract-tikz

SKILL.md

Extract TikZ Diagrams to SVG

Extract TikZ diagrams from the Beamer source, compile to multi-page PDF, and convert each page to SVG for use in Quarto slides.

Steps

Step 0: Freshness Check (MANDATORY)

Before compiling, verify that extract_tikz.tex matches the current Beamer source.

  1. Find the Beamer source: search for **/$ARGUMENTS*.tex using Glob. If multiple matches or the directory is ambiguous, confirm the file path with the user before proceeding.
  2. Extract all \begin{tikzpicture} blocks from Beamer
  3. Compare with Figures/$ARGUMENTS/extract_tikz.tex
  4. If ANY difference exists: update extract_tikz.tex from the Beamer source
  5. If extract_tikz.tex doesn't exist: create it from scratch
Installs
2
First Seen
Mar 22, 2026
extract-tikz from smithery.ai