[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75E8C8CK1KNT6Q7AVB92NTD":3,"skill-same:01M75E8C8CK1KNT6Q7AVB92NTD":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":39,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M75E8C8CK1KNT6Q7AVB92NTD","localsend",null,"Send and receive files to\u002Ffrom nearby devices using the LocalSend protocol. Trigger with \u002Flocalsend to get an interactive Telegram menu with real inline buttons — device discovery, file sending, text sending, and receiving.","javimosch\u002Fopen-claw-skills","javimosch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12900508?v=4","01M6D3F2AS6PV75ET9PZ1QGP8J","Javier Leandro Arancibia","01M75B8NCTAJG9WH5YNZH7C3D8",0,"MIT","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fchordlini\u002Flocalsend\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: localsend\ndescription: Send and receive files to\u002Ffrom nearby devices using the LocalSend protocol. Trigger with \u002Flocalsend to get an interactive Telegram menu with real inline buttons — device discovery, file sending, text sending, and receiving.\nmetadata:\n  openclaw:\n    emoji: \"📡\"\n    trigger: \"\u002Flocalsend\"\n    requires:\n      bins:\n        - localsend-cli\n        - openssl\n    install: |\n      cp .\u002Flocalsend-cli ~\u002F.local\u002Fbin\u002Flocalsend-cli && chmod +x ~\u002F.local\u002Fbin\u002Flocalsend-cli\n---\n\n# LocalSend\n\nInteractive file transfer between devices on the local network using **real Telegram inline keyboard buttons**. Works with any device running the LocalSend app (Android, iOS, Windows, macOS, Linux).\n\n## Install\n\nThe `localsend-cli` is a zero-dependency Python CLI. Install from GitHub:\n\n```bash\ncurl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002FChordlini\u002Flocalsend-cli\u002Fmaster\u002Flocalsend-cli -o ~\u002F.local\u002Fbin\u002Flocalsend-cli\nchmod +x ~\u002F.local\u002Fbin\u002Flocalsend-cli\n```\n\nFull docs: https:\u002F\u002Fgithub.com\u002FChordlini\u002Flocalsend-cli\n\nRequires Python 3.8+ and `openssl` (for TLS).\n\n---\n\n## Telegram Button Format\n\nAll menus MUST use OpenClaw's inline button format. Send buttons alongside your message using this structure:\n\n```json\nbuttons: [\n  [{ \"text\": \"Label\", \"callback_data\": \"ls:action\" }],\n  [{ \"text\": \"Row 2\", \"callback_data\": \"ls:other\" }]\n]\n```\n\n- Outer array = rows of buttons\n- Inner array = buttons per row (max 3 per row for readability)\n- Prefix all callback_data with `ls:` to namespace this skill\n- When user taps a button, you receive: `callback_data: ls:action`\n\n---\n\n## State Awareness (CRITICAL)\n\nThis skill uses conversational state. Track where you are in the flow:\n\n| State | Meaning | Next user input should be treated as... |\n|-------|---------|----------------------------------------|\n| `idle` | No active flow | Normal message — respond normally |\n| `awaiting_file` | Asked user to drop\u002Fspecify a file to send | **The file to send** — do NOT comment on it, describe it, or react to it. Immediately use it as the send payload. |\n| `awaiting_text` | Asked user to type text to send | **The text payload** — send it, don't discuss it |\n| `awaiting_confirm` | Waiting for send confirmation | Expect `ls:confirm-send` or `ls:menu` |\n| `receiving` | Receiver is active | Monitor for incoming files |\n\n**RULES:**\n- When in `awaiting_file` state and user sends an image\u002Ffile\u002Fpath → treat it as the file to send. Show confirmation buttons immediately.\n- When in `awaiting_text` state and user types anything → treat it as the text to send.\n- NEVER comment on, describe, or react to a file\u002Fimage when you're in `awaiting_file` state.\n- State resets to `idle` when user taps `ls:menu` or the flow completes.\n\n---\n\n## On Trigger: Main Menu\n\nWhen the user types `\u002Flocalsend` or mentions sending\u002Freceiving files locally, send this message **with real inline buttons**:\n\n**Message:**\n```\n📡 LocalSend — File Transfer\n```\n\n**Buttons:**\n```json\nbuttons: [\n  [\n    { \"text\": \"📤 Send\", \"callback_data\": \"ls:send\" },\n    { \"text\": \"📥 Receive\", \"callback_data\": \"ls:receive\" }\n  ],\n  [\n    { \"text\": \"🔍 Scan Devices\", \"callback_data\": \"ls:devices\" }\n  ]\n]\n```\n\nDo NOT run any commands yet. Wait for the button tap.\n\n---\n\n## Flow: Scan Devices\n\n**Trigger:** `callback_data: ls:devices` or user says \"scan\", \"discover\", \"find devices\"\n\n1. Run:\n   ```bash\n   localsend-cli discover --json -t 2\n   ```\n\n2. **Devices found** — create one button per device, plus Refresh and Back:\n\n   **Message:**\n   ```\n   📡 Found 3 devices:\n   ```\n\n   **Buttons (one device per row):**\n   ```json\n   buttons: [\n     [{ \"text\": \"📱 Fast Potato — 192.168.0.148\", \"callback_data\": \"ls:dev:Fast Potato\" }],\n     [{ \"text\": \"💻 Rami-Desktop — 192.168.0.100\", \"callback_data\": \"ls:dev:Rami-Desktop\" }],\n     [{ \"text\": \"🖥️ Living Room PC — 192.168.0.105\", \"callback_data\": \"ls:dev:Living Room PC\" }],\n     [\n       { \"text\": \"🔄 Refresh\", \"callback_data\": \"ls:devices\" },\n       { \"text\": \"⬅️ Back\", \"callback_data\": \"ls:menu\" }\n     ]\n   ]\n   ```\n\n3. **No devices found:**\n\n   **Message:**\n   ```\n   📡 No devices found.\n   Make sure LocalSend is open on the other device and both are on the same WiFi.\n   ```\n\n   **Buttons:**\n   ```json\n   buttons: [\n     [\n       { \"text\": \"🔄 Try Again\", \"callback_data\": \"ls:devices\" },\n       { \"text\": \"⬅️ Back\", \"callback_data\": \"ls:menu\" }\n     ]\n   ]\n   ```\n\n4. **User taps a device** (`callback_data: ls:dev:DEVICENAME`) — store it as the selected target. Show action menu:\n\n   **Message:**\n   ```\n   ✅ Selected: Fast Potato (192.168.0.148)\n   What do you want to do?\n   ```\n\n   **Buttons:**\n   ```json\n   buttons: [\n     [\n       { \"text\": \"📄 Send File\", \"callback_data\": \"ls:sendfile\" },\n       { \"text\": \"📝 Send Text\", \"callback_data\": \"ls:sendtext\" }\n     ],\n     [\n       { \"text\": \"📦 Send Multiple\", \"callback_data\": \"ls:sendmulti\" },\n       { \"text\": \"⬅️ Back\", \"callback_data\": \"ls:devices\" }\n     ]\n   ]\n   ```\n\n---\n\n## Flow: Send\n\n**Trigger:** `callback_data: ls:send`\n\n### Step 1 — Pick target device (if not already selected)\n\nRun discover and show device picker (see Scan Devices flow above).\n\n### Step 2 — Choose what to send\n\n**Message:**\n```\nSend to Fast Potato:\n```\n\n**Buttons:**\n```json\nbuttons: [\n  [\n    { \"text\": \"📄 Send File\", \"callback_data\": \"ls:sendfile\" },\n    { \"text\": \"📝 Send Text\", \"callback_data\": \"ls:sendtext\" }\n  ],\n  [\n    { \"text\": \"📦 Send Multiple\", \"callback_data\": \"ls:sendmulti\" },\n    { \"text\": \"⬅️ Back\", \"callback_data\": \"ls:menu\" }\n  ]\n]\n```\n\n### Send File (`callback_data: ls:sendfile`)\n\n1. Ask: `\"Send me the file, drop a path, or tell me which file to send\"`\n2. User provides file path or sends a file via chat\n3. Get file size with `stat` or `ls -lh`\n4. Confirm with buttons:\n\n   **Message:**\n   ```\n   📤 Send to Fast Potato?\n   📄 project.zip — 4.2 MB\n   ```\n\n   **Buttons:**\n   ```json\n   buttons: [\n     [\n       { \"text\": \"✅ Send\", \"callback_data\": \"ls:confirm-send\" },\n       { \"text\": \"❌ Cancel\", \"callback_data\": \"ls:menu\" }\n     ]\n   ]\n   ```\n\n5. On confirm, run:\n   ```bash\n   localsend-cli send --to \"Fast Potato\" \u002Fpath\u002Fto\u002Fproject.zip\n   ```\n\n6. Report result:\n\n   **Message:**\n   ```\n   ✅ Sent project.zip (4.2 MB) to Fast Potato\n   ```\n\n   **Buttons:**\n   ```json\n   buttons: [\n     [\n       { \"text\": \"📤 Send Another\", \"callback_data\": \"ls:send\" },\n       { \"text\": \"⬅️ Menu\", \"callback_data\": \"ls:menu\" }\n     ]\n   ]\n   ```\n\n### Send Text (`callback_data: ls:sendtext`)\n\n1. Ask: `\"Type the text you want to send:\"`\n2. User types their message\n3. Write text to temp file, send:\n   ```bash\n   echo \"user's text\" > \u002Ftmp\u002Flocalsend-text.txt\n   localsend-cli send --to \"Fast Potato\" \u002Ftmp\u002Flocalsend-text.txt\n   rm \u002Ftmp\u002Flocalsend-text.txt\n   ```\n4. Confirm:\n\n   **Message:**\n   ```\n   ✅ Text sent to Fast Potato\n   ```\n\n   **Buttons:**\n   ```json\n   buttons: [\n     [\n       { \"text\": \"📝 Send More Text\", \"callback_data\": \"ls:sendtext\" },\n       { \"text\": \"📤 Send File\", \"callback_data\": \"ls:sendfile\" }\n     ],\n     [{ \"text\": \"⬅️ Menu\", \"callback_data\": \"ls:menu\" }]\n   ]\n   ```\n\n### Send Multiple (`callback_data: ls:sendmulti`)\n\n1. Ask: `\"List the files or give me a glob pattern (e.g. ~\u002FScreenshots\u002F*.png)\"`\n2. User provides paths or pattern\n3. Expand glob, list files with sizes:\n\n   **Message:**\n   ```\n   📦 Send 5 files to Fast Potato?\n   📄 photo1.jpg — 2.1 MB\n   📄 photo2.jpg — 1.8 MB\n   📄 photo3.jpg — 3.2 MB\n   📄 photo4.jpg — 2.5 MB\n   📄 photo5.jpg — 1.9 MB\n   📊 Total: 11.5 MB\n   ```\n\n   **Buttons:**\n   ```json\n   buttons: [\n     [\n       { \"text\": \"✅ Send All\", \"callback_data\": \"ls:confirm-send\" },\n       { \"text\": \"❌ Cancel\", \"callback_data\": \"ls:menu\" }\n     ]\n   ]\n   ```\n\n4. On confirm, run:\n   ```bash\n   localsend-cli send --to \"Fast Potato\" photo1.jpg photo2.jpg photo3.jpg photo4.jpg photo5.jpg\n   ```\n\n5. Report:\n\n   **Message:**\n   ```\n   ✅ Sent 5 files (11.5 MB) to Fast Potato\n   ```\n\n   **Buttons:**\n   ```json\n   buttons: [\n     [\n       { \"text\": \"📤 Send More\", \"callback_data\": \"ls:send\" },\n       { \"text\": \"⬅️ Menu\", \"callback_data\": \"ls:menu\" }\n     ]\n   ]\n   ```\n\n---\n\n## Flow: Receive\n\n**Trigger:** `callback_data: ls:receive` or user says \"receive\", \"start receiving\", \"listen\"\n\n### Step 1 — Snapshot current files\n\n```bash\nls -1 \u002Fhome\u002Frami\u002F.openclaw\u002Fworkspace\u002F_incoming\u002F > \u002Ftmp\u002Flocalsend-before.txt\n```\n\n### Step 2 — Start receiver in background\n\n```bash\nlocalsend-cli --alias openclaw-workspace receive --save-dir \u002Fhome\u002Frami\u002F.openclaw\u002Fworkspace\u002F_incoming\u002F -y\n```\n\nRun with `run_in_background: true`. Store the task ID.\n\n**CRITICAL:** `--alias` MUST come BEFORE `receive` (global flag).\n\n### Step 3 — Confirm ready with buttons\n\n**Message:**\n```\n📡 Receiver active — \"openclaw-workspace\"\n📁 Saving to: ~\u002Fincoming\u002F\n✅ Auto-accept: ON\n\nSend files from your device whenever ready.\n```\n\n**Buttons:**\n```json\nbuttons: [\n  [\n    { \"text\": \"🛑 Stop\", \"callback_data\": \"ls:stop\" },\n    { \"text\": \"🔄 Status\", \"callback_data\": \"ls:status\" }\n  ]\n]\n```\n\n### Step 4 — Monitor for incoming files\n\nPoll every 3 seconds for new files:\n```bash\nls -1 \u002Fhome\u002Frami\u002F.openclaw\u002Fworkspace\u002F_incoming\u002F > \u002Ftmp\u002Flocalsend-after.txt\ndiff \u002Ftmp\u002Flocalsend-before.txt \u002Ftmp\u002Flocalsend-after.txt\n```\n\n### Step 5 — Post-receive confirmation (MANDATORY)\n\nWhen file(s) arrive, **immediately present in chat with inline buttons**.\n\n**Single file:**\n\nMessage:\n```\n✅ Received from Fast Potato:\n📄 portfolio.zip — 240 MB\n📁 Saved to: ~\u002Fincoming\u002Fportfolio.zip\n```\n\nButtons (contextual by file type):\n```json\nbuttons: [\n  [\n    { \"text\": \"📂 Extract\", \"callback_data\": \"ls:extract\" },\n    { \"text\": \"🚀 Deploy\", \"callback_data\": \"ls:deploy\" }\n  ],\n  [\n    { \"text\": \"📥 Receive More\", \"callback_data\": \"ls:receive\" },\n    { \"text\": \"🛑 Stop\", \"callback_data\": \"ls:stop\" }\n  ]\n]\n```\n\n**Image file — show inline preview:**\n\nMessage:\n```\n✅ Received from Fast Potato:\n🖼️ screenshot.png — 2.1 MB\n```\nInclude `MEDIA:~\u002Fincoming\u002Fscreenshot.png` for inline preview.\n\nButtons:\n```json\nbuttons: [\n  [\n    { \"text\": \"📂 Open Folder\", \"callback_data\": \"ls:openfolder\" },\n    { \"text\": \"📥 Receive More\", \"callback_data\": \"ls:receive\" }\n  ],\n  [{ \"text\": \"🛑 Stop\", \"callback_data\": \"ls:stop\" }]\n]\n```\n\n**Multiple files:**\n\nMessage:\n```\n✅ Received 3 files from Fast Potato:\n📄 app.apk — 45 MB\n📄 README.md — 2 KB\n🖼️ icon.png — 128 KB\n📊 Total: 45.1 MB\n```\n\nButtons:\n```json\nbuttons: [\n  [\n    { \"text\": \"📂 Show All\", \"callback_data\": \"ls:showall\" },\n    { \"text\": \"📥 Receive More\", \"callback_data\": \"ls:receive\" }\n  ],\n  [{ \"text\": \"🛑 Stop\", \"callback_data\": \"ls:stop\" }]\n]\n```\n\n**Contextual button rules by file type:**\n- `.zip`, `.tar.gz` → add `📂 Extract` button\n- `.png`, `.jpg`, `.gif`, `.webp` → show MEDIA: inline + `📂 Open Folder`\n- `.apk` → add `📱 Install` button\n- `.html`, `.js`, `.py` → add `👁️ Preview` button\n- website archives → add `🚀 Deploy` button\n\n### Step 6 — Stop receiver\n\n**Trigger:** `callback_data: ls:stop`\n\n1. Kill the background task using stored task ID\n2. Confirm:\n\n   **Message:**\n   ```\n   🛑 Receiver stopped.\n   ```\n\n   **Buttons:**\n   ```json\n   buttons: [\n     [\n       { \"text\": \"📡 Restart\", \"callback_data\": \"ls:receive\" },\n       { \"text\": \"⬅️ Menu\", \"callback_data\": \"ls:menu\" }\n     ]\n   ]\n   ```\n\n---\n\n## Flow: Status Check\n\n**Trigger:** `callback_data: ls:status`\n\nCheck if receiver is running and count new files:\n```bash\nls -1 \u002Fhome\u002Frami\u002F.openclaw\u002Fworkspace\u002F_incoming\u002F > \u002Ftmp\u002Flocalsend-after.txt\ndiff \u002Ftmp\u002Flocalsend-before.txt \u002Ftmp\u002Flocalsend-after.txt | grep \"^>\" | wc -l\n```\n\n**Message:**\n```\n📡 Receiver: Running (12 min)\n📁 Files received: 2\n📊 Total: 242 MB\n```\n\n**Buttons:**\n```json\nbuttons: [\n  [\n    { \"text\": \"🛑 Stop\", \"callback_data\": \"ls:stop\" },\n    { \"text\": \"📂 Show Files\", \"callback_data\": \"ls:showall\" }\n  ]\n]\n```\n\n---\n\n## Callback Data Reference\n\n| callback_data | Action |\n|---------------|--------|\n| `ls:menu` | Show main menu |\n| `ls:send` | Start send flow |\n| `ls:receive` | Start receive flow |\n| `ls:devices` | Discover devices |\n| `ls:dev:DEVICENAME` | Select a specific device |\n| `ls:sendfile` | Send single file |\n| `ls:sendtext` | Send text message |\n| `ls:sendmulti` | Send multiple files |\n| `ls:confirm-send` | Confirm and execute send |\n| `ls:stop` | Stop receiver |\n| `ls:status` | Check receiver status |\n| `ls:extract` | Extract received archive |\n| `ls:deploy` | Deploy received website |\n| `ls:openfolder` | Open save directory |\n| `ls:showall` | List all received files |\n\n---\n\n## CLI Reference\n\n| Command | Usage |\n|---------|-------|\n| Discover | `localsend-cli discover --json -t 2` |\n| Send | `localsend-cli send --to \"DEVICE\" file1 file2 ...` |\n| Receive | `localsend-cli --alias NAME receive --save-dir DIR -y` |\n\n| Flag | Scope | Description |\n|------|-------|-------------|\n| `--alias NAME` | **Global** (before subcommand) | Device name to advertise |\n| `--to NAME` | send | Target device (case-insensitive substring) |\n| `-t N` | discover | Scan duration in seconds (use 2 for speed) |\n| `--json` | discover | Machine-readable output |\n| `--save-dir DIR` | receive | Save location (default: ~\u002FDownloads) |\n| `-y` | receive | Auto-accept transfers |\n\n## Troubleshooting\n\n| Problem | Fix |\n|---------|-----|\n| `unrecognized arguments: --alias` | Move `--alias` BEFORE the subcommand |\n| No devices found | Open LocalSend on target, same WiFi, screen on |\n| Port 53317 in use | Normal — CLI auto-falls back to 53318\u002F53319 |\n| Transfer declined (403) | Use `-y` on receiver side |\n| Transfer hangs | Large file on slow WiFi — be patient |\n\n## Reference\n\n- **CLI repo & docs:** https:\u002F\u002Fgithub.com\u002FChordlini\u002Flocalsend-cli\n- **LocalSend protocol:** `references\u002Fprotocol.md` or https:\u002F\u002Fgithub.com\u002Flocalsend\u002Fprotocol\n","# LocalSend\n\nInteractive file transfer between devices on the local network using **real Telegram inline keyboard buttons**. Works with any device running the LocalSend app (Android, iOS, Windows, macOS, Linux).\n\n## Install\n\nThe `localsend-cli` is a zero-dependency Python CLI. Install from GitHub:\n\n```bash\ncurl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002FChordlini\u002Flocalsend-cli\u002Fmaster\u002Flocalsend-cli -o ~\u002F.local\u002Fbin\u002Flocalsend-cli\nchmod +x ~\u002F.local\u002Fbin\u002Flocalsend-cli\n```\n\nFull docs: https:\u002F\u002Fgithub.com\u002FChordlini\u002Flocalsend-cli\n\nRequires Python 3.8+ and `openssl` (for TLS).\n\n---\n\n## Telegram Button Format\n\nAll menus MUST use OpenClaw's inline button format. Send buttons alongside your message using this structure:\n\n```json\nbuttons: [\n  [{ \"text\": \"Label\", \"callback_data\": \"ls:action\" }],\n  [{ \"text\": \"Row 2\", \"callback_data\": \"ls:other\" }]\n]\n```\n\n- Outer array = rows of buttons\n- Inner array = buttons per row (max 3 per row for readability)\n- Prefix all callback_data with `ls:` to namespace this skill\n- When user taps a button, you receive: `callback_data: ls:action`\n\n---\n\n## State Awareness (CRITICAL)\n\nThis skill uses conversational state. Track where you are in the flow:\n\n| State | Meaning | Next user input should be treated as... |\n|-------|---------|----------------------------------------|\n| `idle` | No active flow | Normal message — respond normally |\n| `awaiting_file` | Asked user to drop\u002Fspecify a file to send | **The file to send** — do NOT comment on it, describe it, or react to it. Immediately use it as the send payload. |\n| `awaiting_text` | Asked user to type text to send | **The text payload** — send it, don't discuss it |\n| `awaiting_confirm` | Waiting for send confirmation | Expect `ls:confirm-send` or `ls:menu` |\n| `receiving` | Receiver is active | Monitor for incoming files |\n\n**RULES:**\n- When in `awaiting_file` state and user sends an image\u002Ffile\u002Fpath → treat it as the file to send. Show confirmation buttons immediately.\n- When in `awaiting_text` state and user types anything → treat it as the text to send.\n- NEVER comment on, describe, or react to a file\u002Fimage when you're in `awaiting_file` state.\n- State resets to `idle` when user taps `ls:menu` or the flow completes.\n\n---\n\n## On Trigger: Main Menu\n\nWhen the user types `\u002Flocalsend` or mentions sending\u002Freceiving files locally, send this message **with real inline buttons**:\n\n**Message:**\n```\n📡 LocalSend — File Transfer\n```\n\n**Buttons:**\n```json\nbuttons: [\n  [\n    { \"text\": \"📤 Send\", \"callback_data\": \"ls:send\" },\n    { \"text\": \"📥 Receive\", \"callback_data\": \"ls:receive\" }\n  ],\n  [\n    { \"text\": \"🔍 Scan Devices\", \"callback_data\": \"ls:devices\" }\n  ]\n]\n```\n\nDo NOT run any commands yet. Wait for the button tap.\n\n---\n\n## Flow: Scan Devices\n\n**Trigger:** `callback_data: ls:devices` or user says \"scan\", \"discover\", \"find devices\"\n\n1. Run:\n   ```bash\n   localsend-cli discover --json -t 2\n   ```\n\n2. **Devices found** — create one button per device, plus Refresh and Back:\n\n   **Message:**\n   ```\n   📡 Found 3 devices:\n   ```\n\n   **Buttons (one device per row):**\n   ```json\n   buttons: [\n     [{ \"text\": \"📱 Fast Potato — 192.168.0.148\", \"callback_data\": \"ls:dev:Fast Potato\" }],\n     [{ \"text\": \"💻 Rami-Desktop — 192.168.0.100\", \"callback_data\": \"ls:dev:Rami-Desktop\" }],\n     [{ \"text\": \"🖥️ Living Room PC — 192.168.0.105\", \"callback_data\": \"ls:dev:Living Room PC\" }],\n     [\n       { \"text\": \"🔄 Refresh\", \"callback_data\": \"ls:devices\" },\n       { \"text\": \"⬅️ Back\", \"callback_data\": \"ls:menu\" }\n     ]\n   ]\n   ```\n\n3. **No devices found:**\n\n   **Message:**\n   ```\n   📡 No devices found.\n   Make sure LocalSend is open on the other device and both are on the same WiFi.\n   ```\n\n   **Buttons:**\n   ```json\n   buttons: [\n     [\n       { \"text\": \"🔄 Try Again\", \"callback_data\": \"ls:devices\" },\n       { \"text\": \"⬅️ Back\", \"callback_data\": \"ls:menu\" }\n     ]\n   ]\n   ```\n\n4. **User taps a device** (`callback_data: ls:dev:DEVICENAME`) — store it as the selected target. Show action menu:\n\n   **Message:**\n   ```\n   ✅ Selected: Fast Potato (192.168.0.148)\n   What do you want to do?\n   ```\n\n   **Buttons:**\n   ```json\n   buttons: [\n     [\n       { \"text\": \"📄 Send File\", \"callback_data\": \"ls:sendfile\" },\n       { \"text\": \"📝 Send Text\", \"callback_data\": \"ls:sendtext\" }\n     ],\n     [\n       { \"text\": \"📦 Send Multiple\", \"callback_data\": \"ls:sendmulti\" },\n       { \"text\": \"⬅️ Back\", \"callback_data\": \"ls:devices\" }\n     ]\n   ]\n   ```\n\n---\n\n## Flow: Send\n\n**Trigger:** `callback_data: ls:send`\n\n### Step 1 — Pick target device (if not already selected)\n\nRun discover and show device picker (see Scan Devices flow above).\n\n### Step 2 — Choose what to send\n\n**Message:**\n```\nSend to Fast Potato:\n```\n\n**Buttons:**\n```json\nbuttons: [\n  [\n    { \"text\": \"📄 Send File\", \"callback_data\": \"ls:sendfile\" },\n    { \"text\": \"📝 Send Text\", \"callback_data\": \"ls:sendtext\" }\n  ],\n  [\n    { \"text\": \"📦 Send Multiple\", \"callback_data\": \"ls:sendmulti\" },\n    { \"text\": \"⬅️ Back\", \"callback_data\": \"ls:menu\" }\n  ]\n]\n```\n\n### Send File (`callback_data: ls:sendfile`)\n\n1. Ask: `\"Send me the file, drop a path, or tell me which file to send\"`\n2. User provides file path or sends a file via chat\n3. Get file size with `stat` or `ls -lh`\n4. Confirm with buttons:\n\n   **Message:**\n   ```\n   📤 Send to Fast Potato?\n   📄 project.zip — 4.2 MB\n   ```\n\n   **Buttons:**\n   ```json\n   buttons: [\n     [\n       { \"text\": \"✅ Send\", \"callback_data\": \"ls:confirm-send\" },\n       { \"text\": \"❌ Cancel\", \"callback_data\": \"ls:menu\" }\n     ]\n   ]\n   ```\n\n5. On confirm, run:\n   ```bash\n   localsend-cli send --to \"Fast Potato\" \u002Fpath\u002Fto\u002Fproject.zip\n   ```\n\n6. Report result:\n\n   **Message:**\n   ```\n   ✅ Sent project.zip (4.2 MB) to Fast Potato\n   ```\n\n   **Buttons:**\n   ```json\n   buttons: [\n     [\n       { \"text\": \"📤 Send Another\", \"callback_data\": \"ls:send\" },\n       { \"text\": \"⬅️ Menu\", \"callback_data\": \"ls:menu\" }\n     ]\n   ]\n   ```\n\n### Send Text (`callback_data: ls:sendtext`)\n\n1. Ask: `\"Type the text you want to send:\"`\n2. User types their message\n3. Write text to temp file, send:\n   ```bash\n   echo \"user's text\" > \u002Ftmp\u002Flocalsend-text.txt\n   localsend-cli send --to \"Fast Potato\" \u002Ftmp\u002Flocalsend-text.txt\n   rm \u002Ftmp\u002Flocalsend-text.txt\n   ```\n4. Confirm:\n\n   **Message:**\n   ```\n   ✅ Text sent to Fast Potato\n   ```\n\n   **Buttons:**\n   ```json\n   buttons: [\n     [\n       { \"text\": \"📝 Send More Text\", \"callback_data\": \"ls:sendtext\" },\n       { \"text\": \"📤 Send File\", \"callback_data\": \"ls:sendfile\" }\n     ],\n     [{ \"text\": \"⬅️ Menu\", \"callback_data\": \"ls:menu\" }]\n   ]\n   ```\n\n### Send Multiple (`callback_data: ls:sendmulti`)\n\n1. Ask: `\"List the files or give me a glob pattern (e.g. ~\u002FScreenshots\u002F*.png)\"`\n2. User provides paths or pattern\n3. Expand glob, list files with sizes:\n\n   **Message:**\n   ```\n   📦 Send 5 files to Fast Potato?\n   📄 photo1.jpg — 2.1 MB\n   📄 photo2.jpg — 1.8 MB\n   📄 photo3.jpg — 3.2 MB\n   📄 photo4.jpg — 2.5 MB\n   📄 photo5.jpg — 1.9 MB\n   📊 Total: 11.5 MB\n   ```\n\n   **Buttons:**\n   ```json\n   buttons: [\n     [\n       { \"text\": \"✅ Send All\", \"callback_data\": \"ls:confirm-send\" },\n       { \"text\": \"❌ Cancel\", \"callback_data\": \"ls:menu\" }\n     ]\n   ]\n   ```\n\n4. On confirm, run:\n   ```bash\n   localsend-cli send --to \"Fast Potato\" photo1.jpg photo2.jpg photo3.jpg photo4.jpg photo5.jpg\n   ```\n\n5. Report:\n\n   **Message:**\n   ```\n   ✅ Sent 5 files (11.5 MB) to Fast Potato\n   ```\n\n   **Buttons:**\n   ```json\n   buttons: [\n     [\n       { \"text\": \"📤 Send More\", \"callback_data\": \"ls:send\" },\n       { \"text\": \"⬅️ Menu\", \"callback_data\": \"ls:menu\" }\n     ]\n   ]\n   ```\n\n---\n\n## Flow: Receive\n\n**Trigger:** `callback_data: ls:receive` or user says \"receive\", \"start receiving\", \"listen\"\n\n### Step 1 — Snapshot current files\n\n```bash\nls -1 \u002Fhome\u002Frami\u002F.openclaw\u002Fworkspace\u002F_incoming\u002F > \u002Ftmp\u002Flocalsend-before.txt\n```\n\n### Step 2 — Start receiver in background\n\n```bash\nlocalsend-cli --alias openclaw-workspace receive --save-dir \u002Fhome\u002Frami\u002F.openclaw\u002Fworkspace\u002F_incoming\u002F -y\n```\n\nRun with `run_in_background: true`. Store the task ID.\n\n**CRITICAL:** `--alias` MUST come BEFORE `receive` (global flag).\n\n### Step 3 — Confirm ready with buttons\n\n**Message:**\n```\n📡 Receiver active — \"openclaw-workspace\"\n📁 Saving to: ~\u002Fincoming\u002F\n✅ Auto-accept: ON\n\nSend files from your device whenever ready.\n```\n\n**Buttons:**\n```json\nbuttons: [\n  [\n    { \"text\": \"🛑 Stop\", \"callback_data\": \"ls:stop\" },\n    { \"text\": \"🔄 Status\", \"callback_data\": \"ls:status\" }\n  ]\n]\n```\n\n### Step 4 — Monitor for incoming files\n\nPoll every 3 seconds for new files:\n```bash\nls -1 \u002Fhome\u002Frami\u002F.openclaw\u002Fworkspace\u002F_incoming\u002F > \u002Ftmp\u002Flocalsend-after.txt\ndiff \u002Ftmp\u002Flocalsend-before.txt \u002Ftmp\u002Flocalsend-after.txt\n```\n\n### Step 5 — Post-receive confirmation (MANDATORY)\n\nWhen file(s) arrive, **immediately present in chat with inline buttons**.\n\n**Single file:**\n\nMessage:\n```\n✅ Received from Fast Potato:\n📄 portfolio.zip — 240 MB\n📁 Saved to: ~\u002Fincoming\u002Fportfolio.zip\n```\n\nButtons (contextual by file type):\n```json\nbuttons: [\n  [\n    { \"text\": \"📂 Extract\", \"callback_data\": \"ls:extract\" },\n    { \"text\": \"🚀 Deploy\", \"callback_data\": \"ls:deploy\" }\n  ],\n  [\n    { \"text\": \"📥 Receive More\", \"callback_data\": \"ls:receive\" },\n    { \"text\": \"🛑 Stop\", \"callback_data\": \"ls:stop\" }\n  ]\n]\n```\n\n**Image file — show inline preview:**\n\nMessage:\n```\n✅ Received from Fast Potato:\n🖼️ screenshot.png — 2.1 MB\n```\nInclude `MEDIA:~\u002Fincoming\u002Fscreenshot.png` for inline preview.\n\nButtons:\n```json\nbuttons: [\n  [\n    { \"text\": \"📂 Open Folder\", \"callback_data\": \"ls:openfolder\" },\n    { \"text\": \"📥 Receive More\", \"callback_data\": \"ls:receive\" }\n  ],\n  [{ \"text\": \"🛑 Stop\", \"callback_data\": \"ls:stop\" }]\n]\n```\n\n**Multiple files:**\n\nMessage:\n```\n✅ Received 3 files from Fast Potato:\n📄 app.apk — 45 MB\n📄 README.md — 2 KB\n🖼️ icon.png — 128 KB\n📊 Total: 45.1 MB\n```\n\nButtons:\n```json\nbuttons: [\n  [\n    { \"text\": \"📂 Show All\", \"callback_data\": \"ls:showall\" },\n    { \"text\": \"📥 Receive More\", \"callback_data\": \"ls:receive\" }\n  ],\n  [{ \"text\": \"🛑 Stop\", \"callback_data\": \"ls:stop\" }]\n]\n```\n\n**Contextual button rules by file type:**\n- `.zip`, `.tar.gz` → add `📂 Extract` button\n- `.png`, `.jpg`, `.gif`, `.webp` → show MEDIA: inline + `📂 Open Folder`\n- `.apk` → add `📱 Install` button\n- `.html`, `.js`, `.py` → add `👁️ Preview` button\n- website archives → add `🚀 Deploy` button\n\n### Step 6 — Stop receiver\n\n**Trigger:** `callback_data: ls:stop`\n\n1. Kill the background task using stored task ID\n2. Confirm:\n\n   **Message:**\n   ```\n   🛑 Receiver stopped.\n   ```\n\n   **Buttons:**\n   ```json\n   buttons: [\n     [\n       { \"text\": \"📡 Restart\", \"callback_data\": \"ls:receive\" },\n       { \"text\": \"⬅️ Menu\", \"callback_data\": \"ls:menu\" }\n     ]\n   ]\n   ```\n\n---\n\n## Flow: Status Check\n\n**Trigger:** `callback_data: ls:status`\n\nCheck if receiver is running and count new files:\n```bash\nls -1 \u002Fhome\u002Frami\u002F.openclaw\u002Fworkspace\u002F_incoming\u002F > \u002Ftmp\u002Flocalsend-after.txt\ndiff \u002Ftmp\u002Flocalsend-before.txt \u002Ftmp\u002Flocalsend-after.txt | grep \"^>\" | wc -l\n```\n\n**Message:**\n```\n📡 Receiver: Running (12 min)\n📁 Files received: 2\n📊 Total: 242 MB\n```\n\n**Buttons:**\n```json\nbuttons: [\n  [\n    { \"text\": \"🛑 Stop\", \"callback_data\": \"ls:stop\" },\n    { \"text\": \"📂 Show Files\", \"callback_data\": \"ls:showall\" }\n  ]\n]\n```\n\n---\n\n## Callback Data Reference\n\n| callback_data | Action |\n|---------------|--------|\n| `ls:menu` | Show main menu |\n| `ls:send` | Start send flow |\n| `ls:receive` | Start receive flow |\n| `ls:devices` | Discover devices |\n| `ls:dev:DEVICENAME` | Select a specific device |\n| `ls:sendfile` | Send single file |\n| `ls:sendtext` | Send text message |\n| `ls:sendmulti` | Send multiple files |\n| `ls:confirm-send` | Confirm and execute send |\n| `ls:stop` | Stop receiver |\n| `ls:status` | Check receiver status |\n| `ls:extract` | Extract received archive |\n| `ls:deploy` | Deploy received website |\n| `ls:openfolder` | Open save directory |\n| `ls:showall` | List all received files |\n\n---\n\n## CLI Reference\n\n| Command | Usage |\n|---------|-------|\n| Discover | `localsend-cli discover --json -t 2` |\n| Send | `localsend-cli send --to \"DEVICE\" file1 file2 ...` |\n| Receive | `localsend-cli --alias NAME receive --save-dir DIR -y` |\n\n| Flag | Scope | Description |\n|------|-------|-------------|\n| `--alias NAME` | **Global** (before subcommand) | Device name to advertise |\n| `--to NAME` | send | Target device (case-insensitive substring) |\n| `-t N` | discover | Scan duration in seconds (use 2 for speed) |\n| `--json` | discover | Machine-readable output |\n| `--save-dir DIR` | receive | Save location (default: ~\u002FDownloads) |\n| `-y` | receive | Auto-accept transfers |\n\n## Troubleshooting\n\n| Problem | Fix |\n|---------|-----|\n| `unrecognized arguments: --alias` | Move `--alias` BEFORE the subcommand |\n| No devices found | Open LocalSend on target, same WiFi, screen on |\n| Port 53317 in use | Normal — CLI auto-falls back to 53318\u002F53319 |\n| Transfer declined (403) | Use `-y` on receiver side |\n| Transfer hangs | Large file on slow WiFi — be patient |\n\n## Reference\n\n- **CLI repo & docs:** https:\u002F\u002Fgithub.com\u002FChordlini\u002Flocalsend-cli\n- **LocalSend protocol:** `references\u002Fprotocol.md` or https:\u002F\u002Fgithub.com\u002Flocalsend\u002Fprotocol\n",{"name":5,"metadata":24,"description":7},{"openclaw":25},{"emoji":26,"install":27,"trigger":28,"requires":29},"📡","cp .\u002Flocalsend-cli ~\u002F.local\u002Fbin\u002Flocalsend-cli && chmod +x ~\u002F.local\u002Fbin\u002Flocalsend-cli","\u002Flocalsend",{"bins":30},[31,32],"localsend-cli","openssl","main","f9d3fe7cf9ac8f1ea63a0d96e98e1f510a3814db","skills\u002Fchordlini\u002Flocalsend",1,"https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills","https:\u002F\u002Fgithub.com\u002Fjavimosch","intrane.fr","Building robust, open-source infrastructure for the commons. AI-leveraged, self-hosted, built to last.","2026-06-07 03:34:58",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add javimosch\u002Fopen-claw-skills --skill localsend",{"tool":48,"command":49},"bunx","bunx skills add javimosch\u002Fopen-claw-skills --skill localsend",{"tool":51,"command":52},"pnpm","pnpm dlx skills add javimosch\u002Fopen-claw-skills --skill localsend","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fchordlini\u002Flocalsend\u002FSKILL.md",true,[],[57,65,72,79,86,93],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":64},"01M778GGXG2VQ0YF31W2MKGMQZ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":64},"01M778G7BH8SBJ9FJ6C3G7CB1K","ceaser","Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir\u002FUltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":64},"01M778FYCJQZWFKKX5FYMK3S47","ceaser-send","Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir\u002FUltraHonk zero-knowledge proofs.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser-send\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":64},"01M778FQQNSEYA3HJKZBPQ4M9Z","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":64},"01M778FGVZX7QA2TF9BFMM37FY","moldium","Post and manage content on the Moldium blog platform. Triggered by \"post to Moldium\", \"write a blog post\", \"publish an article\", etc.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyom45\u002Fmoldium\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":64},"01M778F88D8PQ9MQ0KNW2TJ8ZH","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http:\u002F\u002Fweakaccept.top:8000\u002F.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[]]