medical-figures
Use when a medical slide needs a figure: reusing a Kaplan–Meier curve, forest plot or diagram from a paper PDF, drawing a CONSORT/PRISMA flow, trial schema…
от drtranquanghung91-vn★ 24 звезды на GitHub
Установить medical-figures в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Medical figures
Overview
A figure is evidence. Its numbers come from evidence/claims.json, its shapes from a
source, and its provenance goes into figures/manifest.json. Choose the cheapest route
that keeps it exact:
| Need | Route | Reference |
|---|---|---|
| A figure that exists in the source PDF (KM, forest plot, CONSORT) | Lift the vectors, recolour to the theme; never redraw a curve | reuse-from-pdf.md |
| A diagram the paper describes but doesn't draw well (trial schema, flow, timeline, algorithm) | Rebuild as SVG from claims only | diagrams.md |
| A comparison of numbers (rates, subgroup effects) | Chart from claims: dot/dumbbell, bars, forest | diagrams.md |
| Anatomy, organs, cells, molecules, devices | Libraries first: Servier Medical Art at full resolution, Bioicons, NIH BioArt. Then AI (ChatGPT or Gemini, whichever account the user has), checked against a reference. Never hand-coded organs | illustrations.md, ai-images.md |
| Labels on any picture | Editable labels in columns with leader lines, never baked into pixels | scripts/label_figure.py |
| A mechanism or physiology that unfolds over time (binding, signalling, blood flow) | Motion graphic built from Bioicons parts and animated in CSS (HTML only): click-stepped or looping like a video; static step panels for PPTX | motion.md, examples/checkpoint-blockade.html |
Rules
- No invented data. A curve, bar or box number that is not in
claims.jsonis not drawn. A CONSORT box with an unknown number shows "not reported". - Reused figures keep their content. You may recolour, crop to one panel, and add overlays (a marker at 24 months, a shaded interval). You may not delete censor ticks, numbers at risk or axis labels. Overlays use values from claims.
- Credit every figure with a short source line in the deck (
Source: Long GV et al. N Engl J Med 2026; Fig. 1A). Do not describe what you did to it on the slide ("recoloured", "redrawn"): that goes in the manifest. - Colours follow the entity. Intervention and control keep one colour each throughout
the deck. Take colours from
theme/theme.json. - Format. HTML decks inline SVG (animate with transforms; see
motion.md). PPTX decks take SVG (PowerPoint 2019+) with a PNG fallback at 300 dpi.
Manifest: figures/manifest.json
{"figures": [{
"file": "s05-km-rfs.svg", "slide": 5, "kind": "reused-vector",
"source": "long2026", "locator": "p. 6, Fig. 1A",
"licence": "© NEJM; reused for non-commercial education with citation",
"modifications": "cropped to panel A; arm colours mapped to theme; curves split into a separate layer",
"claims": ["c07", "c08"]
}]}
kind is one of reused-vector, reused-raster, rebuilt, chart, illustration,
ai-generated, animation. AI-generated entries also record tool, prompt, date,
checked_against and issues (ai-images.md). A licence field that is empty or "unknown" is a finding for the audit.
Script
scripts/pdf_figures.py(PyMuPDF):list,extract,raster,colors,split.scripts/label_figure.py(Pillow): image + label spec → SVG with non-overlapping labels.scripts/bioicons.py(standard library): search and fetch Bioicons with credits.
Run each with --help.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- agents/openai.yaml
- ai-images.md
- diagrams.md
- examples/checkpoint-blockade.html
- illustrations.md
- motion.md
- reuse-from-pdf.md
- scripts/bioicons.py
- scripts/label_figure.py
- scripts/pdf_figures.py
FAQ
Что делает скилл medical-figures?
Use when a medical slide needs a figure: reusing a Kaplan–Meier curve, forest plot or diagram from a paper PDF, drawing a CONSORT/PRISMA flow, trial schema, timeline or algorithm, charting trial data, finding a licensed anatomical or molecular illustration, or animating a mechanism, pathophysiology or drug action.
Как установить скилл medical-figures?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл medical-figures запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…