Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Inkscape CLI

$ inkscape Foundation Low Risk
Inkscape Project · Design & Docs · GPL-2.0-or-later · macos / linux / windows

Inkscape (inkscape) is the leading open-source vector graphics editor, offering CLI flags (--export-type=pdf|png|svg, --export-filename, --actions) for batch conversion between SVG, PDF, EPS, and PNG. While powerful for print/vector fidelity, it is a heavy GTK desktop binary with slower startup and occasional headless display quirks on Linux.

FCRS-1.0 Score
74 /100
Usable w/ Caveats
Medium Confidence
Zero-Friction Install
brew install --cask inkscape
CLI vs MCP Decision CLI Only

inkscape operates directly on local vector assets; prefer resvg for lightweight SVG-to-PNG tasks and reserve inkscape for PDF/EPS or --actions vector edits.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
— Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 16 / 25

Supports non-interactive --export-type, --query-all, and --actions, but mixes GTK/DBus stderr warnings and lacks JSON output.

  • Omitting export/action flags opens the full GUI desktop app
  • GTK/GLib warnings frequently appear on stderr in headless environments
Trust & Safety 21 / 25

Offline local tool, though --export-overwrite or --actions batch scripts can overwrite input SVGs if not pointed to --export-filename.

  • Explicit --export-filename keeps source SVG untouched
Setup & Portability 10 / 15

Large desktop GUI package (brew install --cask inkscape, Flatpak, AppImage) with GTK dependencies.

  • Hundreds of megabytes installed size and desktop cask packaging
Utility & Efficiency 12 / 15

Unmatched for SVG-to-PDF/EPS/LaTeX export (--export-latex) and vector path operations (--actions).

  • Supports PDF, EPS, EMF, DXF, and --export-text-to-path
Maintenance & Lineage 8 / 10

Long-standing Software Freedom Conservancy project (inkscape) under GPL-2.0-or-later.

  • Active upstream release cycle
Docs & Verifiability 7 / 10

Official manpage and wiki docs, though CLI syntax changed significantly in Inkscape 1.0+.

  • Official manpage at inkscape.org/doc/inkscape-man.html

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

No credentials required; offline desktop/CLI executable.

Side Effects
Read-Only Local Write
Cost & Quotas

Free open-source software (GPL-2.0-or-later).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Inkscape CLI Agent Rules
- Always pass `--export-type` and `--export-filename` (or `--batch-process` carefully) so Inkscape never opens a GUI window.
- Use `resvg` instead of `inkscape` for fast SVG-to-PNG rasterization.
- In headless Linux containers, verify DBus/X11 warnings do not break stdout parsing.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect Inkscape version and query SVG dimensions
inkscape --version

Prints the installed Inkscape version without opening the GUI.

Query SVG object bounding box
inkscape --query-all diagram.svg

Outputs object IDs and x,y,width,height geometry metrics from diagram.svg.

Controlled Writes & Previews

Export an SVG file to vector PDF
inkscape diagram.svg --export-type=pdf --export-filename=dist/diagram.pdf

Converts diagram.svg to a print-ready vector PDF without launching the desktop window.

Strengths for Agents

  • + Authoritative SVG-to-PDF, EPS, and --export-text-to-path vector conversion.
  • + --query-all inspects exact bounding boxes of every SVG element ID.
  • + Rich --actions pipeline enables headless vector manipulation.

Caveats & Pitfalls

  • ! Heavy desktop GUI application with slow startup compared to resvg.
  • ! Headless Linux containers often emit noisy GTK/DBus stderr warnings, and bare inkscape file.svg opens the GUI.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI