agent-figure-gallery

agent-figure-gallery is a skill for Claude Code, Codex from Dsadd4/AgentFigureGallery. It costs 36 tokens per session (557 once invoked), scanned A, original, MIT.

A visual reference gallery for scientific figures. It finds example charts and lets a person choose references for guiding later plotting work.

In plain words
What is it for?
Use it to search a figure library, display candidate references, record which examples a person likes or rejects, and export the selected examples for plotting agents.
Why use it?
It makes visual preferences explicit before a chart is coded, reducing guesswork about layout, styling, and presentation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to search a figure library, display candidate references, record which examples a person likes or rejects, and export the selected examples for plotting agents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dsadd4/agentfiguregallery/agent-figure-gallery
Install

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.

Any agent
npx skills add Dsadd4/AgentFigureGallery --skill agent-figure-gallery
Clone the repo
git clone --depth 1 https://github.com/Dsadd4/AgentFigureGallery

Made for: Claude Code, Codex.

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 agent-figure-gallery

README.md
[![agentmods](https://agentmods.dev/badge/skills/dsadd4/agentfiguregallery/agent-figure-gallery/github.svg)](https://agentmods.dev/skills/dsadd4/agentfiguregallery/agent-figure-gallery)
Your own site
<a href="https://agentmods.dev/skills/dsadd4/agentfiguregallery/agent-figure-gallery"><img src="https://agentmods.dev/badge/skills/dsadd4/agentfiguregallery/agent-figure-gallery/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 agent-figure-gallery

Your own site · 80×15
<a href="https://agentmods.dev/skills/dsadd4/agentfiguregallery/agent-figure-gallery"><img src="https://agentmods.dev/badge/skills/dsadd4/agentfiguregallery/agent-figure-gallery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 557 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00036 $0.00557
Opus 5.5 $0.00014 $0.00223
Sonnet 5.5 $0.00007 $0.00111
Haiku 4.5 $0.00004 $0.00056

Measured 1mo ago against content hash 8be0dfeba256, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-figure-gallery 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 1mo 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.

skills/agent-figure-gallery/SKILL.md · 66 lines

How it starts

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

Core Rule

Treat this skill as a lightweight controller. Do not load the full visual corpus into the skill. Use AGENT_FIGURE_GALLERY_ROOT or DRAWING_KB_ROOT to point at the external AgentFigureGallery knowledge base.

Key Files

  • KB root: AGENT_FIGURE_GALLERY_ROOT=/path/to/AgentFigureGallery
  • CLI: agentfiguregallery or python -m agentfiguregallery.cli
  • Gallery server: backend command that serves the reference gallery on localhost
  • Candidate index: data/reference_candidate_index.json
  • Global preferences: data/reference_global_preferences.json
  • Reference sessions: outputs/reference_sessions/

Minimal Workflow

  1. Resolve the KB root:
    export AGENT_FIGURE_GALLERY_ROOT=/path/to/AgentFigureGallery
    
  2. Query before reading individual references:
    agentfiguregallery query --task "<user task>"
    
  3. Generate visible candidates:
    agentfiguregallery gallery --plot-type <plot_type> --task "<user task>" --limit 50 --serve
    
  4. Record human preferences:
    agentfiguregallery prefer --session outputs/reference_sessions/<session_id> --like <ID> --reject <ID> --select <ID>
    
  5. Export a selected bundle:
    agentfiguregallery bundle --session outputs/reference_sessions/<session_id> --copy-scripts
    
  6. Use the bundle before writing or revising plotting code.

Preference Semantics

  • like: useful for this task or plot type.
  • reject: not useful for this task or plot type.
  • select: use this candidate for the current agent action.
  • global_like: generally useful across tasks.
  • global_reject: hide from future sessions.

Local preferences must preserve plot_type. Global preferences are cross-task.

Validation

After changing the CLI, gallery, preference logic, or bundle export:

agentfiguregallery gallery --plot-type embedding_plot --limit 20 --serve
agentfiguregallery prefer --session outputs/reference_sessions/<session_id> --like E01 --select E02
agentfiguregallery bundle --session outputs/reference_sessions/<session_id>

Read the full file on GitHub · 66 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. 1mo ago First seen · 66 lines · 36 tokens per session scan A 8be0dfeba256

Subscribe to this mod's changes

agent-figure-gallery is a skill published in the GitHub repository Dsadd4/AgentFigureGallery (169 stars, last pushed 1mo ago), licensed MIT. It adds 36 tokens to every session and 557 once invoked, about $0.0001 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-08-30.

Related

Other skills, from other repositories

origin-plotting

A guide to using Origin, a scientific graphing and analysis application, through connected tools. It covers writing data, making charts, formatting them, and viewing the results.

Fantasality/dsh-origin-plugin · 134 tokens

install-dsh-origin

An installation guide for dsh-origin-plugin, which connects an AI assistant to OriginLab so it can create charts and export files. OriginLab is Windows software for plotting and analysing scientific data.

Fantasality/dsh-origin-plugin · 69 tokens

origin-scripting

A guide for generating Python or LabTalk scripts that users can paste into OriginLab and run themselves. It is an alternative to connecting an AI assistant through MCP.

Fantasality/dsh-origin-plugin · 66 tokens

origin-stats

A set of statistical analysis procedures for Origin, a scientific data-analysis and graphing program. It covers summaries, transformations, correlations, tests, principal component analysis, frequency analysis, and survival analysis.

Fantasality/dsh-origin-plugin · 88 tokens

svg-editor

Open and surgically edit SVG scientific figures in the SVG Editor MCP App. Use when the user wants to change text, colors, fonts, positions, legends, or panel letters in an existing SVG by hand, or by selecting elements and instructing the host assistant.

xuzhougeng/svg-editor · 56 tokens

onekgpd

Queries the 1000 Genomes Project dataset (3,202 whole-genome-sequenced individuals, GRCh38) at the level of individual participants. Use when a question is about individuals or variants in the 1000 Genomes Project cohort: which individuals carry variants matching specific criteria in a gene or region, which…

K-Dense-AI/scientific-agent-skills · 143 tokens