Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/has2k1/plotnine-skill/plotninenpx skills add has2k1/plotnine-skill --skill plotninegit clone --depth 1 https://github.com/has2k1/plotnine-skillWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00064 | $0.02439 |
| Opus 5 | $0.00032 | $0.01220 |
| Sonnet 5 | $0.00013 | $0.00488 |
| Haiku 4.5 | $0.00006 | $0.00244 |
Grade A, and why
plotnine 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 260 lines — stays where its author put it; the contents beside it link to each section on GitHub.
plotnine
This skill targets plotnine 0.15+ with pandas 2.x.
Behavioral Rules
-
Runnability — all generated code is executable as-is. Include imports, data loading, and the full ggplot expression. No pseudocode, no
...elisions, no undefined variables. -
Idiomatic plotnine — use
+layering,aes(),theme_*,labs(),scale_*. Never fall back to matplotlib. If plotnine cannot achieve the result, propose the closest plotnine-idiomatic alternative and explain the limitation. -
Data completeness — generated code must include all data needed to run: inline
pd.DataFrame()construction,plotnine.datadatasets, or clearly referenced from the user's existing context. Never reference undefined DataFrames. -
Minimal transformations — prefer simple pandas ops (
groupby,agg,melt) or polars equivalents. Prefer plotninestat_*/position_*over manual aggregation when possible. -
Accessibility — always provide descriptive axis labels via
labs()and clear legend titles. When the user requests accessible colors, recommend colorblind-safe palettes (Set2, viridis, Okabe-Ito). Provide alt-text guidance when asked. -
Reproducibility — use
random_state=42for any plotnine method that accepts it (e.g.,DataFrame.sample()). Seed synthetic data withnumpy.random.default_rng(42).
When to Use What
Task: Create a basic plot (scatter, bar, line, histogram, boxplot) Use: "Plotnine Essentials" below, then references/geoms.md
Task: Map variables to visual properties or customize scales Use: references/aesthetics-and-scales.md
Task: Customize appearance (fonts, backgrounds, gridlines, themes) Use: references/themes-and-styling.md
Task: Choose accessible colors or palettes Use: references/color-and-accessibility.md
Task: Reshape or prepare data for a specific chart Use: references/data-preparation.md
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/aesthetic-specification.md 5.6 KB
- references/aesthetics-and-scales.md 9.4 KB
- references/api/coord_cartesian.md 1.2 KB
- references/api/coord_equal.md 676 B
- references/api/coord_fixed.md 1.2 KB
- references/api/coord_flip.md 1.3 KB
- references/api/coord_trans.md 1.4 KB
- references/api/geom_abline.md 1.9 KB
- references/api/geom_area.md 2.5 KB
- references/api/geom_bar.md 2.8 KB
- references/api/geom_bin_2d.md 2.0 KB
- references/api/geom_bin2d.md 56 B
- references/api/geom_blank.md 1.8 KB
- references/api/geom_boxplot.md 3.4 KB
- references/api/geom_col.md 2.7 KB
- references/api/geom_count.md 1.9 KB
- references/api/geom_crossbar.md 2.2 KB
- references/api/geom_density_2d.md 1.9 KB
- references/api/geom_density.md 2.5 KB
- references/api/geom_dotplot.md 2.3 KB
- references/api/geom_errorbar.md 2.0 KB
- references/api/geom_errorbarh.md 2.1 KB
- references/api/geom_freqpoly.md 248 B
- references/api/geom_histogram.md 2.2 KB
- references/api/geom_hline.md 1.9 KB
- references/api/geom_jitter.md 2.8 KB
- references/api/geom_label.md 3.3 KB
- references/api/geom_line.md 2.3 KB
- references/api/geom_linerange.md 2.0 KB
- references/api/geom_map.md 2.0 KB
- references/api/geom_path.md 2.3 KB
- references/api/geom_point.md 2.7 KB
- references/api/geom_pointdensity.md 2.0 KB
- references/api/geom_pointrange.md 2.1 KB
- references/api/geom_polygon.md 1.9 KB
- references/api/geom_qq_line.md 1.9 KB
- references/api/geom_qq.md 1.9 KB
- references/api/geom_quantile.md 2.2 KB
- references/api/geom_raster.md 2.6 KB
- references/api/geom_rect.md 1.9 KB
- references/api/geom_ribbon.md 2.5 KB
- references/api/geom_rug.md 2.7 KB
- references/api/geom_segment.md 3.1 KB
- references/api/geom_sina.md 1.9 KB
- references/api/geom_smooth.md 3.6 KB
- references/api/geom_spoke.md 2.0 KB
- references/api/geom_step.md 2.4 KB
- references/api/geom_text.md 3.4 KB
- references/api/geom_tile.md 2.3 KB
- references/api/geom_violin.md 2.2 KB
- references/api/geom_vline.md 1.9 KB
- references/api/scale_alpha_continuous.md 2.7 KB
- references/api/scale_alpha_datetime.md 3.3 KB
- references/api/scale_alpha_discrete.md 2.2 KB
- references/api/scale_alpha_identity.md 2.6 KB
- references/api/scale_alpha_manual.md 2.3 KB
- references/api/scale_alpha_ordinal.md 2.2 KB
- references/api/scale_alpha.md 2.7 KB
- references/api/scale_color_brewer.md 2.8 KB
- references/api/scale_color_cmap_d.md 2.1 KB
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.
- yesterday First seen · 260 lines · 64 tokens per session scan A 11f14b4c3088
plotnine is a skill published in the GitHub repository has2k1/plotnine-skill (9 stars, last pushed 4mo ago), licensed MIT. It adds 64 tokens to every session and 2,439 once invoked, about $0.0003 per session on Opus 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-08-31.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
babysit-pr
Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…
imagegen
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…