extract-tikz — community extract-tikz, claude-code-my-workflow, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for Academic Agents utilizing LaTeX and Beamer, needing advanced diagram extraction and conversion capabilities to SVG. A ready-to-fork Claude Code template for academics using LaTeX/Beamer + R. Multi-agent review, quality gates, adversarial QA, and replication protocols.

pedrohcgs pedrohcgs
[0]
[0]
Updated: 3/5/2026

Agent Capability Analysis

The extract-tikz skill by pedrohcgs is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.

Ideal Agent Persona

Perfect for Academic Agents utilizing LaTeX and Beamer, needing advanced diagram extraction and conversion capabilities to SVG.

Core Value

Empowers agents to extract TikZ diagrams from Beamer sources, compile them to multi-page PDF, and convert each page to SVG for seamless integration into Quarto slides, leveraging LaTeX, Beamer, and TikZ.

Capabilities Granted for extract-tikz

Automating TikZ diagram extraction for academic presentations
Converting Beamer slides to SVG format for web compatibility
Generating multi-page PDFs from LaTeX sources for review and collaboration

! Prerequisites & Limits

  • Requires freshness check of extract_tikz.tex against Beamer source
  • Dependent on LaTeX and Beamer installation for compilation
  • Limited to TikZ diagram extraction and conversion to SVG
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

extract-tikz

Install extract-tikz, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

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: ls Slides/$ARGUMENTS*.tex
  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

Step 1: Navigate to the lecture's Figures directory

bash
1cd Figures/$ARGUMENTS

Step 2: Compile the extract_tikz.tex file

bash
1TEXINPUTS=../../Preambles:$TEXINPUTS xelatex -interaction=nonstopmode extract_tikz.tex

Step 3: Count the number of pages

bash
1pdfinfo extract_tikz.pdf | grep "Pages:"

Step 4: Convert each page to SVG using 0-BASED INDEXING

CRITICAL: PDF pages are 1-indexed, but output SVG files are 0-indexed!

bash
1PAGES=$(pdfinfo extract_tikz.pdf | grep "Pages:" | awk '{print $2}') 2for i in $(seq 1 $PAGES); do 3 idx=$(printf "%02d" $((i-1))) 4 pdf2svg extract_tikz.pdf tikz_exact_$idx.svg $i 5done

Step 5: Sync to docs/ for deployment

bash
1cd ../.. 2./scripts/sync_to_docs.sh $ARGUMENTS

Step 6: Verify SVG files

  • Read 2-3 SVG files to confirm they contain valid SVG markup
  • Confirm file sizes are reasonable (not 0 bytes)

Step 7: Report results

Source of Truth Reminder

TikZ diagrams MUST be edited in the Beamer .tex file first, then copied verbatim to extract_tikz.tex. See .claude/rules/single-source-of-truth.md.

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is extract-tikz?

Perfect for Academic Agents utilizing LaTeX and Beamer, needing advanced diagram extraction and conversion capabilities to SVG. A ready-to-fork Claude Code template for academics using LaTeX/Beamer + R. Multi-agent review, quality gates, adversarial QA, and replication protocols.

How do I install extract-tikz?

Run the command: npx killer-skills add pedrohcgs/claude-code-my-workflow/extract-tikz. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for extract-tikz?

Key use cases include: Automating TikZ diagram extraction for academic presentations, Converting Beamer slides to SVG format for web compatibility, Generating multi-page PDFs from LaTeX sources for review and collaboration.

Which IDEs are compatible with extract-tikz?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for extract-tikz?

Requires freshness check of extract_tikz.tex against Beamer source. Dependent on LaTeX and Beamer installation for compilation. Limited to TikZ diagram extraction and conversion to SVG.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add pedrohcgs/claude-code-my-workflow/extract-tikz. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use extract-tikz immediately in the current project.

Related Skills

Looking for an alternative to extract-tikz or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI