Agent skill

Multi Panel Figure Assembler

by aipoch in aipoch/medical-research-skills

Assemble 6 sub-figures (A–F) into a high-resolution composite figure with consistent labels, padding, and publication-ready DPI.

MITAuto-check passedData & Analytics

Install Multi Panel Figure Assembler

skills CLI
$ npx skills add aipoch/medical-research-skills --skill multi-panel-figure-assembler -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aipoch/medical-research-skills multi-panel-figure-assembler --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/scientific-skills/Other/multi-panel-figure-assembler .claude/skills/multi-panel-figure-assembler && rm -rf skills-src

Use ~/.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/

Facts

Skill name
multi-panel-figure-assembler
GitHub stars
2k
Token cost
~1.5k tokens
SKILL.md length
632 words
Files
6 (incl. scripts)
Skills in repo
567
Repo updated
First seen
Licence
MIT

At a glance

Assemble 6 sub-figures (A–F) into a high-resolution composite figure with consistent labels, padding, and publication-ready DPI.

  • Works in 5 steps: Validate input — confirm scope and that… → Confirm the user objective, required… → Use the packaged script path or the… → …
  • Data & Analytics work in your project
  • SKILL.md covers Input Validation, When to Use, Workflow and Usage, plus 8 more sections
  • Runs Python scripts from its folder; calls python and pip

What it does

Multi Panel Figure Assembler is an agent skill from aipoch/medical-research-skills. Assemble 6 sub-figures (A–F) into a high-resolution composite figure with consistent labels, padding, and publication-ready DPI.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts (for example `multi-panel-figure-assembler_audit_result_v4.json`, `scripts/__init__.py` and `scripts/example.py`).

It sits in Data & Analytics. The repository describes itself as: Hundreds of agent skills for medical research, including protocol design, data analysis, evidence insights, and academic writing. The licence is MIT.

When your agent uses it

  • Data & Analytics work in your project

Example prompts

  • “/multi-panel-figure-assembler”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Validate input — confirm scope and that exactly 6 panels are provided before any processing. Do not generate any output before this check.
  2. Confirm the user objective, required inputs, and non-negotiable constraints.
  3. Use the packaged script path or the documented reasoning path with only the inputs that are actually available.
  4. Return a structured result that separates assumptions, deliverables, risks, and unresolved items.
  5. If execution fails or inputs are incomplete, switch to the fallback path and state exactly what blocked full completion.

What it can do on your machine

Read from SKILL.md and the folder at commit 686e09d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Ships 3 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Multi Panel Figure Assembler loads about 1.5k tokens when it runs. Until then it costs about 39 tokens; SKILL.md has 632 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~39
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

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.

Safety

Auto-check passed

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); the scripts in this folder are not scanned.

SKILL.md

The full file from aipoch/medical-research-skills at commit 686e09d, republished under its MIT licence (© aipoch). 632 words, ~1,502 tokens.

Download SKILL.mdSave it as .claude/skills/multi-panel-figure-assembler/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
multi-panel-figure-assembler
description
Assemble 6 sub-figures (A–F) into a high-resolution composite figure with consistent labels, padding, and publication-ready DPI.
license
MIT
author
AIPOCH

Source: https://github.com/aipoch/medical-research-skills

Multi-Panel Figure Assembler

Assemble 6 sub-figures (A–F) into a high-resolution composite figure with consistent styling, labels, and publication-ready output.

Input Validation

This skill accepts: exactly 6 image files (panels A–F) in supported formats, plus an output path, for assembly into a composite figure.

If the request does not involve assembling exactly 6 image panels into a composite figure — for example, asking to generate plots from data, edit image content, or assemble a different number of panels — do not proceed. Instead respond:

"multi-panel-figure-assembler is designed to assemble exactly 6 sub-figures (A–F) into a composite image. Your request appears to be outside this scope. Please provide 6 image files and an output path, or use a more appropriate tool for your task. For plot generation from data, consider matplotlib, seaborn, or R ggplot2."

