← Back to Skills Marketplace
guyoung

Graphviz

by guyoung · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
125
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install graphviz
Description
Generate SVG images from Graphviz DOT graphs using WebAssembly. Uses the graphviz_component.wasm running in the openclaw-wasm-sandbox plugin. No graphviz sys...
README (SKILL.md)

Graphviz SVG Generator

Generate SVG images from Graphviz DOT graph descriptions using WebAssembly.

When to Use

Trigger when:

  • Keywords: graphviz, DOT, SVG, flowchart
  • user asks to generate/convert/visualize a graph from DOT language
  • user wants to render a Graphviz diagram as SVG
  • user provides DOT notation and wants SVG output
  • 用户要求生成/转换/可视化 DOT 语言图
  • 用户想要将 Graphviz 图渲染为 SVG
  • 用户提供 DOT 记号并想要 SVG 输出
  • 关键词:流程图生成, 制图

Prerequisites

  • Required plugin: openclaw-wasm-sandbox
  • WASM file: ~/.openclaw/skills/graphviz/files/graphviz_component.wasm (Use the wasm-sandbox-download tool to download,URL: https://raw.githubusercontent.com/guyoung/wasm-sandbox-openclaw-skills/main/graphviz/files/graphviz_component.wasm)

How It Works

The WASM component:

  • Accepts DOT graph string as argument
  • Outputs SVG to stdout

Tool

Use wasm-sandbox-run tool:

Parameter Value
wasmFile ~/.openclaw/skills/graphviz/files/graphviz_component.wasm
args DOT graph string, e.g. ["digraph { a -> b }"]
wasm-sandbox-run({
  wasmFile: "~/.openclaw/skills/graphviz/files/graphviz_component.wasm",
  args: ["digraph { a -> b }"]
})

Usage

  1. User provides DOT graph description
  2. Call wasm-sandbox-run with DOT string in args
  3. Return the SVG output to the user

DOT Language Reference

digraph name {           # Directed graph
  a -> b                 # Edge from a to b
  b -> c
  a [label="Node A"]     # Node with label
  b [shape=box]          # Node shape
}

graph name {             # Undirected graph
  a -- b
  b -- c
}

Common node attributes: label, shape (box, circle, diamond, triangle), color, style (filled, dashed)

Common edge attributes: label, color, style, dir (forward, back, both, none)

Notes

  • No system graphviz binary needed — pure WASM execution
  • No execution permission required — runs in sandbox
  • Runs in sandbox with no implicit file/network access
  • Output is pure SVG ready to display or save
Usage Guidance
This skill appears to do what it claims (render DOT to SVG via a WASM component), but it instructs the agent to download a WebAssembly binary from a raw GitHub URL and run it without any integrity checks. That is the main risk: malicious or compromised WASM could execute unwanted behavior inside the sandbox or exploit sandbox weaknesses. Before installing or running this skill, consider asking the author for: (1) a verified release URL or signed checksum (SHA256) for graphviz_component.wasm, (2) the source repository/homepage and maintainer identity, or (3) bundling the WASM with the skill or using a well-known release host. Also confirm what guarantees the openclaw-wasm-sandbox provides (network/file access restrictions, syscall limitations). If you cannot verify the WASM artifact, avoid running it in contexts with sensitive data or require user confirmation before any automatic download/execute.
Capability Analysis
Type: OpenClaw Skill Name: graphviz Version: 1.0.0 The skill is a legitimate utility for rendering Graphviz DOT diagrams into SVG format using a WebAssembly component. It utilizes the `openclaw-wasm-sandbox` to execute the logic, which is a security-conscious approach to avoid system-level dependencies. The instructions in SKILL.md are clearly aligned with the stated purpose, and the external WASM dependency (hosted on GitHub) is explicitly documented as part of the setup process.
Capability Assessment
Purpose & Capability
Name and description match the instructions: the skill uses the openclaw-wasm-sandbox plugin to run a graphviz_component.wasm and produce SVG from DOT. Requesting the plugin and a WASM file is proportionate to the stated purpose.
Instruction Scope
SKILL.md instructs downloading a WASM file to ~/.openclaw/skills/graphviz/files/graphviz_component.wasm (using a wasm-sandbox-download tool) and running it with wasm-sandbox-run. The doc also states 'runs in sandbox with no implicit file/network access' which contradicts the explicit download instruction. The instructions do not require reading unrelated files or any credentials, but they do implicitly require writing to the user's home directory and performing a network fetch.
Install Mechanism
There is no install spec, but the runtime instructions direct fetching a binary from https://raw.githubusercontent.com/... — a raw GitHub URL. Downloading and executing third-party WASM is a supply-chain risk, especially since no checksum/signature or release provenance is provided and the skill contains no bundled code to inspect.
Credentials
The skill requests no environment variables, no credentials, and no system binaries. The only required resource is the openclaw-wasm-sandbox plugin and the user-local path shown; these are reasonable for the stated function.
Persistence & Privilege
always is false and the skill does not request elevated or persistent platform privileges. It does require writing a file under the user's OpenClaw skills folder, which is normal for a skill that needs a WASM artifact.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install graphviz
  3. After installation, invoke the skill by name or use /graphviz
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of the graphviz skill. - Generate SVG images from Graphviz DOT graphs using WebAssembly—no system Graphviz binary or execution permissions needed. - Processes DOT graph descriptions and returns SVG output. - Uses the openclaw-wasm-sandbox plugin with the graphviz_component.wasm file. - Simple invocation via wasm-sandbox-run; works with both English and Chinese prompts.
Metadata
Slug graphviz
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Graphviz?

Generate SVG images from Graphviz DOT graphs using WebAssembly. Uses the graphviz_component.wasm running in the openclaw-wasm-sandbox plugin. No graphviz sys... It is an AI Agent Skill for Claude Code / OpenClaw, with 125 downloads so far.

How do I install Graphviz?

Run "/install graphviz" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Graphviz free?

Yes, Graphviz is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Graphviz support?

Graphviz is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Graphviz?

It is built and maintained by guyoung (@guyoung); the current version is v1.0.0.

💬 Comments