agentleFS
MOUCHILI-techMOUCHILI-tech/miroswarm/.claude/skills/plotting/SKILL.md

plotting

Skill0 starsChanged 6 months agoMITView on GitHub

Use this skill whenever generating, modifying, or styling matplotlib figures for the MiroSwarm project. Triggers include any plot creation, figure for the report, trajectory visualization, ablation comparison chart, or any time a .png/.pdf is produced for figures/. Ensures all figures share a consistent thesis-quality style.

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. cline/plugins★ 36same name
    2. cline/skills★ 35same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository2 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    All figures must follow these rules so they look consistent in the final report.

    line 8
  2. Distinctive:

    Every figure has axis labels with units.

    line 54
  3. Distinctive:

    Every comparison plot has a legend in the upper-right unless that overlaps data.

    line 55
  4. Distinctive:

    No 3D plots unless explicitly requested.

    line 61
  5. Distinctive:

    No emoji or unicode arrows in labels.

    line 62
  6. Distinctive:

    No raster images embedded into PDFs (use matplotlib vector output).

    line 63
  7. Distinctive:

    No more than 4 lines on the same comparison plot — split into subplots if needed.

    line 64

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

MiroSwarm Plotting Style

All figures must follow these rules so they look consistent in the final report.

Required imports and rcParams

import matplotlib.pyplot as plt
import numpy as np

plt.rcParams.update({
    "figure.figsize": (6.0, 4.0),
    "figure.dpi": 150,
    "savefig.dpi": 300,
    "savefig.bbox": "tight",
    "font.family": "serif",
    "font.size": 10,
    "axes.labelsize": 11,
    "axes.titlesize": 12,
    "legend.fontsize": 9,
    "axes.spines.top": False,
    "axes.spines.right": False,
    "axes.grid": True,
    "grid.alpha": 0.3,
    "grid.linestyle": "--",
    "lines.linewidth": 1.6,
})

Color palette (use these names everywhere)

  • Hybrid (LLM + math): #D55E00 (vermillion)
  • Gradient-only baseline: #0072B2 (blue)
  • Homogeneous baseline: #009E73 (green)
  • No-memory baseline: #CC79A7 (purple)
  • Source/target marker: #E69F00 (orange star)
  • Obstacles: #666666 (gray)

These are colorblind-safe.

File output

  • Save as both PNG (for slides) and PDF (for report).
  • Path: figures/<exp_name>/<fig_name>.{png,pdf}.
  • Filename uses snake_case, no spaces.

Mandatory elements

  • Every figure has axis labels with units.
  • Every comparison plot has a legend in the upper-right unless that overlaps data.
  • Time-series plots show mean as solid line and ± 1 std as a shaded band (use alpha=0.2).
  • Trajectory snapshots include t=, the source location, and a scale bar.

What NOT to do

  • No 3D plots unless explicitly requested.
  • No emoji or unicode arrows in labels.
  • No raster images embedded into PDFs (use matplotlib vector output).
  • No more than 4 lines on the same comparison plot — split into subplots if needed.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.