figure-composer
하는 일
이 스킬은 과학 논문용 완전한 다중 패널 그림을 만드는 방법을 에이전트에게 가르칩니다. 한 줄짜리 주장과 데이터로 배치를 계획하고, 각 패널을 만들고, 결과를 점검하고, 다듬습니다.
사용하는 경우
- ✓연구자가 논문, 보고서, 내보내기용으로 다중 패널 그림 하나가 필요할 때.
- ✓연구자가 주장과 데이터를 가지고 있고 그것을 뒷받침하는 그림 배치가 필요한 경우.
- ✓연구자가 검토를 위해 기존 그림의 개요를 초안으로 만들고 싶을 때.
스킬 링크
https://github.com/aipoch/open-science/blob/main/resources/skills/figure-composer/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 데이터 파일을 사용해서, 치료가 종양 크기를 줄인다는 주장을 뒷받침하는 세 패널 그림을 만들어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 12열 패널 배치를 계획하고, 각 패널을 따로 만든 뒤, 하나의 그림으로 합칩니다. 그다음 합성 그림을 검토하고, 최대 세 번의 검토 라운드 안에서 변경이 필요한 패널만 다시 만듭니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Figure Composer — narrative → panels → compose → adversarial loop
figure-composer is the outer workflow for one multi-panel figure. Use the
figure-style rules while planning and reviewing; every panel worker uses those
rules independently. Run paper-narrative first when the paper-level figure
sequence is still undecided.
Open-Science Notebook call
Every notebook_execute request whose code uses a function named in this skill
includes this skill ID:
{ "kernelSkillIds": ["figure-composer"], "code": "print(figure_outline_schema())" }
kernelSkillIds contains the skill ID; function calls belong in code. Call the
named functions directly without an import or discovery step.
Inputs
claim: the one sentence the figure makes true without surrounding prose.dataVersionIds: immutable Upload or Artifact Version identities grounding the panels.width_mm: venue column width, commonly 85–89 mm single or 174–183 mm double.rulesVersionId: immutable Artifact Version containing the design rules used by the composite reviewer.delegatePrefix: short branch-unique prefix for panel and reviewer child names.
Run this workflow only in the Main/root agent. Delegated children cannot call
host.delegate, so the whole composer cannot itself be delegated.
Entry points
- From a claim: Main writes the outline in step 1 from the claim, data, and
figure-stylerules. - From an existing figure: inspect it with
host.viewImage, then have Main draft and review the outline directly. Currenthost.llmcalls do not accept images, so do not add a second hidden inference step. Pixels cannot supply Artifact Version identities; filldata_vidfrom the provided data.
1. Narrative → panel outline
Main produces a panel_outline matching figure_outline_schema():
{
"claim": "…",
"width_mm": 180,
"ncol": 12,
"row_heights_mm": [40, 60, 46, 52],
"panels": [
{
"letter": "a",
"role": "schematic",
"row": 0,
"col": 0,
"colspan": 12,
"chart_family": "schematic overview",
"message": "…",
"data_vid": null,
"ask": "…"
},
{
"letter": "b",
"role": "primary",
"row": 1,
"col": 0,
"colspan": 7,
"chart_family": "scatter + trend",
"message": "…",
"data_vid": "…",
"ask": "…"
}
]
}
Outline rules:
- A is the context-free hook: schematic or hero, normally full width.
- B carries the claim: it should make the sentence true on its own.
- Remaining panels add evidence in descending importance.
- Use one row per sub-claim, normally 5–10 panels, and a 12-column grid.
- Every non-schematic
data_vidmust be one of the supplied immutable Version identities. Do not invent or rewrite Version IDs. - Set
fixed_panel_set: trueonly when the user explicitly requires the exact listed panels.
Geometry helpers reject duplicate panel letters (case-insensitive), overlapping grid spans, panels outside the grid, and invalid or subpixel grid dimensions. Use unique panel identifiers and non-overlapping positive spans within the grid.
Review the outline before fan-out. Use the schema as a contract; Main does the
reasoning and does not call host.llm to generate the outline again.
2. Fan out panel workers
Generate each task in Python with panel_task(outline, letter, fig_label). The
returned task contains the complete panel procedure. Pass it unchanged on the
first render and supply the panel's data Version in inputs.
Dispatch from repl_execute. host.delegate accepts at most four children per
atomic call, so send ordered waves of no more than four. Each request uses this
output schema:
const panelOutputSchema = {
type: 'object',
additionalProperties: false,
required: ['panelVersionId', 'labelsUsed'],
properties: {
panelVersionId: { type: 'string', minLength: 1 },
labelsUsed: { type: 'array', items: { type: 'string' } }
}
}
Use wait: false, then collect the exact { frameId, attemptId } receipt
handles. A collect timeout ends observation, not the child Attempt: collect
the same handles again while any remain running. Retry only after a terminal
failure or an explicitly rejected output, using a fresh child name. Panel
workers must submit their structured result with host.submitOutput before
finishing. Reject a non-completed/error child, missing or unsatisfied structured
output, a missing or duplicate e
자주 묻는 질문
하위 에이전트가 이 전체 작업을 실행할 수 있나요?
아닙니다. 스킬은 위임된 하위 에이전트가 새 위임을 시작할 수 없으므로 메인 에이전트가 실행한다고 설명합니다.
어떤 너비를 쓰나요?
단일 단의 경우 85~89mm 같은, 대상 학술지의 단 너비를 씁니다.
별도의 스타일 스킬이 필요한가요?
네. 스킬은 계획과 검토 과정에서 그림 스타일 규칙을 사용합니다.
상세 정보
작성자의 원본 설명
Compose one publication-grade multi-panel figure. Start from a one-line claim plus immutable data Artifact Version references, or inspect an existing figure and draft its outline directly. Plan a 12-column panel outline, delegate one worker per panel, compose and inspect the result, then run at most three adversarial review rounds while regenerating only affected panels. For a standalone plot use `figure-style`; for whole-paper figure ordering use `paper-narrative`.
repo: aipoch/open-science
인기도
- GitHub 스타
- 5.4k
- 순위
- #14861
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
alphafold2
5.4k에이전트가 ColabFold 러너를 통해 AlphaFold2로 단백질 서열의 3차원 구조를 예측하고, 단백질 복합체도 다루도록 돕습니다.
boltz
5.4k에이전트가 오픈 소스 Boltz-2 모델로 단백질, DNA, RNA, 저분자 복합체의 구조를 예측하도록 돕고, 선택적으로 결합 친화도 추정도 제공합니다.
borzoi
5.4k에이전트가 DNA 서열로부터 발현과 접근성 같은 게놈 전체의 활성 트랙을 예측하고, 예측된 효과로 변이를 비교하도록 돕습니다.
chai1
5.4k에이전트가 Apache 라이선스의 Chai-1 모델을 사용해, 하나의 FASTA 파일로 단백질, 핵산, 리간드 복합체의 구조를 예측하도록 돕습니다.
비슷한 스킬
gitcrawl
394k에이전트가 저장된 GitHub 이슈와 풀 리퀘스트 보관본을 검색하고, 중복 항목을 묶고, GitHub에서 현재 상태를 확인하도록 돕습니다.
slacrawl
394k에이전트가 로컬 Slack 보관본에서 메시지를 검색하고 개수를 세며, 보관본이 얼마나 최신인지 확인하고 필요할 때 새로 고치도록 돕습니다.
goplaces
394k에이전트가 Google Places로 장소를 검색하고, 세부 정보와 리뷰를 가져오고, 장소 이름을 확인하며, 스크립트용 JSON을 출력하도록 돕습니다.