Agent skill

Matplotlib

by xenodium in xenodium/emacs-skills

This skill should be used when the user invokes "/matplotlib" to plot data from the current context using matplotlib (via uv) and output the resulting image path.

No licenceAuto-check passedData & Analytics

Install Matplotlib

skills CLI
$ npx skills add xenodium/emacs-skills --skill matplotlib -a claude-code

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

GitHub CLI
$ gh skill install xenodium/emacs-skills matplotlib --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/xenodium/emacs-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/matplotlib .claude/skills/matplotlib && 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
matplotlib
GitHub stars
142
Token cost
~690 tokens
SKILL.md length
264 words
Files
1
Skills in repo
19
Repo updated
First seen
Licence
None found

At a glance

This skill should be used when the user invokes "/matplotlib" to plot data from the current context using matplotlib (via uv) and output the resulting image path.

  • Works in 5 steps: Extract or derive plottable data from… → If the Emacs foreground color is not… → Write a Python script to a temporary… → …
  • Invokes /matplotlib to plot data from the current context using matplotlib (via uv) and output the resulting image path
  • SKILL.md covers How to plot, Python script template and Rules
  • Calls uv and pip

What it does

Matplotlib is an agent skill from xenodium/emacs-skills. This skill should be used when the user invokes "/matplotlib" to plot data from the current context using matplotlib (via uv) and output the resulting image path.

Its SKILL.md is about 690 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 Data & Analytics, covering Data visualization. It works with Matplotlib. The repository describes itself as: Emacs skills for coding agents.

When your agent uses it

  • Invokes /matplotlib to plot data from the current context using matplotlib (via uv) and output the resulting image path
  • Tasks that involve Data visualization

Example prompts

  • “/matplotlib”
  • “/matplotlib”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Extract or derive plottable data from the current context.
  2. If the Emacs foreground color is not already known from a previous plot in this session, query it
  3. Write a Python script to a temporary file using that color.
  4. Run the script with uv run --with matplotlib.
  5. Output the result as a markdown image on its own line

What it can do on your machine

Read from SKILL.md and the folder at commit a158238. 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

    Shell commands in SKILL.md call:

    • uv
    • pip

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

  • Network

    No URLs in SKILL.md. Its commands use uv and pip, which can reach the network depending on how they are called.

    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

Matplotlib loads about 690 tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 264 words of instructions outside code blocks.

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

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 264 words (~690 tokens).

“Plot data from the most recent interaction context using matplotlib. Generate a PNG image with a transparent background and output it as a markdown image so it renders inline.”

— opening of SKILL.md by xenodium
name
matplotlib
tools
Bash
disable-model-invocation
true

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/matplotlib of xenodium/emacs-skills.

Open the folder on GitHubat commit a158238

Compare with similar skills

Matplotlib 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.

Matplotlib compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Matplotlib this skillxenodium/emacs-skills142—~690Automated safety check: PassNone
MatplotlibzLanqing/codex-claude-academic-skills4.6k17 repos~2.9kAutomated safety check: PassMIT
Scientific Visualizationmims-harvard/OptimusKG14619 repos~6.3kAutomated safety check: PassMIT
SeabornzLanqing/codex-claude-academic-skills4.6k16 repos~4.9kAutomated safety check: PassBSD-3-Clause
Plot From DataTrae1ounG/paper-plot-skills8611 repos~583Automated safety check: PassNone
Scientific Figure MakingChenLiu-1996/figures4papers8.1k—~557Automated safety check: PassCustom licence

Similar skills

  • Matplotlib

    zLanqing/codex-claude-academic-skills

    Low-level plotting library for full customization. An agent skill from zLanqing/codex-claude-academic-skills.

    4.6k GitHub starsUsed in 17 repos~2.9k tokens
    Data & AnalyticsAuto-check passed
  • Scientific Visualization

    mims-harvard/OptimusKG

    Create publication figures with matplotlib/seaborn/plotly. An agent skill from mims-harvard/OptimusKG.

    146 GitHub starsUsed in 19 repos~6.3k tokens
    Data & AnalyticsAuto-check passed
  • Seaborn

    zLanqing/codex-claude-academic-skills

    Statistical visualization with pandas integration. An agent skill from zLanqing/codex-claude-academic-skills.

    4.6k GitHub starsUsed in 16 repos~4.9k tokens
    Data & AnalyticsAuto-check passed
  • Plot From Data

    Trae1ounG/paper-plot-skills

    Generate publication-quality matplotlib figures by selecting a pre-built paper style and substituting user data.

    861 GitHub starsUsed in 1 repo~583 tokens
    Data & AnalyticsAuto-check passed
  • Scientific Figure Making

    ChenLiu-1996/figures4papers

    Covers publication-ready matplotlib figures for academic papers, slides, and reports—bars, trends, scatter, heatmaps, and multi-panel layouts—with this…

    8.1k GitHub stars~557 tokensUpdated yesterday
    Data & AnalyticsAuto-check passed
  • Plot From Image

    Trae1ounG/paper-plot-skills

    Reproduce any academic paper figure from an uploaded image using accumulated style experience.

    861 GitHub starsUsed in 1 repo~868 tokens
    Data & AnalyticsAuto-check passed

