Scientific Illustrator Agent logo

Scientific Illustrator Agent

Community
LY2260789
scientific-illustrator-agent

Create editable scientific workflow diagrams in desktop Adobe Illustrator from natural-language ideas or simple reference images, using a bundled Python FigureSpec renderer and Windows COM. Use when the user wants Illustrator vector objects and editable text rather than a raster image.

Overview

PublisherLY2260789
Repositoryscientific-illustrator-agent
Skill namescientific-illustrator-agent
Stars
51
Forks
1
Bundled files
28
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 28 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by LY2260789 on GitHub. Read the source before you install it.

Installation

Install the Scientific Illustrator Agent AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/LY2260789/scientific-illustrator-agent/tree/main
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LY2260789/scientific-illustrator-agent.git \
  .claude/skills/scientific-illustrator-agent
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Scientific Illustrator Agent in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Scientific Illustrator Agent on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Scientific Illustrator Agent is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Scientific Illustrator Agent

This skill bundles the Python engine beside this file. Resolve all relative paths below against this skill directory, not the user's working directory. Windows and locally installed Illustrator are required. Illustrator 2022 was tested; 2020 compatibility is intended but not verified. This is a CLI skill, not an MCP server.

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.

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.

Optional progressive 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 --duration 30 --batch-size 8 --start-delay 10 --live-only for a roughly 30-second 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.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Scientific Illustrator Agent AI skill do?

Create editable scientific workflow diagrams in desktop Adobe Illustrator from natural-language ideas or simple reference images, using a bundled Python FigureSpec renderer and Windows COM. Use when the user wants Illustrator vector objects and editable text rather than a raster image.

Why use Scientific Illustrator Agent on TypingMind?

Because you install it once and use it with any model. Scientific Illustrator Agent is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Scientific Illustrator Agent in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/LY2260789/scientific-illustrator-agent/tree/main. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Scientific Illustrator Agent?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Scientific Illustrator Agent?

As many as you like. As long as a model supports skills, you can use Scientific Illustrator Agent with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Scientific Illustrator Agent AI skill free?

It is published on GitHub by LY2260789. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