Agent skill

Drawai Simple

by Renaissance-Mind in Renaissance-Mind/DrawAI

Reconstruct a single raster image as a standalone, visually faithful, structurally editable SVG using the DrawAI Simple Baseline protocol.

Apache-2.0Auto-check passedDocuments & Office

Install Drawai Simple

skills CLI
$ npx skills add Renaissance-Mind/DrawAI --skill drawai-simple -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Renaissance-Mind/DrawAI drawai-simple --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Renaissance-Mind/DrawAI.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/drawai-simple .claude/skills/drawai-simple && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
drawai-simple
GitHub stars
146
Token cost
~1.2k tokens
SKILL.md length
556 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
Apache-2.0

At a glance

Reconstruct a single raster image as a standalone, visually faithful, structurally editable SVG using the DrawAI Simple Baseline protocol.

  • Works in 6 steps: Inspect the complete source image and… → Decompose the slide into semantic… → Set the SVG viewBox to match the source… → …
  • Documents & Office work in your project
  • SKILL.md covers Image-to-Editable-SVG…, Reconstruction Procedure and Runtime Constraints
  • Reaches w3.org

What it does

Drawai Simple is an agent skill from Renaissance-Mind/DrawAI. Reconstruct a single raster image as a standalone, visually faithful, structurally editable SVG using the DrawAI Simple Baseline protocol.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office. The repository describes itself as: Make raster image ediatble. 将生成图像(如GPT-Image-2或Nano Banana)或截图变为可编辑的格式,实现高质量PPT、论文图直出。 The licence is Apache-2.0.

When your agent uses it

  • Documents & Office work in your project

Example prompts

  • “/drawai-simple”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Inspect the complete source image and infer its canvas dimensions, visual hierarchy, major regions, text, spatial relationships, colors…
  2. Decompose the slide into semantic components. Distinguish content that should be represented as editable SVG text and vector primitives…
  3. Set the SVG viewBox to match the source dimensions or an exactly proportional coordinate system, then reconstruct the slide in visual…
  4. Preserve text as SVG and 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…
  6. Generate the final SVG only after checking that it is valid, standalone, renderable, and visually faithful.

What it can do on your machine

Read from SKILL.md and the folder at commit 212857e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • w3.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Drawai Simple loads about 1.2k tokens when it runs. Until then it costs about 38 tokens; SKILL.md has 556 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~38
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Renaissance-Mind/DrawAI at commit 212857e, republished under its Apache-2.0 licence (© Renaissance-Mind). 556 words, ~1,171 tokens.

