360 Secure SkillHub
360 安全技能中心

Diagram Generator

该 Skill 借助 AnyGen CLI(Node 包 @anygen/cli)在服务端生成图示,覆盖流程图、架构图、思维导图、组织架构图、旅程图、甘特图、线框图等。使用前需通过浏览器登录或 API Key 完成认证,实际生成依赖 another 的 anygen-workflow-generate 技能并以 smart_draw 操作类型执行。

logictortoise
logictortoise
热度 95.71
最近更新 2026-05-17 13:20:42
分类:创作依赖:第三方 API / 代码执行应用场景:图像生成 / UI 原型

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add anygen-diagram-generator
Metadata
name
anygen-diagram
description
Use this skill any time the user wants to create diagrams, flowcharts, or visual structures. This includes: architecture diagrams, mind maps, org charts, user journey maps, system design diagrams, ER diagrams, sequence diagrams, process flows, decision trees, network topologies, class diagrams, Gantt charts, SWOT analysis diagrams, wireframes, and sitemaps. Also trigger when: user says 画个流程图, 做个架构图, 思维导图, 组织架构图, 用户旅程图, 系统设计图, 甘特图. If a diagram or visual structure needs to be drawn, use this skill.
metadata
{"clawdbot":{"primaryEnv":"ANYGEN_API_KEY","requires":{"bins":["anygen"],"env":["ANYGEN_API_KEY"]},"install":[{"id":"node","kind":"node","package":"@anygen/cli","bins":["anygen"]}]}}

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 <openclaw|claude-code> -y