# Send Caddy 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": "caddy",
    "name": "Caddy",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/ivangdavila/caddy",
    "canonicalUrl": "https://clawhub.ai/ivangdavila/caddy",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/caddy",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=caddy",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "caddy",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-01T05:35:25.569Z",
      "expiresAt": "2026-05-08T05:35:25.569Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=caddy",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=caddy",
        "contentDisposition": "attachment; filename=\"caddy-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "caddy"
      },
      "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/caddy"
    },
    "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/caddy",
    "downloadUrl": "https://openagent3.xyz/downloads/caddy",
    "agentUrl": "https://openagent3.xyz/skills/caddy/agent",
    "manifestUrl": "https://openagent3.xyz/skills/caddy/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/caddy/agent.md"
  }
}
```
## Documentation

### Automatic HTTPS

Caddy provisions SSL certificates automatically — don't manually configure Let's Encrypt unless you have specific needs
Domain must resolve to the server publicly for HTTP challenge — use DNS challenge for internal/wildcard certs
Ports 80 and 443 must be free — Caddy needs both even for HTTPS-only (80 handles ACME challenges and redirects)
Let's Encrypt has rate limits — use staging CA during testing to avoid hitting production limits

### Caddyfile Syntax

Indentation is significant — blocks are defined by indentation, not braces in shorthand
Site blocks need a space before the opening brace: example.com { not example.com{
Use caddy fmt --overwrite to fix formatting — catches most syntax issues
Validate before applying: caddy validate --config /etc/caddy/Caddyfile

### Reverse Proxy

Caddy adds X-Forwarded-For, X-Forwarded-Proto, X-Forwarded-Host automatically — don't add them manually
WebSocket works out of the box — no special configuration needed
Load balancing is automatic with multiple backends — default is random, use lb_policy to change
Passive health checks remove failed backends automatically

### Docker Networking

Use container names as hostnames: reverse_proxy container_name:3000
Caddy and backends must share a Docker network — default bridge doesn't support DNS resolution
For Docker Compose, service names work as hostnames when on the same network

### Configuration Management

Use caddy reload not restart — reload applies changes without dropping connections
Config changes are atomic — if new config fails validation, old config stays active
Test without applying: caddy adapt --config Caddyfile shows parsed JSON output

### Certificate Storage

Certificates stored in ~/.local/share/caddy by default — preserve this across reinstalls
For Docker, mount volumes for /data and /config — losing these means re-requesting all certificates
Multiple Caddy instances need shared storage or will fight over certificates

### Debugging

Enable debug logging: add debug as first line in global options block
Check certificate status in /data/caddy/certificates/ directory
Common issue: DNS not pointing to server yet — certificates fail silently until domain resolves

### Security Headers

Caddy doesn't add security headers by default — add X-Frame-Options, X-Content-Type-Options explicitly
HSTS is automatic when serving HTTPS — no manual configuration needed

### Performance

Handles thousands of concurrent connections without tuning
HTTP/3 available with servers { protocols h1 h2 h3 }
Compression automatic for text content
## 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-01T05:35:25.569Z
- Expires at: 2026-05-08T05:35:25.569Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/caddy)
- [Send to Agent page](https://openagent3.xyz/skills/caddy/agent)
- [JSON manifest](https://openagent3.xyz/skills/caddy/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/caddy/agent.md)
- [Download page](https://openagent3.xyz/downloads/caddy)