شعار Scientific Illustrator Agent

Scientific Illustrator Agent

المجتمع
LY2260879
scientific-illustrator-agent

أنشئ مخططات علمية قابلة للتحرير في إصدار سطح المكتب من Adobe Illustrator باستخدام Python وWindows COM. استخدمها لإعادة إنشاء الرسومات المرجعية، ورسم مجسمات ثلاثية الأبعاد مسقطة وأسهم، وإضافة تسميات أصلية متعددة الأسطر، أو الرسم اختياريًا بمؤشرات متعددة على Windows.

نظرة عامة

الناشرLY2260879
المستودعscientific-illustrator-agent
اسم المهارةscientific-illustrator-agent
النجوم
264
التفريعات
11
الملفات المرفقة
74
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 74

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها LY2260879 على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Scientific Illustrator Agent في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/LY2260879/scientific-illustrator-agent/tree/main
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LY2260879/scientific-illustrator-agent.git \
  .claude/skills/scientific-illustrator-agent
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Scientific Illustrator Agent في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Scientific Illustrator Agent تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Scientific Illustrator Agent بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Scientific Illustrator Agent

Development build based on 0.4.0. Resolve relative paths against this skill directory. Native rendering uses the bundled Python CLI and a locally installed Illustrator on Windows. Desktop validation uses Illustrator 2022.

Prepare

Use an available Windows Python 3.9+ with pywin32, Pydantic and Pillow. If dependencies are missing, create a local virtual environment and install requirements.txt; do not replace the user's global Python packages. See README.md for installation and COM troubleshooting.

Run python "<skill-directory>/examples/hello_illustrator.py" --connect-only to check Illustrator. COM Dispatch can start Illustrator automatically. This does not guarantee the window is foreground. Never terminate Illustrator or repeatedly retry a failed mutation.

Overlapping objects and projected 3D references

For overlapping scientific objects, inspect the global projection and junctions before tracing local contours. Identify physical objects, group their parts, and record supported back/front relations. Use one full editable shape when supported by the evidence. Keep ambiguous fragments explicit. Read docs/occlusion.md for completion evidence, native stacking, reference probes and the prism regression fixture.

Use examples/render_artwork.py for structured native Artwork scenes or examples/swarm_draw.py --scene-json for a requested swarm. Inspect native object ancestry and anchors, compare the preview to the reference at both hidden and visible locations, and revise the evidence or ordering when they differ. Use the basic FigureSpec route below for conventional node-and-edge diagrams.

For a solid straight or circular-bend arrow or a cuboid, use the optional Artwork solids field and one shared camera. Use a model-space origin, direction, normal and dimensions. Declare supported whole-object front/back relations and retain the original JSON to regenerate at another view. Inspect the preview and temporarily hide a foreground object to check the complete paths behind it. See the 3D and text contract and the tested case library.

Minimum Sufficient Object Representation

Identify the geometry and scientific role first, then use the fewest native objects that preserve meaning, appearance, and editability. A plain rectangular frame needs one closed PathItem with four anchors. Use a single editable path for simple circles, ellipses, polygons, and continuous Bézier curves. Reserve local tracing for boundaries that cannot be expressed faithfully with these primitives. In hybrid SVGs, classify and remove confirmed duplicate traces around a complete outline. Preserve separate scientific marks, projected faces, masks, and intentional compound paths by their role. Follow semantic geometry and native QA to check object counts, continuity, and independent movement after reopening.

Native text

Create one editable TextFrame per semantic label. For a label such as Recycled\nnutrients, supply the complete string in one field. Keep independent labels separate. Specify paragraph leading and alignment when matching a reference. Confirm that all lines survive save and reopen in one frame, with the original font and placement. For SVG, encode supported lines in one authored <text> and keep independent <text> elements separate. See the 3D and text contract.

Single cartoon hand(单手执笔)

When asked to show a single hand drawing in Illustrator, run the Artwork scene with examples/draw_scene_with_pen.py. The native temporary hand follows each route on the Illustrator canvas. The pen trail occupies the final object's stacking slot until the complete editable object is drawn. The hand layer is removed before saving the AI. The MP4 uses actual Illustrator stage exports with the same pen motion reproduced between stages. FFmpeg is required.

powershell
python examples/draw_scene_with_pen.py examples/specs/occluded_prism.json --reference examples/specs/occluded_prism_reference.png --output-dir outputs/prism_pen_new --seconds 9

Deliver drawing.ai, final.png and single-pen.mp4. Inspect the hand-*.png snapshots exported during the live drawing and the occlusion checks in process.json.

Draw

  1. Extract concepts, labels and relationships from the user's idea or reference. Read docs/input_modes.md, src/models/figure_spec.py and the relevant JSON under examples/specs/ for the actual supported schema.
  2. Write FigureSpec JSON to the user's output directory. For ideas use mode: create and horizontal or vertical layout; let the layout engine compute positions. For references use mode: reconstruct with normalized positions. Preserve uncertain text as a question or explicit uncertainty rather than inventing scientific content.
  3. Keep one conceptual text block in one label, including embedded newlines; do not split words or lines into independent text objects. Use consistent semantic colors, generous whitespace and legible fonts. Prefer short labels and simple arrow topology.
  4. Validate: python "<skill-directory>/examples/render_spec.py" "<spec.json>" --validate-only.
  5. Render: python "<skill-directory>/examples/render_spec.py" "<spec.json>" --output "<new-output.ai>". The renderer creates a new document and refuses existing output files. Preserve other open documents.
  6. Inspect the exported PNG, report warnings and confirm editable object/text counts from the renderer. Revise the specification into a fresh output if needed. Deliver the AI and PNG paths.

