anygen-diagram
GitHub用于通过 AnyGen CLI 生成各类图表和视觉结构,如架构图、流程图、思维导图等。需先配置认证并依赖 anygen-workflow-generate 技能,支持服务端绘图。
Trigger Scenarios
Install
npx skills add AnyGenIO/anygen-skills --skill anygen-diagram -g -y
SKILL.md
Frontmatter
{
"name": "anygen-diagram",
"metadata": {
"clawdbot": {
"install": [
{
"id": "node",
"bins": [
"anygen"
],
"kind": "node",
"package": "@anygen\/cli"
}
],
"requires": {
"env": [
"ANYGEN_API_KEY"
],
"bins": [
"anygen"
]
},
"primaryEnv": "ANYGEN_API_KEY"
}
},
"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."
}
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
Version History
- af7aead Current 2026-07-25 11:50


