figure-composer
ما الذي تفعله
تعلّم هذه المهارة الوكيل كيف ينشئ شكلًا كاملًا متعدد اللوحات لورقة علمية. يخطط التخطيط من جملة واحدة تلخص الادعاء والبيانات، ويبني كل لوحة، ويتحقق من النتيجة ويحسّنها.
متى تستخدمها
- ✓عندما يحتاج الباحث إلى شكل واحد متعدد اللوحات لورقة أو تقرير أو تصدير.
- ✓عندما يملك الباحث ادعاءً وبيانات ويحتاج إلى تخطيط الشكل بما يدعم الادعاء.
- ✓عندما يريد الباحث صياغة مخطط شكل موجود لمراجعته.
رابط المهارة
https://github.com/aipoch/open-science/blob/main/resources/skills/figure-composer/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“ابنِ شكلًا من ثلاث لوحات لورقتي يدعم الادعاء بأن العلاج يقلل حجم الورم، باستخدام ملفات بياناتي.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يخطط الوكيل تخطيطًا من اثني عشر عمودًا للوحات، ويبني كل لوحة على حدة، ثم يدمجها في شكل واحد. بعد ذلك يراجع المركّب ويعيد إنشاء اللوحات التي تحتاج إلى تعديل فقط، بثلاث جولات مراجعة كحد أقصى.
المحتوى التقني (ملف 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 ملم لعمود واحد.
هل تحتاج إلى مهارة أسلوب منفصلة؟
نعم. تستخدم المهارة قواعد أسلوب الشكل أثناء التخطيط والمراجعة.
التفاصيل
الوصف الأصلي من المؤلف
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
التعليقات
- …
المزيد من المهارات من هذا المستودع
alphafold2
5.4kيساعد وكيلك على التنبؤ بالبنية ثلاثية الأبعاد للبروتين انطلاقًا من تسلسله، بما في ذلك معقدات البروتينات، باستخدام AlphaFold2 عبر منفذ ColabFold.
boltz
5.4kيساعد وكيلك على التنبؤ ببنية معقدات البروتينات والحمض النووي والحمض الريبوزي والجزيئات الصغيرة، باستخدام نموذج Boltz-2 مفتوح المصدر، مع تقديرات اختيارية لقوة الارتباط.
borzoi
5.4kيساعد وكيلك على التنبؤ بمسارات النشاط على مستوى الجينوم، مثل التعبير وإمكانية الوصول، انطلاقًا من تسلسل الحمض النووي، ومقارنة المتغيرات بحسب أثرها المتوقع.
chai1
5.4kيساعد وكيلك على التنبؤ ببنية معقدات البروتينات والأحماض النووية والليغاندات من ملف FASTA واحد، باستخدام نموذج Chai-1 المرخّص بترخيص Apache.
مهارات مشابهة
gitcrawl
394kيتيح لوكيلك البحث في أرشيف محفوظ لمشكلات GitHub وطلبات السحب، وتجميع المكرر منها، والتحقق من حالتها الحالية على GitHub.
slacrawl
394kيتيح لوكيلك البحث في رسائل Slack داخل أرشيف محلي وعدّها، والتحقق من مدى حداثة الأرشيف، وتحديثه عند الحاجة.
goplaces
394kيساعد وكيلك على البحث عن الأماكن وعرض تفاصيلها وتقييماتها وتحديد أسمائها عبر Google Places، مع مخرجات JSON للسكربتات.