Scope and limitations

The CLI supports basic nodes, text and arrows, AI saving and PNG export. It does not call a language or vision model itself: the agent interprets the request and creates the spec. Do not claim pixel-exact reconstruction or original numerical data from a screenshot. Complex branched routing, full visual QC, PDF/SVG export and MCP are not implemented in this CLI.

Sequential element construction(逐元素叠加)

Use examples/progressive_svg.py for an existing vector SVG, including detailed vector artwork. This is an additional SVG entry point, not automatic bitmap tracing. It starts Illustrator through COM, opens a temporary SVG source, then copies actual graphical groups into a fresh destination document in order. It closes only the temporary source. No selection-dependent operation or raster reveal is used.

Always produce progressive.ai and final.png. Choose the mode from the user's intent:

  • "一步生成", "直接出图": --mode instant; no intentional pauses or GIF.
  • "逐元素叠加", "一个个画", "逐个出现": --mode progressive --batch-size 1 --duration 30 --start-delay 5 --live-only. Each step adds one top-level SVG graphical unit, which can contain several native paths and a complete text block.
  • "逐步生成", "演示过程": --mode progressive --duration 30 --batch-size 8 --start-delay 10 --live-only for batched live construction.
  • If a replay GIF is requested, omit --live-only; output includes build.gif and actual exported PNG frames.
  • For an explicit per-group speed instead of a target duration, use --delay-ms 80 or --speed 快速|正常|慢速. Never combine --duration with --delay-ms.

Example (paths are relative to the skill directory unless made absolute):

powershell
python examples/progressive_svg.py --source-svg examples/specs/progressive_demo.svg --output-dir outputs/demo_new --duration 30 --batch-size 1 --start-delay 10

Use absolute paths when invoking from another directory. Select a fresh output directory every time. An element for this command means a top-level SVG graphical group, potentially containing many paths; retain compound paths to preserve holes. A 30-second target excludes source import, final saving and GIF encoding. If copying/redrawing/exporting takes longer, remaining waits are skipped; report the actual construction duration from process.json. GIF speed is independent (--frame-ms).

The importer accepts a restricted vector/text SVG subset. It rejects images, external resources, scripts, filters and CSS. See docs/progressive_svg.md for parameters and requirements. Other SVG features may require a separate conversion step. Private research examples are not part of this skill.

Optional multi-cursor swarm presentation(多鼠标集群)

Use examples/swarm_draw.py when the user requests a mouse swarm, multiple animated cursors, a group drawing presentation or a screen recording of that effect. Continue using the standard Draw and progressive construction entry points for their existing tasks. Read docs/swarm_demo.md for parameters and COM calls, and examples/soc_graphical_abstract/README.md for the public case.

powershell
python examples/swarm_draw.py --scene-json examples/soc_graphical_abstract/scene.json --output-dir outputs/soc_swarm_new --cursors 12 --duration 40

The optional mode accepts native primitive scenes and the existing SVG subset. One COM worker creates real vector objects in spatial waves while a local Tk overlay animates their presentation cursors. Describe the cursor count and COM execution accurately when discussing agents or concurrency. The scene and JSX renderer are cached once, followed by small index-only drawing commands.

Represent a connector as one semantic kind: "arrow". Supply its full route and any measured Bezier handles, head width and depth. Solid triangular arrows use one closed filled Illustrator path through the shaft, shoulders and tip. Keep the complete arrow in its planned slot beneath any foreground occluder. Inspect both sides of each tip at high zoom and check the reopened path's anchors. For an adjustable Stroke-panel arrow, use a supported bundled style with arrow_backend: "native". See docs/swarm_demo.md for dimensions, fallback behavior and the desktop regression command.

Alignment is automatic on supported Windows Illustrator canvases. Keep the view fixed while drawing. --manual-align provides drag calibration, and Esc cancels between waves. Each run needs a fresh output directory. Inspect final.png and the verified object/text counts in process.json, then deliver swarm.ai. Native scene mode also emits commands.jsx for direct COM replay.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

وهناك ملفات إضافية عددها 14.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Scientific Illustrator Agent؟

أنشئ مخططات علمية قابلة للتحرير في إصدار سطح المكتب من Adobe Illustrator باستخدام Python وWindows COM. استخدمها لإعادة إنشاء الرسومات المرجعية، ورسم مجسمات ثلاثية الأبعاد مسقطة وأسهم، وإضافة تسميات أصلية متعددة الأسطر، أو الرسم اختياريًا بمؤشرات متعددة على Windows.

لماذا تستخدم Scientific Illustrator Agent على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Scientific Illustrator Agent عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Scientific Illustrator Agent في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/LY2260879/scientific-illustrator-agent/tree/main. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Scientific Illustrator Agent؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Scientific Illustrator Agent؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Scientific Illustrator Agent معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Scientific Illustrator Agent مجانية؟

نشرها LY2260879 على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