research-figures

research-figures is a skill for Claude Code from KhaledSaeed18/dotclaude. It costs 96 tokens per session (1,568 once invoked), scanned A, original, MIT.

A guide to making figures for theses and research papers from result data, using tools such as matplotlib and TikZ. It covers readable layouts, colour-blind-safe colours, variance, labels, and explanatory captions.

In plain words
What is it for?
Use it to create plots, architecture diagrams, method diagrams, captions, and publication-ready output files.
Why use it?
It helps turn data into figures that show a clear claim and remain legible when printed or included in a document.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is df = pd.read_csv("../../results/latency.csv").

Part of the thesis plugin — 21 skills, 3 commands, 2 agents shipped together

Good fit Use it to create plots, architecture diagrams, method diagrams, captions, and publication-ready output files.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/KhaledSaeed18/dotclaude
agentmods
npx agentmods add skills/khaledsaeed18/dotclaude/research-figures

Made for: Claude Code.

Or install thesis, the plugin that ships this one along with the rest of its 21 skills, 3 commands, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for research-figures

README.md
[![agentmods](https://agentmods.dev/badge/skills/khaledsaeed18/dotclaude/research-figures/github.svg)](https://agentmods.dev/skills/khaledsaeed18/dotclaude/research-figures)
Your own site
<a href="https://agentmods.dev/skills/khaledsaeed18/dotclaude/research-figures"><img src="https://agentmods.dev/badge/skills/khaledsaeed18/dotclaude/research-figures/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for research-figures

Your own site · 80×15
<a href="https://agentmods.dev/skills/khaledsaeed18/dotclaude/research-figures"><img src="https://agentmods.dev/badge/skills/khaledsaeed18/dotclaude/research-figures.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,568 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00096 $0.01568
Opus 5.5 $0.00038 $0.00627
Sonnet 5.5 $0.00019 $0.00314
Haiku 4.5 $0.00010 $0.00157

Measured 25d ago against content hash 0f192df7e6ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

research-figures scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 25d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude-plugin/plugins/thesis/skills/research-figures/SKILL.md · 94 lines

How it starts

The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.

A figure earns its place by making one claim visible faster than the table does. Design from the claim, not from the data: decide what the reader must see, then choose the encoding that shows it.

Rules that apply to every figure

  • One claim per figure. If the caption needs "and also", split it.
  • Vector output (.pdf for LaTeX, .svg or 300-dpi .png for Word) at the final printed size, so fonts are not scaled. Text width in a typical thesis is about 6 inches (15 cm); set figsize accordingly and never rescale in the document.
  • Fonts match the document: same family (or the closest available) and a size between the caption size and the body size (9 to 11 pt at print size). Set once in the style file.
  • Colour-blind-safe palette (Okabe-Ito or viridis for sequential data). Never encode a difference by colour alone: vary marker or line style too, and check the figure in greyscale.
  • Show variance: error bars, confidence bands, or individual points. State in the caption what the bar is (SD, SEM, 95% CI) and n.
  • Direct labels at line ends beat legends when there are fewer than six series.
  • Axes start at zero for bar charts; for line charts, start where the data live and say so. Label with quantity and unit. Log scale when the data span orders of magnitude, stated in the label.
  • No chartjunk: no 3D, no gradients, no gridlines heavier than the data, no titles inside the figure (the caption is the title).
  • Consistency: the same variable has the same colour in every figure of the thesis. Keep a colors dict in the style module.
  • Reproducible: every figure comes from a script in figures/src/ that reads the data file and writes the output. No hand-edited figures.

Setup

figures/src/style.py:

import matplotlib as mpl
import matplotlib.pyplot as plt

OKABE_ITO = ["#0072B2", "#E69F00", "#009E73", "#D55E00", "#CC79A7", "#56B4E9", "#F0E442", "#000000"]
COLORS = {"baseline": OKABE_ITO[0], "ours": OKABE_ITO[3]}   # one entry per named series, thesis-wide

def use_thesis_style(text_width_in=6.0, ratio=0.6):
    mpl.rcParams.update({
        "figure.figsize": (text_width_in, text_width_in * ratio),
        "font.family": "serif", "font.size": 10,
        "axes.labelsize": 10, "axes.titlesize": 10,
        "xtick.labelsize": 9, "ytick.labelsize": 9, "legend.fontsize": 9,
        "axes.prop_cycle": mpl.cycler(color=OKABE_ITO),
        "axes.spines.top": False, "axes.spines.right": False,
        "axes.grid": True, "grid.alpha": 0.3, "grid.linewidth": 0.5,
        "lines.linewidth": 1.5, "lines.markersize": 4,
        "errorbar.capsize": 2,
        "savefig.bbox": "tight", "savefig.pad_inches": 0.02,
        "pdf.fonttype": 42, "ps.fonttype": 42,        # embed TrueType, editable text
        "text.usetex": False,                          # True if the LaTeX toolchain is present
    })

Read the full file on GitHub · 94 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 25d ago First seen · 94 lines · 96 tokens per session scan A 0f192df7e6ac

Subscribe to this mod's changes

research-figures is a skill published in the GitHub repository KhaledSaeed18/dotclaude (5 stars, last pushed 2d ago), licensed MIT. It adds 96 tokens to every session and 1,568 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-22.

Related

Other skills, from other repositories

data-warehouse-experimentation

Running experiments out of the data warehouse instead of via dedicated experiment platforms. SQL-based assignment, exposure logging discipline, metric definitions in dbt models, statistical analysis in SQL or Python, variance reduction with CUPED, sequential testing, and the operational tradeoffs vs platforms like…

rampstackco/claude-skills · 157 tokens

data-scientist

Processes and analyzes data with resident-kernel engines (DuckDB, Polars) and one-shot tools. Use for CSV/parquet/JSON analysis, group-by/join/aggregation, time series, distributions, cleaning, or plotting a dataset.

code-yeongyu/oh-my-openagent · 54 tokens

fortran

Best practices for modern Fortran (2003/2008+) scientific and numerical computing, covering modules, explicit interfaces, kind parameters, memory safety, and testing. Use when writing or reviewing Fortran source (.f90/.f95/.f03/.f08), defining modules and derived types, choosing numeric kind parameters, working with…

Mindrally/skills · 95 tokens

julia

Julia development guidelines covering multiple dispatch, type system, performance optimization, and scientific computing best practices.

Mindrally/skills · 22 tokens

hypothesis-testing-engine

Take any claim and design + execute a complete research protocol to test it. Apply scientific method automatically: design study, gather data, run analysis, provide verdict with confidence level.

OneWave-AI/claude-skills · 0 tokens

nlp-natural-language-processing

Expert guidance for natural language processing development using transformers, spaCy, NLTK, and modern NLP techniques.

Mindrally/skills · 28 tokens