More from xenodium/emacs-skills

All 19 skills in this repo
  • D2

    xenodium/emacs-skills

    This skill should be used when the user invokes "/d2" to create a diagram from the current context using D2 and output the resulting image path.

    142 GitHub stars~693 tokensUpdated 2 mo ago
    Auto-check passed
  • GitHub Activity

    xenodium/emacs-skills

    This skill should be used when the user invokes "/github-activity" to analyze a GitHub project's recent activity (PRs and issues) and produce a succinct, chart-backed health report.

    142 GitHub stars~1.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Gnuplot

    xenodium/emacs-skills

    This skill should be used when the user invokes "/gnuplot" to plot data from the current context using gnuplot and output the resulting image path.

    142 GitHub stars~734 tokensUpdated 2 mo ago
    Auto-check passed
  • Mappu

    xenodium/emacs-skills

    A skill your agent uses when the user asks about a specific place — restaurant, cafe, shop, business, landmark — or when context implies a location-based lookup ("where is X", "find Y", "X in Z", "X…

    142 GitHub stars~925 tokensUpdated 2 mo ago
    Auto-check passed
  • Mermaid

    xenodium/emacs-skills

    This skill should be used when the user invokes "/mermaid" to create a diagram from the current context using Mermaid and output the resulting image path.

    142 GitHub stars~893 tokensUpdated 2 mo ago
    Auto-check passed
  • Plantuml

    xenodium/emacs-skills

    This skill should be used when the user invokes "/plantuml" to create a diagram from the current context using PlantUML and output the resulting image path.

    142 GitHub stars~795 tokensUpdated 2 mo ago
    Auto-check passed

Works with

Questions about Matplotlib

What does Matplotlib do?

This skill should be used when the user invokes "/matplotlib" to plot data from the current context using matplotlib (via uv) and output the resulting image path. Matplotlib is an agent skill from xenodium/emacs-skills. This skill should be used when the user invokes "/matplotlib" to plot data from the current context using matplotlib (via uv) and output the resulting image path.

When should I use Matplotlib?

Matplotlib fits situations like: invokes /matplotlib to plot data from the current context using matplotlib (via uv) and output the resulting image path; tasks that involve Data visualization.

How do I install Matplotlib in Claude Code?

Run `npx skills add xenodium/emacs-skills --skill matplotlib -a claude-code`. Or copy the skill folder (skills/matplotlib in xenodium/emacs-skills) into .claude/skills/matplotlib in your project. Claude Code loads it when a task matches its description.

How do I install Matplotlib in Codex?

Run `npx skills add xenodium/emacs-skills --skill matplotlib -a codex`. Or copy the skill folder (skills/matplotlib in xenodium/emacs-skills) into .agents/skills/matplotlib in your project. Codex loads it when a task matches its description.

Can I use Matplotlib 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 xenodium/emacs-skills --skill matplotlib -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/matplotlib, .gemini/skills/matplotlib, .github/skills/matplotlib and .opencode/skills/matplotlib in your project.

What does Matplotlib need to run?

Going by SKILL.md and its folder, Matplotlib needs the command-line tools its instructions call (uv and pip). Our summary lists: Python 3.

Does Matplotlib access the network?

SKILL.md contains no URLs. Its commands use uv and pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Matplotlib 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 Matplotlib use?

No licence was found for Matplotlib or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Matplotlib use?

About 690 tokens (SKILL.md is roughly 2.8k 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 Matplotlib?

Skills that share tags, products or a category with Matplotlib: Matplotlib (zLanqing/codex-claude-academic-skills, 4.6k stars), Scientific Visualization (mims-harvard/OptimusKG, 146 stars), Seaborn (zLanqing/codex-claude-academic-skills, 4.6k stars) and Plot From Data (Trae1ounG/paper-plot-skills, 861 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Matplotlib?

xenodium (a GitHub user) maintains it in xenodium/emacs-skills, which has 142 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on July 21, 2026.

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