Download SKILL.mdSave it as .claude/skills/drawai-simple/SKILL.md (or your agent's skills folder).
name
drawai-simple
description
Reconstruct a single raster image as a standalone, visually faithful, structurally editable SVG using the DrawAI Simple Baseline protocol.

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.
Show full SKILL.md (233 more words)Show less
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.

© Renaissance-Mind, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/drawai-simple of Renaissance-Mind/DrawAI.

Open the folder on GitHubat commit 212857e

Compare with similar skills

Drawai Simple next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Drawai Simple compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Drawai Simple this skillRenaissance-Mind/DrawAI146—~1.2kAutomated safety check: PassApache-2.0
Markdown Article FormatterJimLiu/baoyu-skills27k6 repos~3.5kAutomated safety check: PassMIT
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
Obsidian MarkdownAtmosphere/atmosphere3.8k20 repos~1.3kAutomated safety check: PassApache-2.0
DOCXrvdbreemen/OTGW-firmware20733 repos~4.3kAutomated safety check: PassProprietary
Word Document Reader and WriterHKUDS/DeepTutor41k—~2.5kAutomated safety check: PassApache-2.0

Similar skills

  • Markdown Article Formatter

    JimLiu/baoyu-skills

    Reformats plain text or Markdown articles with frontmatter, a title, a summary, headings, bold, lists and code blocks, and saves a separate formatted copy.

    27k GitHub starsUsed in 6 repos~3.5k tokens
    Documents & OfficeAuto-check passed
  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Obsidian Markdown

    Atmosphere/atmosphere

    Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax.

    3.8k GitHub starsUsed in 20 repos~1.3k tokens
    Documents & OfficeAuto-check passed
  • DOCX

    rvdbreemen/OTGW-firmware

    A skill your agent uses whenever the user wants to create, read, edit, or manipulate Word documents (.docx files).

    207 GitHub starsUsed in 33 repos~4.3k tokens
    Documents & OfficeAuto-check passed
  • Reads, creates and edits Word .docx files with python-docx, and drops to raw OOXML for tracked changes, comments and byte-exact edits.

    41k GitHub stars~2.5k tokensUpdated 3 days ago
    Documents & OfficeAuto-check passed
  • Crossposting

    wasp-lang/wasp

    Crosspost Wasp blog articles (MDX) to DEV.to and Medium. An agent skill from wasp-lang/wasp.

    19k GitHub stars~1.1k tokensUpdated today
    Documents & OfficeAuto-check passed

More from Renaissance-Mind/DrawAI

  • Drawai Image2ppt

    Renaissance-Mind/DrawAI

    把已经确定的页面图像转成可编辑 PowerPoint。支持 Workbench 中的 DrawAI-Flow 和当前会话 Skill 两种模式,按当前模型与工具能力给出默认路由;包含原生 PPT 构建、编辑、导出和检查工具包。

    146 GitHub stars~803 tokensUpdated today
    Auto-check passed
  • Drawai Design

    Renaissance-Mind/DrawAI

    确定 DrawAI PPT 的页面视觉图像。根据内容、参考图与 PPTX 模板逐页设计和生成,或接收用户已经确定的页面图像;需要参考时接入模板页面,交付有序图像清单给 drawai-image2ppt。

    146 GitHub stars~421 tokensUpdated today
    Auto-check passed
  • Drawai Readme

    Renaissance-Mind/DrawAI

    DrawAI 插件的整体说明与 PPT 制作入口。用户通过 DrawAI 制作或编辑 PPT 时先读本技能,检查当前图像工具和模型,按需补齐参考、页面细节与转换模式,再进入视觉设计和图像转 PPT。

    146 GitHub stars~616 tokensUpdated today
    Auto-check passed

Questions about Drawai Simple

What does Drawai Simple do?

Reconstruct a single raster image as a standalone, visually faithful, structurally editable SVG using the DrawAI Simple Baseline protocol. Drawai Simple is an agent skill from Renaissance-Mind/DrawAI. Reconstruct a single raster image as a standalone, visually faithful, structurally editable SVG using the DrawAI Simple Baseline protocol.

When should I use Drawai Simple?

Drawai Simple fits situations like: documents & Office work in your project.

How do I install Drawai Simple in Claude Code?

Run `npx skills add Renaissance-Mind/DrawAI --skill drawai-simple -a claude-code`. Or copy the skill folder (skills/drawai-simple in Renaissance-Mind/DrawAI) into .claude/skills/drawai-simple in your project. Claude Code loads it when a task matches its description.

How do I install Drawai Simple in Codex?

Run `npx skills add Renaissance-Mind/DrawAI --skill drawai-simple -a codex`. Or copy the skill folder (skills/drawai-simple in Renaissance-Mind/DrawAI) into .agents/skills/drawai-simple in your project. Codex loads it when a task matches its description.

Can I use Drawai Simple in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Renaissance-Mind/DrawAI --skill drawai-simple -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/drawai-simple, .gemini/skills/drawai-simple, .github/skills/drawai-simple and .opencode/skills/drawai-simple in your project.

What does Drawai Simple need to run?

SKILL.md names no scripts, command-line tools or credentials: Drawai Simple is instructions for the agent only.

Does Drawai Simple access the network?

SKILL.md names 1 domain. In commands or code: w3.org; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Drawai Simple safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Drawai Simple use?

Drawai Simple is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Drawai Simple use?

About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Drawai Simple?

Skills that share tags, products or a category with Drawai Simple: Markdown Article Formatter (JimLiu/baoyu-skills, 27k stars), Markitdown (ImCa0/just-laws, 781 stars), Obsidian Markdown (Atmosphere/atmosphere, 3.8k stars) and DOCX (rvdbreemen/OTGW-firmware, 207 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Drawai Simple?

Renaissance-Mind (a GitHub organization) maintains it in Renaissance-Mind/DrawAI, which has 146 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 10, 2026.

Source: Renaissance-Mind/DrawAI on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.