···1212- **URL**: `https://pad.lassul.us`
1313- **Access**: Anonymous (no auth required)
14141515-## Script
1515+## Invocation
16161717-Use `./pad.sh <command>` (scripts are next to this SKILL.md):
1717+Use `s skills.hedgedoc <command>` — this IS the pad script. Do NOT use `./pad.sh` directly.
18181919### Read a pad
2020```bash
2121-./pad.sh read <pad-id>
2121+s skills.hedgedoc read <pad-id>
2222```
23232424### Create a new pad
2525```bash
2626# From stdin
2727-echo "# My Document" | ./pad.sh create
2727+echo "# My Document" | s skills.hedgedoc create
28282929# From a file
3030-./pad.sh create /path/to/file.md
3030+s skills.hedgedoc create /path/to/file.md
3131```
3232Returns the new pad URL.
33333434### Edit a pad (in-place)
3535```bash
3636# From stdin
3737-echo "# Updated content" | ./pad.sh edit <pad-id>
3737+echo "# Updated content" | s skills.hedgedoc edit <pad-id>
38383939# From a file
4040-./pad.sh edit <pad-id> /path/to/file.md
4040+s skills.hedgedoc edit <pad-id> /path/to/file.md
4141```
4242Edits the pad in-place via the HedgeDoc websocket API (socket.io + OT). No new pad created.
43434444### Get pad info
4545```bash
4646-./pad.sh info <pad-id>
4646+s skills.hedgedoc info <pad-id>
4747```
4848Returns JSON with title, description, viewcount, timestamps.
49495050## Typical Workflow
51515252-1. **Read** the pad: `pad.sh read <id>` → get current markdown
5252+1. **Read** the pad: `s skills.hedgedoc read <id>` → get current markdown
53532. **Edit** locally: save modified content to a temp file
5454-3. **Write back**: `pad.sh edit <id> /tmp/updated.md`
5454+3. **Write back**: `s skills.hedgedoc edit <id> /tmp/updated.md`
55554. **Share**: `https://pad.lassul.us/<id>`
56565757## How it works