Agent skill

Latex Drawing Guide

by wentorai in wentorai/research-plugins

TikZ and PGFPlots techniques for publication-quality scientific figures

MITAuto-check passedDocuments & Office

Install Latex Drawing Guide

skills CLI
$ npx skills add wentorai/research-plugins --skill latex-drawing-guide -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install wentorai/research-plugins latex-drawing-guide --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/writing/latex/latex-drawing-guide .claude/skills/latex-drawing-guide && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
latex-drawing-guide
GitHub stars
298
Used in
1 other repo
Token cost
~1.8k tokens
SKILL.md length
311 words
Files
1
Skills in repo
405
Repo updated
First seen
Licence
MIT

At a glance

TikZ and PGFPlots techniques for publication-quality scientific figures

  • Tasks that involve LaTeX
  • SKILL.md covers Overview, TikZ Fundamentals, Neural Network Diagrams and PGFPlots for Data Visualization, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve Data visualization

What it does

Latex Drawing Guide is an agent skill from wentorai/research-plugins. TikZ and PGFPlots techniques for publication-quality scientific figures

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office, covering LaTeX and Data visualization. It works with LaTeX. The repository describes itself as: 350+ academic research skills, MCP configs, and plugins for Research-Claw and AI agents. The licence is MIT.

When your agent uses it

  • Tasks that involve LaTeX
  • Tasks that involve Data visualization

Example prompts

  • “/latex-drawing-guide”

What it can do on your machine

Read from SKILL.md and the folder at commit bf44b3c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are latex).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com
    • tikz.dev
    • pgfplots.net
    • texample.net
    • overleaf.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Latex Drawing Guide loads about 1.8k tokens when it runs. Until then it costs about 23 tokens; SKILL.md has 311 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~23
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from wentorai/research-plugins at commit bf44b3c, republished under its MIT licence (© wentorai). 311 words, ~1,829 tokens.

