cli-anything-inkscape
Ce qu’il fait
Cette compétence permet à votre agent de créer et de modifier des graphiques vectoriels par un outil en ligne de commande pour Inkscape. Elle s'adresse aux graphistes qui ont besoin de logos, d'icônes ou de dessins qui restent nets à toutes les tailles.
Quand l’utiliser
- ✓Quand vous voulez créer un nouveau dessin vectoriel ou un logo à partir d'une demande écrite.
- ✓Quand vous voulez ajouter ou modifier des formes dans un fichier SVG.
- ✓Quand vous voulez modifier en ligne de commande un fichier SVG existant.
Lien du skill
https://github.com/HKUDS/CLI-Anything/blob/main/inkscape/agent-harness/cli_anything/inkscape/skills/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Crée un nouveau document SVG avec un cercle bleu et une étiquette de texte qui dit Bienvenue.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
La compétence modifie directement les documents SVG et conserve son état dans un fichier de projet. Inkscape doit être installé sur votre système.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
cli-anything-inkscape
A stateful command-line interface for vector graphics editing, following the same patterns as the GIMP and Blender CLI harnesses. Directly manipulates SVG (XML) documents with a JSON project format for state tracking.
Installation
This CLI is installed as part of the cli-anything-inkscape package:
pip install cli-anything-inkscape
Prerequisites:
- Python 3.10+
- inkscape must be installed on your system
Usage
Basic Commands
# Show help
cli-anything-inkscape --help
# Start interactive REPL mode
cli-anything-inkscape
# Create a new document
cli-anything-inkscape document new -o project.json
# Run with JSON output (for agent consumption)
cli-anything-inkscape --json document info -p project.json
REPL Mode
When invoked without a subcommand, the CLI enters an interactive REPL session:
cli-anything-inkscape
# Enter commands interactively with tab-completion and history
You can also start the REPL with a nonexistent project path. The CLI now seeds a new in-memory document instead of failing immediately:
cli-anything-inkscape --project /abs/path/new-title.inkscape-cli.json
Command Groups
Document
Document management commands.
| Command | Description |
|---|---|
new |
Create a new document |
open |
Open an existing project |
save |
Save the current project |
info |
Show document information |
profiles |
List available document profiles |
canvas-size |
Set the canvas size |
units |
Set the document units |
json |
Print raw project JSON |
Shape
Shape management commands.
| Command | Description |
|---|---|
add-rect |
Add a rectangle |
add-circle |
Add a circle |
add-ellipse |
Add an ellipse |
add-line |
Add a line |
add-polygon |
Add a polygon |
add-path |
Add a path |
add-star |
Add a star |
remove |
Remove a shape by index |
duplicate |
Duplicate a shape |
list |
List all shapes/objects |
get |
Get detailed info about a shape |
Text
Text management commands.
| Command | Description |
|---|---|
add |
Add a text element; supports --box-width, --box-height, and --line-height for wrapped layouts |
set |
Set a text property (text, font-family, font-size, fill, box-width, box-height, line-height, etc.) |
list |
List all text objects |
Style
Style management commands.
| Command | Description |
|---|---|
set-fill |
Set the fill color of an object |
set-stroke |
Set the stroke color (and optionally width) of an object |
set-opacity |
Set the opacity of an object (0.0-1.0) |
set |
Set an arbitrary style property on an object |
get |
Get the style properties of an object |
list-properties |
List all available style properties |
Transform
Transform operations (translate, rotate, scale, skew).
| Command | Description |
|---|---|
translate |
Translate (move) an object |
rotate |
Rotate an object |
scale |
Scale an object |
skew-x |
Skew an object horizontally |
skew-y |
Skew an object vertically |
get |
Get the current transform of an object |
clear |
Clear all transforms from an object |
Layer
Layer management commands.
| Command | Description |
|---|---|
add |
Add a new layer |
remove |
Remove a layer by index |
move-object |
Move an object to a different layer |
set |
Set a layer property (name, visible, locked, opacity) |
list |
List all layers |
reorder |
Move a layer from one position to another |
get |
Get detailed info about a layer |
Path Group
Path boolean operations.
| Command | Description |
|---|---|
union |
Union of two objects |
intersection |
Intersection of two objects |
difference |
Difference of two objects (A minus B) |
exclusion |
Exclusion (XOR) of two objects |
convert |
Convert a shape to a path |
list-operations |
List available path boolean operations |
Gradient
Gradient management commands.
| Command | Description |
|---|---|
add-linear |
Add a linear gradient |
add-radial |
Add a radial gradient |
apply |
Apply a gradient to an object |
list |
List all gradients |
Export Group
Export/render commands.
| Command | Description |
|---|---|
png |
Render the document to PNG |
| `svg |
Questions fréquentes
Dois-je installer Inkscape ?
Oui, Inkscape doit être installé sur votre système.
Quel format de fichier utilise-t-elle ?
Elle travaille avec le SVG, un format vectoriel basé sur XML.
Puis-je commencer sans fichier ?
Oui, la session interactive peut démarrer avec un nouveau chemin et crée un document vide pour vous.
Détails
Description originale de l’auteur
Command-line interface for Inkscape - A stateful command-line interface for vector graphics editing, following the same patterns as the GI...
repo: HKUDS/CLI-Anything
Popularité
- Étoiles GitHub
- 58k
- Position au classement
- #3210
- Licence
- Apache-2.0
- Mis à jour
- 21/09/2026
Commentaires
- …
Autres skills de ce dépôt
cli-anything-3mf
58kPermet à votre agent d'inspecter et de corriger les fichiers d'impression 3D, notamment en repérant les trous ronds, en les redimensionnant, en réparant les maillages et en comparant deux fichiers.
cli-anything-qgis
58kPermet à votre agent d'ouvrir, de modifier et d'exporter des projets cartographiques QGIS depuis le terminal, y compris les couches, les entités, les mises en page d'impression et les outils de traitement.
cli-anything-adguardhome
58kPermet à votre agent de gérer AdGuard Home, un bloqueur de publicités à l'échelle du réseau, y compris les filtres, les réécritures DNS, les clients et les journaux de requêtes.
cli-anything-anygen
58kPermet à votre agent de générer des diapositives, des documents, des sites web et des schémas à partir d'une consigne écrite, à l'aide du service AnyGen.
Skills similaires
gifgrep
394kPermet à votre agent de chercher dans des bibliothèques de GIF, d'en prévisualiser les résultats, de télécharger un GIF et d'en extraire une image fixe ou une planche d'images.
meme-maker
394kPermet à votre agent de choisir un modèle de mème, d'ajouter vos propres légendes et de créer le mème sous forme d'image SVG ou PNG.
ios-icon-gen
280kPermet à votre agent de générer des icônes pour applications iOS. Il utilise les symboles Apple ou d'autres sources pour créer les fichiers adéquats.