Agent Skills
› AnyGenIO/anygen-skills
› anygen-diagram
anygen-diagram
GitHub用于通过 AnyGen CLI 生成各类图表,如架构图、流程图、思维导图等。支持认证配置及依赖技能安装,处理用户绘图请求。
触发场景
创建架构图或系统设计图
绘制流程图或甘特图
生成思维导图或组织架构图
用户明确要求画图
安装
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
版本历史
- af7aead 当前 2026-07-25 11:50


