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…
Lets a plotting agent query a gallery of scientific figure references, show candidates for you to pick from, and export the chosen ones before it writes plot code.
$ npx skills add Dsadd4/AgentFigureGallery --skill agent-figure-gallery -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Dsadd4/AgentFigureGallery agent-figure-gallery --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Dsadd4/AgentFigureGallery.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/agent-figure-gallery .claude/skills/agent-figure-gallery && rm -rf skills-srcUse ~/.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/
Install the "agent-figure-gallery" agent skill from https://github.com/Dsadd4/AgentFigureGallery/tree/main/skills/agent-figure-gallery into .claude/skills/agent-figure-gallery/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agent-figure-gallery", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Dsadd4/AgentFigureGallery/tree/main/skills/agent-figure-galleryType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Dsadd4/AgentFigureGallery --skill agent-figure-gallery -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Dsadd4/AgentFigureGallery agent-figure-gallery --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Dsadd4/AgentFigureGallery.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/agent-figure-gallery .agents/skills/agent-figure-gallery && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "agent-figure-gallery" agent skill from https://github.com/Dsadd4/AgentFigureGallery/tree/main/skills/agent-figure-gallery into .agents/skills/agent-figure-gallery/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agent-figure-gallery", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Dsadd4/AgentFigureGallery --skill agent-figure-gallery -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Dsadd4/AgentFigureGallery agent-figure-gallery --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Dsadd4/AgentFigureGallery.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/agent-figure-gallery .cursor/skills/agent-figure-gallery && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "agent-figure-gallery" agent skill from https://github.com/Dsadd4/AgentFigureGallery/tree/main/skills/agent-figure-gallery into .cursor/skills/agent-figure-gallery/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agent-figure-gallery", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Dsadd4/AgentFigureGallery.git --path skills/agent-figure-gallery--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Dsadd4/AgentFigureGallery --skill agent-figure-gallery -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Dsadd4/AgentFigureGallery agent-figure-gallery --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Dsadd4/AgentFigureGallery.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/agent-figure-gallery .gemini/skills/agent-figure-gallery && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "agent-figure-gallery" agent skill from https://github.com/Dsadd4/AgentFigureGallery/tree/main/skills/agent-figure-gallery into .gemini/skills/agent-figure-gallery/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agent-figure-gallery", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Dsadd4/AgentFigureGallery agent-figure-galleryInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Dsadd4/AgentFigureGallery --skill agent-figure-gallery -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Dsadd4/AgentFigureGallery.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/agent-figure-gallery .github/skills/agent-figure-gallery && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "agent-figure-gallery" agent skill from https://github.com/Dsadd4/AgentFigureGallery/tree/main/skills/agent-figure-gallery into .github/skills/agent-figure-gallery/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agent-figure-gallery", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Dsadd4/AgentFigureGallery --skill agent-figure-gallery -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Dsadd4/AgentFigureGallery agent-figure-gallery --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Dsadd4/AgentFigureGallery.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/agent-figure-gallery .opencode/skills/agent-figure-gallery && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "agent-figure-gallery" agent skill from https://github.com/Dsadd4/AgentFigureGallery/tree/main/skills/agent-figure-gallery into .opencode/skills/agent-figure-gallery/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agent-figure-gallery", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
agent-figure-galleryLets a plotting agent query a gallery of scientific figure references, show candidates for you to pick from, and export the chosen ones before it writes plot code.
This skill acts as a light controller for an external AgentFigureGallery knowledge base, found through the AGENT_FIGURE_GALLERY_ROOT or DRAWING_KB_ROOT environment variable. The figure collection itself is not loaded into the skill. The agent queries the gallery for the task first, then generates visible candidates for a chosen plot type and serves them on localhost through the agentfiguregallery command line tool.
You mark candidates as like, reject or select, or use global like and global reject for preferences that apply across tasks. The selected references are exported as a bundle, optionally with their scripts, and the agent consults that bundle before writing or revising plotting code. Local preferences keep their plot type, global rejects hide a figure from later sessions, and the file closes with a short check to run after changes to the tool, the gallery or the bundle export.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 0b55f26. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Agent Figure Gallery loads about 643 tokens when it runs. Until then it costs about 56 tokens; SKILL.md has 188 words of instructions outside code blocks.
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.
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.
The full file from Dsadd4/AgentFigureGallery at commit 0b55f26, republished under its MIT licence (© Dsadd4). 188 words, ~643 tokens.
.claude/skills/agent-figure-gallery/SKILL.md (or your agent's skills folder).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.
AGENT_FIGURE_GALLERY_ROOT=/path/to/AgentFigureGalleryagentfiguregallery or python -m agentfiguregallery.clidata/reference_candidate_index.jsondata/reference_global_preferences.jsonoutputs/reference_sessions/export AGENT_FIGURE_GALLERY_ROOT=/path/to/AgentFigureGalleryagentfiguregallery query --task "<user task>"agentfiguregallery gallery --plot-type <plot_type> --task "<user task>" --limit 50 --serveagentfiguregallery prefer --session outputs/reference_sessions/<session_id> --like <ID> --reject <ID> --select <ID>agentfiguregallery bundle --session outputs/reference_sessions/<session_id> --copy-scriptslike: 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.
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>Success means visible candidates render, stable IDs are shown, preferences persist, global rejects are hidden from later generated sessions, and the bundle contains selected references plus source code paths.
© Dsadd4, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/agent-figure-gallery of Dsadd4/AgentFigureGallery.
Open the folder on GitHubat commit 0b55f26
Agent Figure Gallery 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Agent Figure Gallery this skillDsadd4/AgentFigureGallery | 163 | — | ~643 | Automated safety check: Pass | MIT | |
| Scientific Figure MakingChenLiu-1996/figures4papers | 8.3k | — | ~557 | Automated safety check: Pass | Custom licence | |
| FigMirrorVILA-Lab/FigMirror | 521 | — | ~2.4k | Automated safety check: Pass | None | |
| Scientific Figure Generationlingzhi227/agent-research-skills | 390 | — | ~809 | Automated safety check: Pass | None | |
| MathModel Figure Templatesjihe520/MathModelAgent | 6.2k | — | ~627 | Automated safety check: Notes | None | |
| FigMirror Figure Style TransferVILA-Lab/FigMirror | 521 | — | ~2.1k | Automated safety check: Pass | None |
ChenLiu-1996/figures4papers
Covers publication-ready matplotlib figures for academic papers, slides, and reports—bars, trends, scatter, heatmaps, and multi-panel layouts—with this…
VILA-Lab/FigMirror
Mirrors the visual style of a top-conference paper figure onto your own data, producing a camera-ready PDF and a self-contained matplotlib script.
lingzhi227/agent-research-skills
Generates publication-quality scientific figures with matplotlib or seaborn through query expansion, a run-and-retry coding loop and a visual check of the rendered PNG.
jihe520/MathModelAgent
Renders ready-made scientific figure templates, such as raincloud plots, Taylor diagrams and chord diagrams, from bundled Python scripts in the MathModel sandbox.
VILA-Lab/FigMirror
Redraws your data as a matplotlib figure in the visual style of a reference paper figure, using a drawer and reviewer loop.
csmar432/finai-research
生成研究/项目架构图、流程图、层次图(swimlane / processflow / hierarchytree)。适合 PPT 汇报、技术文档、综述插图。输出风格接近 draw.io,可选 graphviz(高质量)/ matplotlib(零依赖)双后端。
Works with
Categories
Lets a plotting agent query a gallery of scientific figure references, show candidates for you to pick from, and export the chosen ones before it writes plot code. This skill acts as a light controller for an external AgentFigureGallery knowledge base, found through the AGENT_FIGURE_GALLERY_ROOT or DRAWING_KB_ROOT environment variable. The figure collection itself is not loaded into the skill.
Agent Figure Gallery fits situations like: choosing the visual style for a scientific figure from reference examples; letting a person pick preferred example plots before the agent codes the figure; revising plot code so it matches figures you selected earlier; hiding reference figures you never want shown again.
Run `npx skills add Dsadd4/AgentFigureGallery --skill agent-figure-gallery -a claude-code`. Or copy the skill folder (skills/agent-figure-gallery in Dsadd4/AgentFigureGallery) into .claude/skills/agent-figure-gallery in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Dsadd4/AgentFigureGallery --skill agent-figure-gallery -a codex`. Or copy the skill folder (skills/agent-figure-gallery in Dsadd4/AgentFigureGallery) into .agents/skills/agent-figure-gallery in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Dsadd4/AgentFigureGallery --skill agent-figure-gallery -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/agent-figure-gallery, .gemini/skills/agent-figure-gallery, .github/skills/agent-figure-gallery and .opencode/skills/agent-figure-gallery in your project.
Going by SKILL.md and its folder, Agent Figure Gallery needs the command-line tools its instructions call (python). Our summary lists: A local copy of the AgentFigureGallery knowledge base, pointed to by AGENT_FIGURE_GALLERY_ROOT; The agentfiguregallery command line tool, which runs on Python.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
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.
Agent Figure Gallery is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 643 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Agent Figure Gallery: Scientific Figure Making (ChenLiu-1996/figures4papers, 8.3k stars), FigMirror (VILA-Lab/FigMirror, 521 stars), Scientific Figure Generation (lingzhi227/agent-research-skills, 390 stars) and MathModel Figure Templates (jihe520/MathModelAgent, 6.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Dsadd4 (a GitHub user) maintains it in Dsadd4/AgentFigureGallery, which has 163 GitHub stars. The repository was last updated on September 5, 2026.
Source: Dsadd4/AgentFigureGallery on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.