Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

add-svg

Skill by QIANJINYDX

Adds SVG icons and symbols to editable draw.io and diagrams.net scientific figures. It asks whether to search the web or design SVGs before starting, then inserts the assets into the diagram. Built for researchers preparing publication-style figures.

  • Score 53
  • 55 stars
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install add-svg

Built from the published package, never by AI.

git clone --depth 1 https://github.com/QIANJINYDX/research-drawio-skill /tmp/research-drawio-skill && mkdir -p ~/.claude/skills && cp -r /tmp/research-drawio-skill/skills/add-svg ~/.claude/skills/add-svg

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install add-svg in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Add SVG is an agent skill that adds vector elements such as icons, mechanisms, biological objects, model components, pathway symbols and instruments to editable draw.io or diagrams.net scientific figures. Every run starts with a required question asking the user to choose between network search and self-designed SVGs.

In network mode, the skill collects several SVG candidates per concept and records the source URL, license note and any attribution, leaving the final choice to the user. If nothing suitable is found, it falls back to a simple original SVG. In self-design mode, it builds restrained SVGs from basic vector primitives. It inserts the assets as draw.io image cells using URL-encoded data URIs, rebalances the layout, and checks an exported preview. It is aimed at researchers making publication-style figures.

Written from the project's SKILL.md and checked against it.

What it can do

  • Source mode gateAsks the user to choose network search or self-designed SVG before any work starts.
  • Network SVG searchFinds multiple SVG candidates per concept, with source URLs and license notes, for user selection.
  • Self-designed SVGsCreates restrained, editable SVG assets from simple vector primitives for Nature-style figures.
  • Draw.io SVG insertionInserts SVGs as draw.io image cells and keeps the existing diagram content and layout.
  • Data URI conversionConverts a local SVG into a URL-encoded data URI through the svg_data_uri.py script.
  • Layout rebalancingRe-balances the figure and removes empty placeholder zones after SVG insertion.
  • Preview QAChecks that the exported preview shows the SVGs rendered, unclipped and not overlapping labels.

What you need

  • A draw.io or diagrams.net .drawio file to edit
  • Web access for network search mode
  • draw-science export_drawio_preview.py script for preview export, when available

Try asking

  • Add SVG icons for the pathway symbols in my draw.io figure
  • Search for SVG instrument icons for my draw.io research figure
  • Design simple original SVG glyphs for the model components in my diagram

Good to know

  • Asks the source question on every invocation before any work.
  • Network mode keeps candidates for user selection rather than choosing one.
  • Preview export depends on the draw-science scripts being available.
  • Does not add duplicate primitive glyphs unless the user asks for a hybrid.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/add-svg/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to add-svg

All alternatives →

Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database

add-svg: common questions

Does Add SVG pick the SVG source automatically?

No. It asks the user to choose network search or self-designed SVG on every run. In network mode it keeps several candidates for the user to pick from.

How are SVGs stored in draw.io files?

As URL-encoded data:image/svg+xml URIs. The skill says raw base64 URIs with semicolons break draw.io style parsing.

What license information does it record?

In network mode it records the source URL, the license or usage note, and any required attribution for each candidate.

How do I install add-svg?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is add-svg free?

The code is public, but no licence file was found, so check the repository before commercial use.

Is add-svg safe to use?

It scores 53 of 100. Grades: maintenance C, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to add-svg?

Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.

add-svg Install

Add to stack

Loading.