cli-anything-inkscape
यह क्या करती है
यह स्किल आपके एजेंट को Inkscape के लिए कमांड-लाइन टूल से वेक्टर ग्राफ़िक्स बनाने और बदलने देती है। यह डिज़ाइनरों के लिए है, जिन्हें लोगो, आइकन या ड्रॉइंग चाहिए जो बिना गुणवत्ता खोए बड़े-छोटे हो सकें।
कब इस्तेमाल करें
- ✓जब आप टेक्स्ट अनुरोध से नया वेक्टर ड्रॉइंग या लोगो बनवाना चाहते हैं।
- ✓जब आप किसी SVG फ़ाइल में शेप जोड़ना या बदलना चाहते हैं।
- ✓जब आप कमांड लाइन से किसी मौजूदा SVG फ़ाइल को संपादित करना चाहते हैं।
Skill का लिंक
https://github.com/HKUDS/CLI-Anything/blob/main/inkscape/agent-harness/cli_anything/inkscape/skills/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“एक नीला सर्कल और 'Welcome' लिखा टेक्स्ट वाला नया SVG दस्तावेज़ बनाइए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह स्किल SVG दस्तावेज़ों को सीधे संपादित करती है और अपनी स्थिति एक प्रोजेक्ट फ़ाइल में रखती है। आपके सिस्टम पर Inkscape इंस्टॉल होना चाहिए।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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 |
अक्सर पूछे जाने वाले सवाल
क्या मुझे Inkscape इंस्टॉल करना होगा?
हाँ, Inkscape आपके सिस्टम पर इंस्टॉल होना चाहिए।
यह कौन सा फ़ॉर्मेट इस्तेमाल करती है?
यह SVG के साथ काम करती है, जो XML पर आधारित एक वेक्टर फ़ॉर्मेट है।
क्या मैं बिना फ़ाइल के शुरू कर सकता हूँ?
हाँ, इंटरैक्टिव सेशन एक नए पाथ से शुरू हो सकता है और आपके लिए खाली दस्तावेज़ बना देता है।
जानकारी
लेखक का मूल विवरण
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
लोकप्रियता
- GitHub स्टार
- 58k
- रैंकिंग में स्थान
- #3210
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 21/9/2026
कमेंट
- …
इस repository की और skills
cli-anything-3mf
58kयह आपके एजेंट को 3D प्रिंटिंग फ़ाइलों का निरीक्षण और सुधार करने देती है, जिसमें गोल छेद खोजना, उनका आकार बदलना, मेश ठीक करना और दो फ़ाइलों की तुलना शामिल है।
cli-anything-qgis
58kयह आपके एजेंट को टर्मिनल से QGIS मैप प्रोजेक्ट खोलने, संपादित करने और निर्यात करने देती है, जिसमें लेयर, फ़ीचर, प्रिंट लेआउट और प्रोसेसिंग टूल शामिल हैं।
cli-anything-adguardhome
58kयह आपके एजेंट को AdGuard Home, एक नेटवर्क-व्यापी ऐड ब्लॉकर, प्रबंधित करने देती है, जिसमें फ़िल्टर, DNS rewrites, क्लाइंट और क्वेरी लॉग शामिल हैं।
cli-anything-anygen
58kयह आपके एजेंट को लिखे गए प्रॉम्प्ट से AnyGen सेवा का उपयोग करके स्लाइड, दस्तावेज़, वेबसाइट और आरेख बनवाने देती है।
मिलती-जुलती skills
gifgrep
394kयह आपके एजेंट को GIF लाइब्रेरी में खोजने, नतीजों का पूर्वावलोकन करने, GIF डाउनलोड करने, और उससे एक फ़्रेम या फ़्रेम्स की शीट निकालने देती है।
meme-maker
394kयह आपके एजेंट को मीम टेम्पलेट चुनने, अपने कैप्शन जोड़ने और मीम को SVG या PNG इमेज के रूप में बनाने देती है।
ios-icon-gen
280kआपके एजेंट को iOS ऐप्स के लिए icons बनाने देता है। यह Apple symbols या दूसरे स्रोतों के आइकन इस्तेमाल करके सही files बनाता है।