svg-draw
Create SVG images and convert them to PNG without external graphics libraries.
Skill by BaiZeAgent
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/baizeagent-svg-draw
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/svg-draw
What's inside
- Skill name
svg-draw- Description
- Create SVG images and convert them to PNG without external graphics libraries. Use when you need to generate custom illustrations, avatars, or artwork (e.g., "draw a dragon", "create an avatar", "make a logo") or convert SVG files to PNG format. This skill works by writing SVG text directly (no PIL/ImageMagick required) and uses system rsvg-convert for PNG conversion.
- License
- Apache-2.0
- Instructions
- 185 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (4)
- SKILL.md
- dragon_template.svg · assets/
- lobster_template.svg · assets/
- svg_to_png.sh · scripts/
SKILL.md (first lines)
# SVG Draw
Generate vector graphics and raster images using pure SVG code and system conversion tools.
## Quick Start
**For new drawings:**
1. Write SVG code directly to a file (use templates in `assets/` as starting points)
2. Convert to PNG using the conversion script
3. Send via the appropriate channel (DingTalk, Telegram, etc.)
**For existing SVG files:**
1. Use the conversion script to convert SVG → PNG
2. Share the resulting image
## Creating SVG Images
### Basic Workflow
1. **Choose or create a template**
- Check `assets/` for existing templates (dragon, lobster, etc.)
- Or write SVG from scratch
2. **Write the SVG file**
```bash
# Example: Write SVG to file
write('/path/to/output.svg', svg_content)
```
3. **Convert to PNG**
```bash
/root/.openclaw/workspace/skills/svg-draw/scripts/svg_to_png.sh input.svg output.png 400 400
```
### SVG Structure Tips
**Always include:**
- `<svg>` tag with `xmlns="http://www.w3.org/2000/svg"` and `viewBox`
- Background `<rect>` (prevents transparent backgrounds)
- Appropriate `width` and `height` attributes
**Common SVG elements:**
- Shapes: `<rect>`, `<circle>`, `<ellipse>`, `<polygon>`, `<path>`
- Text: `<text>` with `text-anchor="middle"` for centering
- Colors: Use hex codes or named colors
- Opacity: Add `opacity` attribute for transparency effects
**Example character structure:**
```
Background → Body → Head → Face features → Limbs → Accessories → Name
```
## Converting SVG to PNG
Use the bundled conversion script:
```bash
/root/.openclaw/workspace/skills/svg-draw/scripts/svg_to_png.sh <input.svg> <output.png> [width] [height]
```
**Parameters:**
- `input.svg`: Source SVG file path
- `output.png`: Destination PNG file path
- `width`: Output width in pixels (default: 400)
- `height`: Output height in pixels (default: 400)
**Example:**
```bash
/root/.openclaw/workspace/skills/svg-draw/scripts/svg_to_png.sh dragon.svg dragon.png 512 512
```
## Available Templates
### Dragon Template (`assets/dragon_template.svg`)
Blue dragon with:
- Serpentine body with wings
- Golden eyes with highlights
- Horns and pointed ears
- Curved tail
- Magical sparkles
- Name label: "大龙 🐉"
**Customization ideas:**
- Change `fill="#4a90d9"` for different body colors
- Adjust eye color by modifying `fill="#ffcc00"`
- Add/remove features (scales, fire, etc.)
- Change background color
### Lobster Template (`assets/lobster_template.svg`)
Red lobster with:
- Orange-red shell with segments
- Large claws (left and right)
- Eight walking legs
- Eyes on stalks
- Long antennae
- Tail fan
- Ocean bubbles background
- Name label: "大龙虾 🦞"
**Customization ideas:**
- Adjust shell color: `fill="#e85d04"` (darker red) or `fill="#f48c06"` (orange)
- Change claw size or position
- Add more bubbles
- Modify background
## Design Guidelines
### Color Palettes
**Friendly/Cute:**
- Body: `#4a90d9` (blue), `#f48c06` (orange)
- Accents: `#ffcc00` (yellow), `#ff6b6b` (coral)
- Background: `#1a1a2e` (dark blue)
**Professional:**
- Use muted tones
- Stick to 2-3 main colors
- Add subtle gradients if neededFrom BaiZeAgent/Baize, Apache-2.0.
More from BaiZeAgent/Baize
- 0.463score
time
BaiZeAgent
获取当前时间和日期信息。用于回答"现在几点"、"今天星期几"、"今天日期"等问题。
SkillDFreshness: D★ 6Claude Code +9 - 0.463score
browser-automation
BaiZeAgent
Automate web browser interactions using natural language via CLI commands.
SkillDFreshness: D★ 6Claude Code +9 - 0.457score
file-search
BaiZeAgent
Fast file-name and content search using `fd` and `rg` (ripgrep).
SkillDFreshness: D★ 6Claude Code +9 - 0.455score
office-assistant
BaiZeAgent
文员办公助手 - 文档处理、表格操作、格式转换、内容整理等
SkillDFreshness: D★ 6Claude Code +9 - 0.455score
browser-automation
BaiZeAgent
浏览器自动化操作 - 打开网页、截图、提取内容、填表等
SkillDFreshness: D★ 6Claude Code +9 - 0.455score
system
BaiZeAgent
系统信息查询,包括CPU、内存、磁盘等
SkillDFreshness: D★ 6Claude Code +9 - 0.455score
skill
BaiZeAgent
技能管理,搜索、安装、卸载技能
SkillDFreshness: D★ 6Claude Code +9 - 0.455score
file
BaiZeAgent
文件读写操作,支持创建、读取、写入、删除文件
SkillDFreshness: D★ 6Claude Code +9 - 0.455score
fs
BaiZeAgent
文件系统操作,支持创建目录、创建文件、列出目录、删除文件等
SkillDFreshness: D★ 6Claude Code +9 - 0.453score
Image
BaiZeAgent
Process, optimize, and manage images with web optimization, color management, platform specs, and e-commerce standards.
SkillDFreshness: D★ 6Claude Code +9 - 0.253score
calculator
BaiZeAgent
计算器,执行数学计算
SkillDFreshness: D★ 6Claude Code +9 - 0.251score
browser
BaiZeAgent
打开浏览器访问网页
SkillDFreshness: D★ 6Claude Code +9
Signals
- Stars
- 6
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Feb 26, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/BaiZeAgent/Baize
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from BaiZeAgent
- 0.463score
browser-automation
BaiZeAgent
Automate web browser interactions using natural language via CLI commands.
SkillDFreshness: D★ 6Claude Code +9 - 0.463score
time
BaiZeAgent
获取当前时间和日期信息。用于回答"现在几点"、"今天星期几"、"今天日期"等问题。
SkillDFreshness: D★ 6Claude Code +9 - 0.457score
file-search
BaiZeAgent
Fast file-name and content search using `fd` and `rg` (ripgrep).
SkillDFreshness: D★ 6Claude Code +9 - 0.455score
office-assistant
BaiZeAgent
文员办公助手 - 文档处理、表格操作、格式转换、内容整理等
SkillDFreshness: D★ 6Claude Code +9 - 0.455score
skill
BaiZeAgent
技能管理,搜索、安装、卸载技能
SkillDFreshness: D★ 6Claude Code +9 - 0.455score
browser-automation
BaiZeAgent
浏览器自动化操作 - 打开网页、截图、提取内容、填表等
SkillDFreshness: D★ 6Claude Code +9
Cite this page
svg-draw skill. Agent Mart. https://agentmart.dev/skills/baizeagent-svg-draw (last updated 2026-10-24)