Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计通过

auto-plantuml-edit自动植物编辑

Agent Skill

auto-plantuml-edit 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,909

周安装

78

GitHub Stars

公开资料未说明

下载量

618
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:auto-plantuml-edit(自动植物编辑)
来源仓库:https://github.com/zhangjilei123-1/auto-plantuml-edit
安装命令:
openclaw skills install auto-plantuml-edit
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install auto-plantuml-edit

简介

将自然语言转换为 UML 图,在 PowerPoint 中导出可编辑的 PPT/EMF 以及可单独编辑的形状。

SKILL.md

name
AutoPlantUMLEdit
description
Convert natural language to UML diagrams, export editable PPT/EMF with individually editable shapes in PowerPoint.

AutoPlantUMLEdit

Auto-generate UML diagrams from natural language, one-click export to editable PPT/EMF with individually editable shapes in PowerPoint.

Core Capabilities

  • Natural Language → PlantUML: Generate PlantUML syntax from user requirements
  • One-click Export: SVG → EMF → PPT, supports SVG/PNG/EMF/PPT formats
  • Fully Editable: EMF/PPT can be ungrouped in PowerPoint for independent shape editing

Trigger Conditions

Activate when user expresses:

  • "Generate a... sequence/class/flowchart diagram"
  • "Draw me a... architecture diagram"
  • "Create a... state diagram"
  • "I want to see... UML diagram"

Usage Flow

  1. Generate PlantUML syntax based on user requirements
  2. Save as {name}.puml file
  3. Run script to generate output

Script Commands

python svg2emf.py <input.puml> [-f ppt|svg|png|emf] [-o <output>]

Parameters:

ParameterDescriptionDefault
<input.puml>PlantUML source fileRequired
-fOutput formatppt
-oOutput file pathSame name .pptx

Examples:

# Generate PPT (default)
python svg2emf.py sequence.puml

# Export SVG
python svg2emf.py sequence.puml -f svg

# Export PNG
python svg2emf.py sequence.puml -f png

# Export EMF (editable)
python svg2emf.py sequence.puml -f emf

# Specify output path
python svg2emf.py sequence.puml -o my_diagram.pptx

PlantUML Syntax Reference

Sequence Diagram

@startuml
participant Alice as A
participant Bob as B
A -> B : message
B --> A : response
@enduml

Class Diagram

@startuml
class User {
  +name: String
  +login()
}
class Order {
  +items: List
  +calculate()
}
User "1" -- "*" Order : places
@enduml

Activity Diagram (Flowchart)

@startuml
start
:Login system;
if (Password correct?) then (Yes)
  :Go to home;
else (No)
  :Show error;
  stop
endif
stop
@enduml

State Diagram

@startuml
[*] --> Waiting
Waiting --> Processing: Start
Processing --> Completed: Success
Processing --> Failed: Error
Completed --> [*]
Failed --> [*]
@enduml

Use Case Diagram

@startuml
left to right direction
actor User as U
rectangle System {
  U -- (Login)
  U -- (Place Order)
  U -- (Query Order)
}
@enduml

Output Format Guide

FormatDescriptionPowerPoint Editable
.pptxSlide with embedded EMF✅ Ungroup to edit
.emfEnhanced Metafile✅ Ungroup to edit
.svgVector image❌ Needs conversion
.pngRaster image❌ Not editable

Recommended Workflow:

  1. Generate .pptx format
  2. Select the image in PowerPoint
  3. Right-click → GroupUngroup (may need to ungroup multiple times to fully separate all elements)
  4. Edit each element independently

⚠️ Important Notes

After generating PPT, you MUST tell the user the following:

"PPT generated! To edit each shape: Select the image → Right-click → Group → Ungroup. Note: You may need to ungroup multiple times (Ctrl+Shift+G) to fully separate all elements and ensure each shape can be edited independently."

Notes

  1. Avoid Chinese characters, spaces, and special characters in .puml filenames
  2. PlantUML syntax requires matching @startuml and @enduml
  3. Output files are saved in the current working directory
  4. Inkscape and JDK must be installed and configured in PATH (see dependency section below)
  5. Use system Python to run the script: Ensure dependencies are installed via pip install -r requirements.txt

⚠️ Swimlane/Participant Names Must Be in English

Due to PlantUML encoding limitations, swimlane names and participant names must be in English. Activity descriptions and messages should use the user's language.

@startuml ecommerce_flow

|Customer|
start
:Browse Products;
:Place Order;
|OrderService|
:Process Order;

@enduml

Rules:

  • Swimlane/Participant names: Must be in English (e.g., Customer, OrderService)
  • Activity descriptions/messages: Use user's language (if user speaks Chinese, use Chinese "浏览商品"; if English, use "Browse Products")
  • State names: Use English (e.g., Active, Pending, Completed)

Reason: PlantUML has an encoding bug when handling non-English swimlane/participant names, producing SVGs with corrupted HTML entity references. This is a PlantUML limitation that cannot be resolved via configuration.

Dependency Instructions

External Dependencies Check

Before using this skill, verify the following dependencies are installed:

1. Inkscape (Vector Conversion)

Inkscape is used to convert SVG to EMF format, it's the core dependency.

Check if installed:

# Run in command line
inkscape --version

If not installed, follow these steps:

  1. Visit Inkscape download page: https://inkscape.org/release/
  2. Download Windows installer (.exe or .msi)
  3. Run the installer, make sure to check "Add Inkscape to PATH" during installation
  4. After installation, reopen command line window and verify:
inkscape --version

Version requirement: Inkscape 1.0 or higher

Important: If not added to PATH during installation, you can add manually:

  • Add C:\Program Files\Inkscape\bin to system PATH environment variable

2. OpenJDK (Run PlantUML)

Check if installed:

java --version

If not installed, follow these steps:

  1. Visit Adoptium download page: https://adoptium.net/zh-CN/temurin/releases?version=8
  2. Download Windows x64 JDK 8 (.msi or .exe)
  3. Run the installer
  4. Configure environment variables:
VariableValue
JAVA_HOMEC:\Program Files\Eclipse Adoptium\jdk-8.x.x.x-hotspot (adjust to actual install path)
PATH (append)%JAVA_HOME%\bin
  1. Verify installation:
java --version

Python Dependencies

Install via pip:

pip install -r requirements.txt

requirements.txt contents:

  • pillow
  • python-pptx

PlantUML Jar Download

Important: If scripts/plantuml.jar does not exist, the AI model should download it automatically.

Download command:

# Navigate to AutoPlantUMLEdit skill directory first
curl -L -o "scripts/plantuml.jar" "https://github.com/plantuml/plantuml/releases/download/v1.2026.2/plantuml-1.2026.2.jar"

Or using PowerShell:

# Navigate to AutoPlantUMLEdit skill directory first
Invoke-WebRequest -Uri "https://github.com/plantuml/plantuml/releases/download/v1.2026.2/plantuml-1.2026.2.jar" -OutFile "scripts/plantuml.jar"

Verify after download:

java -jar scripts/plantuml.jar -version

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

80.96%
按下载量换算500

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills