All skills
agents365-ai avatar

/plantuml-skill

@72ee04b

Use when user requests diagrams, flowcharts, sequence diagrams, class diagrams, component diagrams, ER diagrams, architecture charts, or visualizations — including generating a diagram from existing source code, or rendering/extracting PlantUML embedded in a Markdown file to images (e.g. preparing docs for Confluence/Notion). Also use proactively when explaining systems with 3+ components, APIs, data flows, or class hierarchies. Generates .puml files and exports to PNG/SVG via Kroki API (no local install required).

Use this Skill: https://skilld.dev/gh/agents365-ai/365-skills/plantuml-skill

This session only. Nothing lands on disk.

referencesmarkdown-embed.md

≈416 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Rendering PlantUML Embedded in Markdown (Extract → Render → Rewrite)

Use when a Markdown file already contains PlantUML and the user wants images instead of raw source — "render the diagrams in this README", or "prepare this doc for Confluence / Notion" (those platforms don't render fenced PlantUML).

What to find

  1. Fenced blocks: ```plantuml or ```puml … ```
  2. Linked sources: ![alt](path/to/diagram.puml)

Steps (per diagram)

  1. Extract the source — the fenced body, or read the linked .puml.

  2. Name it stably — slug from the nearest heading or the alt text, e.g. images/<doc>-<slug>.png. Stable names keep re-runs idempotent (no duplicate files piling up each time the doc is reprocessed).

  3. Render + validate via Workflow Step 4–5, writing into the images dir.

  4. Rewrite the Markdown:

    • fenced block → replace with ![alt](images/<doc>-<slug>.png)
    • linked .puml → repoint the link to the rendered image
  5. Keep the source. Either leave the original .puml on disk, or tuck the source under a collapsed block so the diagram stays editable:

    ![Login flow](images/readme-login-flow.png)
    
    <details><summary>PlantUML source</summary>
    
    ```plantuml
    ...original source...
    ```
    
    </details>

Notes

  • SVG vs PNG — SVG keeps text crisp and is smaller for line diagrams; PNG is the safest for pasting into Confluence / Notion. Pick per target.
  • Report, don't silently skip — process every match and report a count ("rendered 4 of 4 diagrams"); surface any that failed Step 5 validation instead of dropping them.

Source: SKILL.md on GitHub

No alerts16d3 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    This skill facilitates the generation and rendering of PlantUML diagrams using the Kroki API or local tools. It is transparent about data transmission to external services and provides instructions for local setup. The primary security considerations involve the ingestion of untrusted data from source files and the use of administrative commands for dependency installation.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

Signed by skilld at 72ee04b. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 12 hours ago.

Activeupdated 3 weeks ago
homepage
https://github.com/Agents365-ai/365-skills
platforms
[
  "macos",
  "linux",
  "windows"
]
Other metadata
compatibility
Requires curl on PATH (pre-installed on macOS/Linux/Windows Git Bash). Default renderer is the public Kroki API at https://kroki.io; can also point to a local Kroki Docker instance, or fall back to a local PlantUML jar + Java + Graphviz.
metadata
{
  "openclaw": {
    "requires": {
      "bins": [
        "curl"
      ]
    },
    "emoji": "🧩",
    "os": [
      "darwin",
      "linux",
      "win32"
    ]
  },
  "hermes": {
    "tags": [
      "plantuml",
      "diagram",
      "flowchart",
      "sequence",
      "class",
      "uml",
      "architecture",
      "kroki"
    ],
    "category": "design",
    "requires_tools": [
      "curl"
    ],
    "related_skills": [
      "drawio",
      "mermaid",
      "excalidraw",
      "tldraw"
    ]
  },
  "author": "Agents365-ai",
  "version": "1.5.0"
}

README badge

README badge for agents365-ai/365-skills/plantuml-skill