figure-composer
यह क्या करती है
यह स्किल एजेंट को वैज्ञानिक पेपर के लिए पूरा बहु-पैनल चित्र बनाना सिखाती है। यह एक पंक्ति के दावे और डेटा से लेआउट की योजना बनाती है, हर पैनल बनाती है, नतीजे की जाँच करती है और उसे सुधारती है।
कब इस्तेमाल करें
- ✓जब किसी रिसर्चर को पेपर, रिपोर्ट या एक्सपोर्ट के लिए एक बहु-पैनल चित्र चाहिए।
- ✓जब रिसर्चर के पास दावा और डेटा हो, और चित्र को उसका समर्थन करने वाले लेआउट में चाहिए।
- ✓जब रिसर्चर समीक्षा के लिए मौजूदा चित्र की रूपरेखा तैयार करवाना चाहता है।
Skill का लिंक
https://github.com/aipoch/open-science/blob/main/resources/skills/figure-composer/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे पेपर के लिए तीन पैनल वाला चित्र बनाइए, जो इस दावे का समर्थन करे कि उपचार से ट्यूमर का आकार घटता है, और मेरी डेटा फ़ाइलों का उपयोग कीजिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट बारह-कॉलम पैनल लेआउट की योजना बनाता है, हर पैनल अलग से बनाता है और उन्हें एक चित्र में जोड़ता है। फिर वह संयुक्त चित्र की समीक्षा करता है और केवल उन्हीं पैनल को दोबारा बनाता है जिनमें बदलाव चाहिए, अधिकतम तीन समीक्षा दौर में।
तकनीकी सामग्री (मूल 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 से 89 mm।
क्या इसके लिए अलग स्टाइल स्किल चाहिए?
हाँ। योजना बनाने और समीक्षा में स्किल चित्र स्टाइल के नियम इस्तेमाल करती है।
जानकारी
लेखक का मूल विवरण
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
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
alphafold2
5.4kयह आपके एजेंट को ColabFold रनर के ज़रिए AlphaFold2 से प्रोटीन की 3D संरचना उसके सीक्वेंस से अनुमानित करने देती है, प्रोटीन कॉम्प्लेक्स सहित।
boltz
5.4kयह आपके एजेंट को Boltz-2 मॉडल से प्रोटीन, DNA, RNA और छोटे अणुओं के कॉम्प्लेक्स अनुमानित करने देती है, वैकल्पिक बाइंडिंग एफ़िनिटी के साथ।
borzoi
5.4kयह आपके एजेंट को DNA सीक्वेंस से जीनोम-व्यापी गतिविधि ट्रैक, जैसे एक्सप्रेशन और एक्सेसिबिलिटी, अनुमानित करने देती है, और वेरिएंट की अनुमानित असर से तुलना करने देती है।
chai1
5.4kयह आपके एजेंट को एक FASTA फ़ाइल से Apache लाइसेंस वाले Chai-1 मॉडल के साथ प्रोटीन, न्यूक्लिक एसिड और लिगैंड कॉम्प्लेक्स की संरचना अनुमानित करने देती है।
मिलती-जुलती skills
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
slacrawl
394kयह आपके एजेंट को स्थानीय Slack आर्काइव में संदेश खोजने और गिनने, उसकी ताज़गी जांचने और ज़रूरत पड़ने पर उसे ताज़ा करने देती है।
goplaces
394kयह आपके एजेंट को Google Places से जगहें खोजने, उनका विवरण और समीक्षाएं पाने, और जगह के नाम हल करने में मदद करती है, स्क्रिप्ट के लिए JSON आउटपुट के साथ।