Do not attempt any data processing or partial analysis before emitting this refusal. Validate scope first — this is the absolute first action before any other processing.

When to Use

  • Combining individual plot panels into a single composite figure for publication
  • Standardizing label fonts, padding, and DPI across a figure set
  • Producing 2×3 or 3×2 grid layouts from existing image files
  • Automating figure assembly to ensure reproducibility

Note: This skill is fixed to exactly 6 panels (A–F labeling convention). For 4-panel (2×2) or 9-panel (3×3) layouts, a future --panels parameter may be added.

Workflow

  1. Validate input — confirm scope and that exactly 6 panels are provided before any processing. Do not generate any output before this check.
  2. Confirm the user objective, required inputs, and non-negotiable constraints.
  3. Use the packaged script path or the documented reasoning path with only the inputs that are actually available.
  4. Return a structured result that separates assumptions, deliverables, risks, and unresolved items.
  5. If execution fails or inputs are incomplete, switch to the fallback path and state exactly what blocked full completion.

Usage

text
# Basic 2×3 layout
python scripts/main.py --input A.png B.png C.png D.png E.png F.png --output figure.png

# 3×2 layout at 600 DPI
python scripts/main.py --input A.png B.png C.png D.png E.png F.png --output figure.png --layout 3x2 --dpi 600

# Custom label styling
python scripts/main.py --input A.png B.png C.png D.png E.png F.png --output figure.png \
  --label-size 32 --label-position topright --padding 20 --border 4

Parameters

ParameterTypeDefaultDescription
--input / -i6 pathsRequiredInput image paths for panels A–F
--output / -opathRequiredOutput composite file path
--layout / -lenum2x3Grid layout: 2x3 or 3x2
--dpi / -dint300Output DPI
--label-fontstrArialFont family for panel labels
--label-sizeint24Font size for panel labels
--label-positionstrtopleftLabel position: topleft, topright, bottomleft, bottomright
--padding / -pint10Padding between panels (pixels)
--border / -bint2Border width around each panel (pixels)
--bg-colorstrwhiteBackground color (white/black/hex)
--label-colorstrblackLabel text color
Show full SKILL.md (226 more words)Show less

Supported Formats

  • Input: PNG, JPG, JPEG, BMP, TIFF, GIF
  • Output: PNG (recommended), JPG, TIFF

Quick Check

bash
python -m py_compile scripts/main.py
python scripts/main.py --help
python -c "import PIL; print('Pillow OK')"

Error Handling

  • If fewer or more than 6 input images are provided, state the count mismatch and stop.
  • If any input file path contains ../ or points outside the workspace, reject with a path traversal warning.
  • If the task goes outside the documented scope, stop instead of guessing or silently widening the assignment.
  • If scripts/main.py fails (e.g., returncode=2 from missing required args), report the exact error and provide the correct command syntax.
  • If PIL/Pillow is not installed, print: pip install Pillow numpy and exit with a non-zero code.
  • Do not fabricate files, citations, or execution outcomes.

Fallback Template

When execution fails or inputs are incomplete, respond with this structure:

FALLBACK REPORT
───────────────────────────────────────
Objective      : [restate the goal]
Blocked by     : [exact missing input or error — e.g., only 4 of 6 panels provided]
Partial result : [what can be completed — e.g., layout plan, parameter defaults]
Assumptions    : [layout, DPI, label style assumed]
Constraints    : [format requirements, DPI minimum]
Risks          : [aspect ratio mismatch, font availability]
Unresolved     : [what still needs user input]
Next step      : [minimum action needed to unblock]
───────────────────────────────────────

Response Template

Use the following fixed structure for non-trivial requests:

  1. Objective
  2. Inputs Received
  3. Assumptions
  4. Workflow
  5. Deliverable
  6. Risks and Limits
  7. Next Checks

