# Send Diagram to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "diagram",
    "name": "Diagram",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/ivangdavila/diagram",
    "canonicalUrl": "https://clawhub.ai/ivangdavila/diagram",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/diagram",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=diagram",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "diagram",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-02T13:20:29.254Z",
      "expiresAt": "2026-05-09T13:20:29.254Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=diagram",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=diagram",
        "contentDisposition": "attachment; filename=\"diagram-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "diagram"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/diagram"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/diagram",
    "downloadUrl": "https://openagent3.xyz/downloads/diagram",
    "agentUrl": "https://openagent3.xyz/skills/diagram/agent",
    "manifestUrl": "https://openagent3.xyz/skills/diagram/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/diagram/agent.md"
  }
}
```
## Documentation

### Principle

Diagrams should clarify, not complicate. Start simple, add detail only when needed. A 5-box flowchart beats a 50-node sprawl.

### When User Describes a System or Flow

Identify diagram type — Is this a flow, architecture, sequence, or data model?
Choose format — Mermaid (default), PlantUML (complex), ASCII (inline), SVG (custom)
Draft minimal version — Core elements only, no decoration
Iterate — Add detail based on feedback

### Diagram Types

TypeUse ForFormatFlowchartProcesses, decisions, workflowsMermaid flowchartSequenceAPI calls, interactions, protocolsMermaid sequenceDiagramArchitectureSystem components, infrastructureMermaid flowchart or C4ER/Data modelDatabase schemas, relationshipsMermaid erDiagramClassObject structure, inheritanceMermaid classDiagramStateLifecycles, status transitionsMermaid stateDiagram-v2TimelineProject phases, historyMermaid timelineMindmapBrainstorming, concept mappingMermaid mindmap

### Output Methods

MethodWhenMermaid code blockUser can render (docs, GitHub, Notion)Render to PNG/SVGUser needs image fileASCII inlineQuick sketch in chatHTML + Mermaid.jsInteractive viewing

### Rendering Mermaid to Image

# Using mmdc (mermaid-cli)
npx -y @mermaid-js/mermaid-cli mmdc -i diagram.mmd -o diagram.png -b transparent

# Or via browser tool
# Write HTML with Mermaid, screenshot the rendered diagram

### Mermaid Quick Reference

Flowchart:

flowchart LR
    A[Start] --> B{Decision}
    B -->|Yes| C[Action]
    B -->|No| D[End]

Sequence:

sequenceDiagram
    User->>API: Request
    API->>DB: Query
    DB-->>API: Result
    API-->>User: Response

ER Diagram:

erDiagram
    USER ||--o{ ORDER : places
    ORDER ||--|{ ITEM : contains

### Style Guidelines

Left-to-right (LR) for processes, top-to-bottom (TB) for hierarchies
Max 10-15 nodes per diagram, split if larger
Consistent naming — all caps for systems, lowercase for actions
Subgraphs to group related components
Color sparingly — highlight critical paths only

### Common Requests

RequestInterpret As"Draw my API flow"Sequence diagram: client → API → services"Show the architecture"Flowchart with subgraphs for components"Database schema"ER diagram with relationships"How the auth works"Sequence or flowchart depending on complexity"User journey"Flowchart with decision points

### Anti-Patterns

❌ Too many nodes (split into multiple diagrams)
❌ Decorative icons without meaning
❌ Mixing abstraction levels (database tables next to business concepts)
❌ Arrows in all directions (confuses flow)
❌ Labels too long (use short names, add legend if needed)
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: ivangdavila
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-02T13:20:29.254Z
- Expires at: 2026-05-09T13:20:29.254Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/diagram)
- [Send to Agent page](https://openagent3.xyz/skills/diagram/agent)
- [JSON manifest](https://openagent3.xyz/skills/diagram/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/diagram/agent.md)
- [Download page](https://openagent3.xyz/downloads/diagram)