Download SKILL.mdSave it as .claude/skills/latex-drawing-guide/SKILL.md (or your agent's skills folder).
name
latex-drawing-guide
description
TikZ and PGFPlots techniques for publication-quality scientific figures

LaTeX Drawing Guide

Overview

Publication-quality figures are a critical component of scientific papers. While external tools like matplotlib or Inkscape can produce good results, drawing figures directly in LaTeX using TikZ and PGFPlots offers unique advantages: figures share the same fonts and styling as the document, scale perfectly at any resolution, and remain fully version-controllable as plain text.

This guide draws from the awesome-latex-drawing repository (2,000+ stars), which provides 30+ complete examples of LaTeX-drawn figures covering Bayesian networks, neural network architectures, function plots, tensor diagrams, and machine learning frameworks. The techniques here apply broadly to any discipline that needs diagrams, flowcharts, or data plots embedded in LaTeX documents.

Learning TikZ has a steep initial curve, but the investment pays off substantially for researchers who publish frequently. Once you build a library of reusable components, creating new figures becomes fast and consistent.

TikZ Fundamentals

Basic Setup
latex
\usepackage{tikz}
\usetikzlibrary{arrows.meta, positioning, calc, shapes.geometric, fit}
Coordinate System and Basic Shapes
latex
\begin{tikzpicture}
  % Rectangle
  \draw[fill=blue!20, rounded corners] (0,0) rectangle (3,2);

  % Circle
  \draw[fill=red!20] (5,1) circle (1cm);

  % Arrow
  \draw[-{Stealth[length=3mm]}, thick] (3.2,1) -- (3.8,1);

  % Text node
  \node at (1.5,1) {Input};
  \node at (5,1) {Output};
\end{tikzpicture}
Node-Based Diagrams

Nodes are the building blocks of most scientific diagrams:

latex
\begin{tikzpicture}[
  block/.style={
    rectangle, draw, fill=blue!10,
    minimum width=2.5cm, minimum height=1cm,
    rounded corners, font=\small
  },
  arrow/.style={-{Stealth[length=2.5mm]}, thick}
]
  \node[block] (input) {Data Input};
  \node[block, right=2cm of input] (process) {Processing};
  \node[block, right=2cm of process] (output) {Results};

  \draw[arrow] (input) -- (process);
  \draw[arrow] (process) -- (output);
\end{tikzpicture}

Neural Network Diagrams

Fully Connected Layer
latex
\begin{tikzpicture}[
  neuron/.style={circle, draw, fill=orange!30, minimum size=8mm},
  conn/.style={->, gray!70}
]
  % Input layer
  \foreach \i in {1,...,3}
    \node[neuron] (I\i) at (0, -\i*1.2) {$x_{\i}$};

  % Hidden layer
  \foreach \j in {1,...,4}
    \node[neuron, fill=blue!20] (H\j) at (3, -\j*1.2+0.6) {$h_{\j}$};

  % Output layer
  \foreach \k in {1,...,2}
    \node[neuron, fill=green!20] (O\k) at (6, -\k*1.2-0.6) {$y_{\k}$};

  % Connections
  \foreach \i in {1,...,3}
    \foreach \j in {1,...,4}
      \draw[conn] (I\i) -- (H\j);
  \foreach \j in {1,...,4}
    \foreach \k in {1,...,2}
      \draw[conn] (H\j) -- (O\k);

  % Labels
  \node[above=0.3cm of I1] {\small Input};
  \node[above=0.3cm of H1] {\small Hidden};
  \node[above=0.3cm of O1] {\small Output};
\end{tikzpicture}
Transformer Block
latex
\begin{tikzpicture}[
  block/.style={rectangle, draw, rounded corners, minimum width=3cm,
    minimum height=0.8cm, fill=#1, font=\small},
  block/.default=gray!10,
  arr/.style={-{Stealth}, thick}
]
  \node[block=yellow!20] (attn) at (0,0) {Multi-Head Attention};
  \node[block=blue!10] (norm1) at (0,1.3) {Add \& LayerNorm};
  \node[block=green!20] (ffn) at (0,2.6) {Feed-Forward Network};
  \node[block=blue!10] (norm2) at (0,3.9) {Add \& LayerNorm};

  \draw[arr] (attn) -- (norm1);
  \draw[arr] (norm1) -- (ffn);
  \draw[arr] (ffn) -- (norm2);

  % Residual connections
  \draw[arr, dashed, gray] (attn.west) -- ++(-0.8,0) |- (norm1.west);
  \draw[arr, dashed, gray] (ffn.west) -- ++(-0.8,0) |- (norm2.west);
\end{tikzpicture}

PGFPlots for Data Visualization

Setup
latex
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
Line Plot with Error Bars
latex
\begin{tikzpicture}
\begin{axis}[
  width=0.8\textwidth,
  height=6cm,
  xlabel={Epoch},
  ylabel={Accuracy (\%)},
  legend pos=south east,
  grid=major,
  grid style={gray!30},
  tick label style={font=\small}
]
\addplot+[mark=o, thick, error bars/.cd, y dir=both, y explicit]
  coordinates {
    (1,72) +- (0,1.5)
    (5,85) +- (0,1.2)
    (10,91) +- (0,0.8)
    (20,94) +- (0,0.5)
    (50,96) +- (0,0.3)
  };
\addlegendentry{Our Method}

\addplot+[mark=square, thick, dashed]
  coordinates {(1,68) (5,79) (10,85) (20,89) (50,91)};
\addlegendentry{Baseline}
\end{axis}
\end{tikzpicture}
Bar Chart Comparing Methods
latex
\begin{tikzpicture}
\begin{axis}[
  ybar,
  width=10cm, height=6cm,
  symbolic x coords={BLEU, ROUGE-L, METEOR},
  xtick=data,
  ylabel={Score},
  ymin=0, ymax=100,
  bar width=12pt,
  legend style={at={(0.5,1.05)}, anchor=south, legend columns=3},
  nodes near coords,
  nodes near coords style={font=\tiny}
]
\addplot coordinates {(BLEU,45.2) (ROUGE-L,62.1) (METEOR,38.7)};
\addplot coordinates {(BLEU,52.8) (ROUGE-L,68.4) (METEOR,44.3)};
\addplot coordinates {(BLEU,58.1) (ROUGE-L,71.9) (METEOR,49.6)};
\legend{Baseline, +Pretraining, +Fine-tuning}
\end{axis}
\end{tikzpicture}

Bayesian Network and Graphical Models

latex
\begin{tikzpicture}[
  latent/.style={circle, draw, minimum size=1cm, fill=gray!20},
  observed/.style={circle, draw, minimum size=1cm, fill=white, thick},
  plate/.style={rectangle, draw, dashed, rounded corners, inner sep=10pt},
  arr/.style={-{Stealth}, thick}
]
  \node[latent] (theta) at (0,2) {$\theta$};
  \node[latent] (z) at (2,2) {$z_n$};
  \node[observed] (x) at (2,0) {$x_n$};
  \node[latent] (alpha) at (-1.5,2) {$\alpha$};

  \draw[arr] (alpha) -- (theta);
  \draw[arr] (theta) -- (z);
  \draw[arr] (z) -- (x);

  \node[plate, fit=(z)(x), label=below right:$N$] {};
\end{tikzpicture}

Best Practices

  • Define styles globally. Use \tikzset{} in the preamble so all figures share consistent colors and shapes.
  • Use relative positioning. right=2cm of nodeA is more maintainable than absolute coordinates.
  • Externalize figures. For large documents, use \usetikzlibrary{external} to cache compiled figures and speed up builds.
  • Match document fonts. TikZ inherits the document font automatically -- this is a key advantage over external tools.
  • Export standalone figures. Use the standalone document class to compile figures individually for reuse in presentations.
  • Keep source readable. One node or drawing command per line, with comments explaining the visual structure.

References

© wentorai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/writing/latex/latex-drawing-guide of wentorai/research-plugins.

Open the folder on GitHubat commit bf44b3c

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in wentorai/research-plugins, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Latex Drawing Guide next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Latex Drawing Guide compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Latex Drawing Guide this skillwentorai/research-plugins2981 repos~1.8kAutomated safety check: PassMIT
Publication Chart SkillGalaxy-Dawn/claude-scholar5.7k1 repos~3.3kAutomated safety check: PassMIT
Literature Surveyai4s-research/ai4s-skills2372 repos~2kAutomated safety check: PassMIT
Market Research Reportsdavila7/claude-code-templates33k9 repos~7.2kAutomated safety check: NotesMIT
Table Generationlingzhi227/agent-research-skills390—~765Automated safety check: PassNone
Publication Outputbrycewang-stanford/Auto-Empirical-Research-Skills4.6k—~2kAutomated safety check: PassCustom licence

Similar skills

  • Publication Chart Skill

    Galaxy-Dawn/claude-scholar

    This skill should be used when the user asks for a publication-quality scientific figure or table, wants help choosing the right chart for results, needs a paper-ready pubfig or pubtab workflow…

    5.7k GitHub starsUsed in 1 repo~3.3k tokens
    Documents & OfficeAuto-check passed
  • Literature Survey

    ai4s-research/ai4s-skills

    A skill your agent uses when the user wants a comprehensive literature survey on a specific research topic.

    237 GitHub starsUsed in 2 repos~2k tokens
    Documents & OfficeAuto-check passed
  • Market Research Reports

    davila7/claude-code-templates

    Generate comprehensive market research reports (50+ pages) in the style of top consulting firms (McKinsey, BCG, Gartner).

    33k GitHub starsUsed in 9 repos~7.2k tokens
    Documents & OfficeAuto-check: notes
  • Table Generation

    lingzhi227/agent-research-skills

    Generate publication-quality LaTeX tables from experimental results.

    390 GitHub stars~765 tokensUpdated 7 mo ago
    Documents & OfficeAuto-check passed
  • Publication Output

    brycewang-stanford/Auto-Empirical-Research-Skills

    This skill covers publication-quality tables and figures for academic research papers.

    4.6k GitHub stars~2k tokensUpdated 5 days ago
    Documents & OfficeAuto-check passed
  • Table

    brycewang-stanford/Auto-Empirical-Research-Skills

    Econometrics skill for creating publication-quality LaTeX regression and summary tables.

    4.6k GitHub stars~3.3k tokensUpdated 5 days ago
    Documents & OfficeAuto-check passed

More from wentorai/research-plugins

All 405 skills in this repo
  • Abstract Writing Guide

    wentorai/research-plugins

    Craft structured research abstracts that maximize clarity and journal acceptance

    298 GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed
  • Academic Citation Manager

    wentorai/research-plugins

    Manage academic citations across BibTeX, APA, MLA, and Chicago formats

    298 GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed
  • Academic Paper Summarizer

    wentorai/research-plugins

    Summarize academic papers with structured extraction of key elements

    298 GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • Academic Study Methods

    wentorai/research-plugins

    Evidence-based study techniques for academic learning and retention

    298 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed
  • Academic Tone Guide

    wentorai/research-plugins

    Adjust writing tone and register for academic audiences and venues

    298 GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Academic Translation Guide

    wentorai/research-plugins

    Academic translation, post-editing, and Chinglish correction guide

    298 GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check passed

Works with

Questions about Latex Drawing Guide

What does Latex Drawing Guide do?

TikZ and PGFPlots techniques for publication-quality scientific figures. Latex Drawing Guide is an agent skill from wentorai/research-plugins.

When should I use Latex Drawing Guide?

Latex Drawing Guide fits situations like: tasks that involve LaTeX; tasks that involve Data visualization.

How do I install Latex Drawing Guide in Claude Code?

Run `npx skills add wentorai/research-plugins --skill latex-drawing-guide -a claude-code`. Or copy the skill folder (skills/writing/latex/latex-drawing-guide in wentorai/research-plugins) into .claude/skills/latex-drawing-guide in your project. Claude Code loads it when a task matches its description.

How do I install Latex Drawing Guide in Codex?

Run `npx skills add wentorai/research-plugins --skill latex-drawing-guide -a codex`. Or copy the skill folder (skills/writing/latex/latex-drawing-guide in wentorai/research-plugins) into .agents/skills/latex-drawing-guide in your project. Codex loads it when a task matches its description.

Can I use Latex Drawing Guide in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add wentorai/research-plugins --skill latex-drawing-guide -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/latex-drawing-guide, .gemini/skills/latex-drawing-guide, .github/skills/latex-drawing-guide and .opencode/skills/latex-drawing-guide in your project.

What does Latex Drawing Guide need to run?

SKILL.md names no scripts, command-line tools or credentials: Latex Drawing Guide is instructions for the agent only.

Does Latex Drawing Guide access the network?

SKILL.md names 5 domains. As links in the text: github.com, tikz.dev, pgfplots.net, texample.net and overleaf.com. This is read from the text; nothing was executed.

Is Latex Drawing Guide safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Latex Drawing Guide use?

Latex Drawing Guide is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Latex Drawing Guide use?

About 1.8k tokens (SKILL.md is roughly 7.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Latex Drawing Guide?

Skills that share tags, products or a category with Latex Drawing Guide: Publication Chart Skill (Galaxy-Dawn/claude-scholar, 5.7k stars), Literature Survey (ai4s-research/ai4s-skills, 237 stars), Market Research Reports (davila7/claude-code-templates, 33k stars) and Table Generation (lingzhi227/agent-research-skills, 390 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Latex Drawing Guide?

wentorai (a GitHub user) maintains it in wentorai/research-plugins, which has 298 GitHub stars. The repository holds 405 skills in this directory. The repository was last updated on June 19, 2026.

Source: wentorai/research-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.