If the request is simple, compress the structure but keep assumptions and limits explicit when they affect correctness.

Notes

  • Input images are automatically resized to match the largest dimension while maintaining aspect ratio
  • For best results, use input images with similar aspect ratios
  • Label fonts require the font to be available on the system; Arial falls back to DejaVu Sans if unavailable
  • PNG output preserves transparency if any input images have alpha channels

Prerequisites

text
pip install Pillow numpy

© aipoch, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (scripts) in scientific-skills/Other/multi-panel-figure-assembler of aipoch/medical-research-skills.

  • SKILL.md
  • multi-panel-figure-assembler_audit_result_v4.json
  • requirements.txt
  • scripts/__init__.py
  • scripts/example.py
  • scripts/main.py

Open the folder on GitHubat commit 686e09d

Compare with similar skills

Multi Panel Figure Assembler 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.

Multi Panel Figure Assembler compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Multi Panel Figure Assembler this skillaipoch/medical-research-skills2k—~1.5kAutomated safety check: PassMIT
Exploratory Data Analysisspacering-net/codeg3.8k15 repos~3.6kAutomated safety check: PassMIT
MatplotlibzLanqing/codex-claude-academic-skills4.6k17 repos~2.9kAutomated safety check: PassMIT
Scikit LearnzLanqing/codex-claude-academic-skills4.6k17 repos~3.9kAutomated safety check: PassBSD-3-Clause
Chart Visualizationbytedance/deer-flow83k2 repos~840Automated safety check: PassMIT
TimesFM Forecastinggoogle-research/timesfm34k—~4.7kAutomated safety check: PassApache-2.0

Similar skills

  • Exploratory Data Analysis

    spacering-net/codeg

    Perform comprehensive exploratory data analysis on scientific data files across 200+ file formats.

    3.8k GitHub starsUsed in 15 repos~3.6k tokens
    Data & AnalyticsAuto-check passed
  • Matplotlib

    zLanqing/codex-claude-academic-skills

    Low-level plotting library for full customization. An agent skill from zLanqing/codex-claude-academic-skills.

    4.6k GitHub starsUsed in 17 repos~2.9k tokens
    Data & AnalyticsAuto-check passed
  • Scikit Learn

    zLanqing/codex-claude-academic-skills

    Machine learning in Python with scikit-learn. An agent skill from zLanqing/codex-claude-academic-skills.

    4.6k GitHub starsUsed in 17 repos~3.9k tokens
    Data & AnalyticsAuto-check passed
  • Chart Visualization

    bytedance/deer-flow

    Picks a suitable chart type from 26 options for your data, maps the data to that chart's parameters and generates a chart image through a JavaScript script.

    83k GitHub starsUsed in 2 repos~840 tokens
    Data & AnalyticsAuto-check passed
  • TimesFM Forecasting

    google-research/timesfm

    Forecasts any univariate time series zero-shot with Google's TimesFM model, returning point forecasts and calibrated prediction intervals without training.

    34k GitHub stars~4.7k tokensUpdated 8 days ago
    Data & AnalyticsAuto-check passed
  • Jupyter Notebook

    microsoft/ai-agents-for-beginners

    Official

    A skill your agent uses when the user asks to create, scaffold, or edit Jupyter notebooks (.ipynb) for experiments, explorations, or tutorials; prefer the bundled templates and run the helper script…

    77k GitHub starsUsed in 8 repos~1k tokens
    Data & AnalyticsAuto-check passed

More from aipoch/medical-research-skills

