Install any skill in seconds. Free to start, no credit card required.
Get Started Free →AI generator that creates professional or hand-drawn diagrams like flowcharts, architecture, UML, and mind maps via the AnyGen API.
Use this skill ↓0% 14%+14 ptsof test cases passed
Passed 3 of 22 test cases with the skill, and 0 of 22 without it.
3 of 3 safety checks passed
Not used yet
You MUST strictly follow every instruction in this document. Do not skip, reorder, or improvise any step. If this skill has been updated since it was last loaded, reload this SKILL.md before proceeding and always follow the latest version.
Generate diagrams and visual charts using AnyGen OpenAPI (www.anygen.io). Diagrams are generated server-side; this skill sends the user's prompt and optional reference files to the AnyGen API and retrieves the results. An API key (ANYGEN_API_KEY) is required to authenticate with the service. Supports flowcharts, architecture diagrams, mind maps, UML, ER diagrams, org charts, and more. Two rendering styles: professional (Draw.io) and hand-drawn (Excalidraw).
Diagrams are generated server-side by AnyGen's OpenAPI (www.anygen.io). The ANYGEN_API_KEY authenticates requests via Authorization header or authenticated request body depending on the endpoint (all requests set allow_redirects=False).
What this skill does: sends prompts to www.anygen.io, uploads user-specified reference files after consent, downloads diagram files to ~/.openclaw/workspace/, renders diagram source (Draw.io XML / Excalidraw JSON) to PNG locally using Playwright and Chromium, monitors progress in background via sessions_spawn (declared in requires), reads/writes config at ~/.config/anygen/config.json. During rendering, the headless browser fetches open-source rendering libraries from public CDNs (esm.sh for Excalidraw, viewer.diagrams.net for Draw.io viewer, fonts.googleapis.com for fonts). Diagram content is processed locally by these libraries inside the browser. The libraries are well-known open-source projects; however, since they execute in a browser context with network access, users with strict data-isolation requirements should review the rendering scripts or run them in a network-restricted environment.
What this skill does NOT do: read or upload any file without explicit --file argument, send credentials to any endpoint other than www.anygen.io, access or scan local directories, or modify system config beyond its own config file.
Bundled scripts: scripts/anygen.py, scripts/auth.py, scripts/fileutil.py (Python — uses requests), scripts/render-diagram.sh (Bash), scripts/diagram-to-image.ts (TypeScript). Scripts print machine-readable labels to stdout (e.g., File Token:, Task ID:) as the standard agent-tool communication channel. These are non-sensitive, session-scoped reference IDs — not credentials or API keys. The agent should not relay raw script output to the user to keep the conversation natural (see Communication Style).
requests: pip3 install requestssk-xxx) — Get one from AnyGenpython3 scripts/anygen.py config set api_key "sk-xxx" (saved to ~/.config/anygen/config.json, chmod 600). Or set ANYGEN_API_KEY env var.All
scripts/paths below are relative to this skill's installation directory.
Use natural language. Never expose task_id, file_token, task_xxx, tk_xxx, anygen.py, or command syntax to the user. Say "your diagram", "generating", "checking progress" instead. When presenting reply and prompt from prepare, preserve the original content as much as possible — translate into the user's language if needed, but do NOT rephrase, summarize, or add your own interpretation. Ask questions in your own voice (NOT "AnyGen wants to know…"). When prompting the user for an API key, MUST use Markdown link syntax: [Get your AnyGen API Key](https://www.anygen.io/home?auto_create_openclaw_key=1) so the full URL is clickable.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.