drawai-simple
Reconstruct a single raster image as a standalone, visually faithful, structurally editable SVG using the DrawAI Simple Baseline protocol.
Skill by Renaissance-Mind
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/renaissance-mind-drawai-simple
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
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
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/drawai-simple
What's inside
- Skill name
drawai-simple- Description
- Reconstruct a single raster image as a standalone, visually faithful, structurally editable SVG using the DrawAI Simple Baseline protocol.
- License
- Apache-2.0
- Instructions
- 70 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
## Image-to-Editable-SVG Reconstruction Protocol
### Role
Given a single source raster image, reconstruct it as a standalone, visually faithful, and structurally editable SVG document.
### Objective
Create an SVG whose rendered appearance closely matches the source image while preserving semantic structure and editability wherever practical. The task must be completed by inspecting the supplied image and writing and executing local code within the run directory. Do not merely describe a solution, return a declarative scene specification, or stop at an intermediate representation.
### Permitted Operations
- Use the selected agent/model as the only model for visual understanding, reasoning, and implementation.
- Write local scripts and intermediate files required to construct, render, and validate the SVG.
- Use native SVG elements, including text, groups, paths, rectangles, circles, ellipses, polygons, polylines, lines, gradients, clipping paths, masks, and filters when appropriate.
- Use deterministic crops from the source image for complex photos, illustrations, textures, screenshots, icons, logos, or other regions that cannot be faithfully reconstructed as vector objects.
## Reconstruction Procedure
1. Inspect the complete source image and infer its canvas dimensions, visual hierarchy, major regions, text, spatial relationships, colors, and reusable graphical structures.
2. Decompose the slide into semantic components. Distinguish content that should be represented as editable SVG text and vector primitives from complex raster content that should be preserved through localized source crops.
3. Set the SVG `viewBox` to match the source dimensions or an exactly proportional coordinate system, then reconstruct the slide in visual stacking order: background, large regions, structural elements, text, diagrams, and localized raster assets.
4. Preserve text as SVG `<text>` and `<tspan>` elements when it is readable. Preserve grouping, alignment, line breaks, emphasis, and approximate font metrics.
5. When local deterministic SVG rendering is available, render `output/result.svg` to `output/preview.png`, compare it with the source image, and revise discrepancies in element presence, layout, text placement, scale, color, style, stacking order, and clarity.
6. Generate the final SVG only after checking that it is valid, standalone, renderable, and visually faithful.
### Fidelity Criteria
- Preserve the source slide's aspect ratio, composition, alignment, spacing, typography hierarchy, colors, borders, and relative element sizes as closely as practical.
- Use semantic SVG primitives rather than converting all content into undifferentiated paths.
- Represent simple shapes, connectors, arrows, tables, charts, diagrams, and icons as native editable SVG elements whenever possible.
- Prefer a localized deterministic crop over an inaccurate vector simplification for complex raster artwork.
- Do not use the whole source image, or a near-full-page crop, as an SVG `<image>` background.
- Avoid omitted elements, unintended overlaps, clipped text, malformed paths, broken asset references, and generic placeholder graphics.
### Output Contract
Produce the following files:
- `output/result.svg`: the final standalone SVG reconstruction.
- `output/notes.md`: a concise record of the reconstruction strategy, native SVG elements, source crops, and known limitations.
- `output/preview.png`: a deterministic local rendering of the final SVG when a renderer is available.
- `output/agent-result.json`: the completion sentinel, written last.
`output/result.svg` must contain `xmlns="http://www.w3.org/2000/svg"`, a valid `viewBox` matching the source aspect ratio, and a closing `</svg>` element.
`output/agent-result.json` must contain `success: true` and `final: true` and follow this structure:
```json
{
"success": true,
"final": true,
"svg": "output/result.svg",
"preview": "output/preview.png",
"notes": "output/notes.md",
"used_tools": ["svg"],
"used_source_crops": true,
"used_full_page_background": false,
"errors": []
}
```
## Runtime Constraints
- Use the selected Agent and model as the only source of visual understanding and reasoning.
- Do not call another LLM, OCR service, vision API, image generation API, or web service.
- Keep all generated files and deterministic source crops inside the current run directory.
- Write output/agent-result.json last, only after validating the final SVG and its declared artifacts.From Renaissance-Mind/DrawAI, Apache-2.0.
More from Renaissance-Mind/DrawAI
- 0.790score
drawai-image2ppt
Renaissance-Mind
把已经确定的页面图像转成可编辑 PowerPoint。支持 Workbench 中的 DrawAI-Flow 和当前会话 Skill 两种模式,默认由当前 Agent 实施,支持用户明确选择工作台执行;包含原生 PPT 构建、编辑、导出和检查工具包。
SkillAFreshness: A★ 188Claude Code +9 - 0.787score
drawai-design
Renaissance-Mind
确定 DrawAI PPT 的页面视觉图像。根据内容、参考图与 PPTX 模板逐页设计和生成,或接收用户已经确定的页面图像;需要参考时接入模板页面,交付有序图像清单给 drawai-image2ppt。
SkillAFreshness: A★ 188Claude Code +9 - 0.787score
drawai-readme
Renaissance-Mind
DrawAI 的 Session 制作入口。图像可使用宿主能力或用户配置的 API;最终制作默认保留当前 Agent 的模型和配置,调用统一核心完成设计、转换与检查。
SkillAFreshness: A★ 188Claude Code +9 - 0.775score
drawai-ppt
Renaissance-Mind
DrawAI 旧 PPT 技能路径的兼容说明;实际图像转 PPT、原生对象制作与文件编辑使用 drawai-image2ppt。
SkillAFreshness: A★ 188Claude Code +9
Signals
- Stars
- 188
- Forks
- 20
- Open issues
- 3
- Last commit (this folder)
- Sep 7, 2026 (1 month ago)
- Last release
- Jun 17, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/Renaissance-Mind/DrawAI
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Renaissance-Mind
- 0.790score
drawai-image2ppt
Renaissance-Mind
把已经确定的页面图像转成可编辑 PowerPoint。支持 Workbench 中的 DrawAI-Flow 和当前会话 Skill 两种模式,默认由当前 Agent 实施,支持用户明确选择工作台执行;包含原生 PPT 构建、编辑、导出和检查工具包。
SkillAFreshness: A★ 188Claude Code +9 - 0.787score
drawai-design
Renaissance-Mind
确定 DrawAI PPT 的页面视觉图像。根据内容、参考图与 PPTX 模板逐页设计和生成,或接收用户已经确定的页面图像;需要参考时接入模板页面,交付有序图像清单给 drawai-image2ppt。
SkillAFreshness: A★ 188Claude Code +9 - 0.787score
drawai-readme
Renaissance-Mind
DrawAI 的 Session 制作入口。图像可使用宿主能力或用户配置的 API;最终制作默认保留当前 Agent 的模型和配置,调用统一核心完成设计、转换与检查。
SkillAFreshness: A★ 188Claude Code +9 - 0.775score
drawai-ppt
Renaissance-Mind
DrawAI 旧 PPT 技能路径的兼容说明;实际图像转 PPT、原生对象制作与文件编辑使用 drawai-image2ppt。
SkillAFreshness: A★ 188Claude Code +9
Cite this page
drawai-simple skill. Agent Mart. https://agentmart.dev/skills/renaissance-mind-drawai-simple (last updated 2026-10-24)