All 567 skills in this repo
  • Academic Poster Generator

    aipoch/medical-research-skills

    Complete workflow for generating academic research posters from PDF literature; use when you need to extract paper content from PDFs and produce a LaTeX-based poster…

    2k GitHub stars~2.2k tokensUpdated 20 days ago
    Auto-check passed
  • Diagnostic Study Quality Assessment Quadas

    aipoch/medical-research-skills

    Analyzes clinical diagnostic accuracy studies for bias using the QUADAS-2 tool.

    2k GitHub stars~1.4k tokensUpdated 20 days ago
    Auto-check passed
  • Exploratory Data Analysis

    aipoch/medical-research-skills

    Perform comprehensive exploratory data analysis on scientific data files across 200+ file formats.

    2k GitHub stars~3.7k tokensUpdated 20 days ago
    Auto-check passed
  • Iso Certification

    aipoch/medical-research-skills

    A toolkit for preparing ISO 13485:2016 certification documentation for medical device QMS.

    2k GitHub stars~1.8k tokensUpdated 20 days ago
    Auto-check passed
  • Journal Skills

    aipoch/medical-research-skills

    Recommends target journals for manuscript submission by analyzing the paper topic/abstract and the journal distribution of similar PubMed literature; use when users ask for journal…

    2k GitHub stars~1.7k tokensUpdated 20 days ago
    Auto-check passed
  • Latex Posters

    aipoch/medical-research-skills

    Creates academic-poster writing packages for LaTeX using beamerposter, tikzposter, or baposter.

    2k GitHub stars~1.3k tokensUpdated 20 days ago
    Auto-check passed

Questions about Multi Panel Figure Assembler

What does Multi Panel Figure Assembler do?

Assemble 6 sub-figures (A–F) into a high-resolution composite figure with consistent labels, padding, and publication-ready DPI. Multi Panel Figure Assembler is an agent skill from aipoch/medical-research-skills. Assemble 6 sub-figures (A–F) into a high-resolution composite figure with consistent labels, padding, and publication-ready DPI.

When should I use Multi Panel Figure Assembler?

Multi Panel Figure Assembler fits situations like: data & Analytics work in your project.

How do I install Multi Panel Figure Assembler in Claude Code?

Run `npx skills add aipoch/medical-research-skills --skill multi-panel-figure-assembler -a claude-code`. Or copy the skill folder (scientific-skills/Other/multi-panel-figure-assembler in aipoch/medical-research-skills) into .claude/skills/multi-panel-figure-assembler in your project. Claude Code loads it when a task matches its description.

How do I install Multi Panel Figure Assembler in Codex?

Run `npx skills add aipoch/medical-research-skills --skill multi-panel-figure-assembler -a codex`. Or copy the skill folder (scientific-skills/Other/multi-panel-figure-assembler in aipoch/medical-research-skills) into .agents/skills/multi-panel-figure-assembler in your project. Codex loads it when a task matches its description.

Can I use Multi Panel Figure Assembler in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aipoch/medical-research-skills --skill multi-panel-figure-assembler -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/multi-panel-figure-assembler, .gemini/skills/multi-panel-figure-assembler, .github/skills/multi-panel-figure-assembler and .opencode/skills/multi-panel-figure-assembler in your project.

What does Multi Panel Figure Assembler need to run?

Going by SKILL.md and its folder, Multi Panel Figure Assembler needs Python for the scripts in its folder and the command-line tools its instructions call (python and pip). Our summary lists: Python 3.

Does Multi Panel Figure Assembler access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Multi Panel Figure Assembler safe to install?

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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Multi Panel Figure Assembler use?

Multi Panel Figure Assembler is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Multi Panel Figure Assembler use?

About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Multi Panel Figure Assembler?

Skills that share tags, products or a category with Multi Panel Figure Assembler: Exploratory Data Analysis (spacering-net/codeg, 3.8k stars), Matplotlib (zLanqing/codex-claude-academic-skills, 4.6k stars), Scikit Learn (zLanqing/codex-claude-academic-skills, 4.6k stars) and Chart Visualization (bytedance/deer-flow, 83k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Multi Panel Figure Assembler?

aipoch (a GitHub organization) maintains it in aipoch/medical-research-skills, which has 1,973 GitHub stars. The repository holds 567 skills in this directory. The repository was last updated on September 17, 2026.

Source: aipoch/medical-research-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.