← Back to Skills Marketplace
logictortoise

Diagram Generator

by AnyGenIO · GitHub ↗ · v3.0.0 · MIT-0
cross-platform ⚠ suspicious
1172
Downloads
1
Stars
9
Active Installs
13
Versions
Install in OpenClaw
/install anygen-diagram-generator
Description
Use this skill any time the user wants to create diagrams, flowcharts, or visual structures. This includes: architecture diagrams, mind maps, org charts, use...
README (SKILL.md)

AI Diagram Generator — AnyGen

This skill uses the AnyGen CLI to generate diagrams and visual charts server-side at www.anygen.io.

Authentication

# Web login (opens browser, auto-configures key)
anygen auth login --no-wait

# Direct API key
anygen auth login --api-key sk-xxx

# Or set env var
export ANYGEN_API_KEY=sk-xxx

When any command fails with an auth error, run anygen auth login --no-wait and ask the user to complete browser authorization. Retry after login succeeds.

How to use

Follow the anygen-workflow-generate skill with operation type smart_draw.

If the anygen-workflow-generate skill is not available, install it first:

anygen skill install --platform \x3Copenclaw|claude-code> -y
Usage Guidance
This skill appears coherent: it uses the AnyGen CLI and an API key to generate diagrams server-side. Before installing, verify you trust the AnyGen service and the @anygen/cli npm package (check publisher, reviews, and release source). Treat the ANYGEN_API_KEY like any secret: avoid sending sensitive diagrams/data to the service, rotate the key if exposed, and consider creating a scoped key if AnyGen supports it. Note the skill may prompt a browser-based OAuth flow during auth and may install an additional AnyGen workflow skill at run-time as needed.
Capability Analysis
Type: OpenClaw Skill Name: anygen-diagram-generator Version: 3.0.0 The skill instructions in SKILL.md direct the AI agent to autonomously install additional software and skills using the command 'anygen skill install --platform <openclaw|claude-code> -y' if dependencies are missing. While this behavior is framed as a setup step for diagram generation via anygen.io, the practice of a skill triggering the installation of further unverified code/packages represents a high-risk capability that could be used for lateral movement or persistence.
Capability Assessment
Purpose & Capability
Name/description, required binary (anygen), and required env var (ANYGEN_API_KEY) all directly match the stated purpose of using the AnyGen service to generate diagrams.
Instruction Scope
SKILL.md instructs the agent to authenticate (anygen auth login / API key) and to invoke the AnyGen CLI and an AnyGen workflow skill. These instructions stay within diagram-generation scope. Minor note: it references another skill ('anygen-workflow-generate') and suggests installing it via the AnyGen CLI; that external dependency is not declared in the metadata but is reasonable for operation.
Install Mechanism
Install spec uses a Node/npm package (@anygen/cli) to provide the anygen binary, which is a standard approach. This is moderate-risk compared with instruction-only skills because it installs third-party code from a package registry; it's proportionate to the CLI requirement but users should trust the package and vendor.
Credentials
Only one credential (ANYGEN_API_KEY) is required and declared as the primary credential; that matches the described remote service usage and is proportionate.
Persistence & Privilege
Skill is not forced-always and does not request broad system or cross-skill config access. It does not claim to modify other skills' configs or system-wide settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install anygen-diagram-generator
  3. After installation, invoke the skill by name or use /anygen-diagram-generator
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v3.0.0
**Major update: Migrated to use the AnyGen CLI, significantly simplifying setup and diagram workflows.** - Replaced all scripts and dependencies with the official @anygen/cli (`anygen`). - Removed all local Python, Node, and Bash helper scripts. - Updated prerequisites: only `anygen` CLI required (auto-installs via npm/yarn/pnpm as needed). - Authentication now uses a simple web login or direct API key via the CLI. - Diagram generation flows are now directed through the `anygen-workflow-generate` skill. - Greatly simplified installation and usage instructions.
v1.3.5
- Clarified how diagram rendering libraries (Draw.io, Excalidraw) are fetched and executed in the local browser context. - Added security guidance: users with strict data-isolation requirements should review rendering scripts or run them in a network-restricted environment. - Updated details under "Security & Permissions" to improve transparency about library usage and local processing.
v1.3.4
anygen-diagram-generator 1.3.4 - Improved security/permissions documentation: specifies CDNs are only for static libraries, no diagram content is sent externally. - Enhanced communication style: when showing `prepare` replies/prompts, preserve original wording as much as possible, translating only if needed—do NOT rephrase or summarize. - User prompts for missing API keys now use proper Markdown link formatting for better usability. - Added explicit declaration and requirements for `sessions_spawn` in metadata for background diagram monitoring. - Workflow expanded from 4 to 5 phases, clarifying that the diagram plan prompt must be preserved and shown verbatim to the user for approval. - Metadata, prerequisites, and capability fields refined for clarity and accuracy.
v1.3.3
- Added automated installation of Playwright and tsx (TypeScript runtime) dependencies for local PNG diagram rendering. - Updated prerequisites in metadata: clarified Node.js is needed, and Node-based tools now auto-install. - Revised Python and Node.js requirements in skill metadata for improved setup automation. - Security section clarified: diagram rendering now uses Playwright and Chromium locally, and fetches diagram libraries from public CDNs. - Minor improvements to the security, permissions, and prerequisites documentation for accuracy and clarity.
v1.3.2
anygen-diagram-generator 1.3.2 - Added modular Python scripts for authentication and file utilities (`scripts/auth.py`, `scripts/fileutil.py`) - Updated main script logic in `scripts/anygen.py` to use new helpers - Documented new file structure, behavior, and API security model - Added `scripts/package-lock.json` for better Node.js dependency management - Streamlined and clarified SKILL.md, especially around security, permissions, and background monitoring workflow
v1.3.1
Script fix
v1.3.0
Major SKILL.md and script update with enhanced dialogue mode and monitoring
v1.2.3
Sync latest updates from repo
v1.2.2
Update SKILL.md and scripts
v1.2.1
Fix filesystem write path: use <skill_dir>/scripts/node_modules/ instead of ./node_modules/
v1.2.0
Fix security scan issues: update network permissions (esm.sh, viewer.diagrams.net, npm registry, googleapis), clarify file upload behavior, document auto-install behavior for Puppeteer/Chromium, fix poll interval documentation
v1.1.0
Update SKILL.md and scripts
v1.0.0
AnyGen Diagram Generator 1.0.0 – Initial Release - Generate architecture diagrams, flowcharts, system diagrams, and sequence diagrams from natural language prompts. - Supports export to DrawIO (.xml) and Excalidraw (.json) formats, with auto-rendering to PNG for preview. - Includes milestone-based progress updates that notify users at key stages of the diagram creation process. - Command-line scripts provided for task creation, status polling, downloading, and PNG rendering. - Error handling guidelines and troubleshooting info included. - Easy setup via API key, with automatic dependency management for rendering.
Metadata
Slug anygen-diagram-generator
Version 3.0.0
License MIT-0
All-time Installs 9
Active Installs 9
Total Versions 13
Frequently Asked Questions

What is Diagram Generator?

Use this skill any time the user wants to create diagrams, flowcharts, or visual structures. This includes: architecture diagrams, mind maps, org charts, use... It is an AI Agent Skill for Claude Code / OpenClaw, with 1172 downloads so far.

How do I install Diagram Generator?

Run "/install anygen-diagram-generator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Diagram Generator free?

Yes, Diagram Generator is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Diagram Generator support?

Diagram Generator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Diagram Generator?

It is built and maintained by AnyGenIO (@logictortoise); the current version is v3.0.0.

💬 Comments