agentleFS
spandan11106spandan11106/tminus/skills/figure-handling/SKILL.md

figure-handling

Skill3 starsChanged 11 days agoMITView on GitHub

Rules for using figures and charts from the book, slides or papers in tminus outputs: crop with crop_figure.py, view the image before using it, mark chart reads as approx. Use whenever a figure is cropped or a value is read off a chart.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    View the PNG with the Read tool before using it: Check that it is the right figure, complete, not cut, and has no neighbouring text.

    line 13
  2. Distinctive:

    Prefer tables to charts: If the book tabulates a value, use the table and cite it.

    line 15
  3. Very specific:

    Reading a chart: only after viewing the crop.

    line 16
  4. Distinctive:

    If a worked example in the book gives the value for the same inputs, use the book's value and cite it.

    line 18
  5. Distinctive:

    Cite: every figure: source, printed page, figure number.

    line 19

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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

Figures and charts

Let TM be ${CLAUDE_PLUGIN_ROOT}/scripts/tm.

  1. Crop: TM crop_figure <pdf> --printed <p> --offset <k> --caption "Fig. 5.3" --out figs/<name>.png (or --page <pdf page> --bbox x0,y0,x1,y1 --units frac). Keep PNGs under 600 KB (lower --dpi).
  2. View the PNG with the Read tool before using it. Check that it is the right figure, complete, not cut, and has no neighbouring text. Re-crop if not. Never insert a figure you have not looked at.
  3. Prefer tables to charts. If the book tabulates a value, use the table and cite it.
  4. Reading a chart: only after viewing the crop. Mark every read-off value with \approxval{1.72}{Fig. 5.3, read at r/d = 0.1} (Markdown: 1.72 (approx., read from Fig. 5.3 at r/d = 0.1)). If a worked example in the book gives the value for the same inputs, use the book's value and cite it.
  5. Cite every figure: source, printed page, figure number. Simple schematics may be drawn in TikZ instead.
  6. Copyright: figures go only into the user's own outputs inside their course folder, never into the plugin repo.

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.