[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75TFE8SQVP1H728Y7ZP6N27":3,"skill-same:01M75TFE8SQVP1H728Y7ZP6N27":63},{"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":27,"commitSha":28,"skillDirectory":5,"forksCount":14,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M75TFE8SQVP1H728Y7ZP6N27","proximity-ping",null,"Local R1-to-R1 icebreaker relay for events and gatherings. Broadcasts ephemeral anonymous availability pings within a named relay group, detects mutual pings within a 10-second window, and delivers matching icebreaker prompts to both R1s simultaneously. Also handles group pings and custom icebreaker pack generation via the R1 built-in LLM.","ajohnsonnow\u002Fr1-warren","ajohnsonnow","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F8867891?v=4","01M75T7TQ3B5VRHJF6X2Q7AWWW","Anthony Johnson","01M75T7TQPJG8YZTAVCH4SQW27",0,"MIT","https:\u002F\u002Fgithub.com\u002Fajohnsonnow\u002Fr1-warren\u002Fblob\u002Fmain\u002Fproximity-ping\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: proximity-ping\ndescription: >\n  Local R1-to-R1 icebreaker relay for events and gatherings.\n  Broadcasts ephemeral anonymous availability pings within a named relay group,\n  detects mutual pings within a 10-second window, and delivers matching icebreaker\n  prompts to both R1s simultaneously. Also handles group pings and custom\n  icebreaker pack generation via the R1 built-in LLM.\nversion: 1.0.0\nauthor: rabbit-r1-skillz\n---\n\n# ProximityPing — OpenClaw Skill\n\nProximityPing uses the OpenClaw shared-storage bridge to relay anonymous ping\nsignals between R1 devices at the same event. When two R1s shake within 10\nseconds of each other, the relay delivers a match signal and a synchronized\nicebreaker prompt to both screens. Group pings collect headcounts from everyone\nin the named relay group.\n\nNo location data is collected. No identities are stored. Pings expire after\n10 seconds and are never persisted.\n\n## Architecture\n\n```\nR1 (Alice) ──ocSend──► OpenClaw relay skill ──ocResp──► R1 (Alice)\n                              │\n                              └──push──► R1 (Bob) via onPluginMessage\n```\n\nEach R1 writes a ping record to shared storage. The relay skill watches for\noverlapping pings in the same group, picks an icebreaker, and writes match\nresponses for both participants simultaneously.\n\n## Commands\n\n### `broadcast_ping`\n\nSent by a single R1 when the user shakes to activate ping mode.\n\n**Params:**\n| Field | Type | Description |\n|---|---|---|\n| `pingId` | string | Unique ID for this ping instance (ts-random) |\n| `group` | string | Named relay group (e.g. `\"hackathon\"`) |\n| `ts` | number | Unix timestamp of ping activation (ms) |\n\n**Relay behavior:**\n- Stores ping in the group window buffer (TTL 10 seconds)\n- If another ping in the same group was received within the last 10 seconds,\n  immediately issues a `match` response to both participants\n- Otherwise waits up to 10 seconds for an overlapping ping\n\n**Returns `data`:** (polled by R1 via `ocReceive`)\n```json\n{\n  \"type\": \"match\",\n  \"group\": \"hackathon\",\n  \"icebreaker\": \"What's something you're working on right now that excites you?\",\n  \"ts\": 1718000000123\n}\n```\nOr no response if the ping window expires with no match (R1 handles the timeout locally).\n\n### `broadcast_group`\n\nSent by one R1 when the user long-presses to start a group ping.\n\n**Params:**\n| Field | Type | Description |\n|---|---|---|\n| `group` | string | Named relay group |\n| `ts` | number | Unix timestamp (ms) |\n\n**Relay behavior:**\n- Broadcasts `relay_group_response` push messages to all R1s in the group that\n  are currently active (received any command in the last 60 seconds)\n- Counts R1s that acknowledge the broadcast\n- Returns incremental response count updates over 20 seconds\n\n**Returns `data`:** (incremental, polled via `ocReceive`)\n```json\n{\n  \"type\": \"group_response\",\n  \"group\": \"hackathon\",\n  \"count\": 3\n}\n```\n\n## Icebreaker selection\n\nThe relay skill selects a random icebreaker from its built-in library of 54+\nprompts and delivers the same prompt to both matched R1s. This ensures both\nscreens show identical questions without any R1 needing to communicate content\nto the other.\n\nIf a custom pack was loaded for the event group, the relay prefers those prompts.\n\n## Privacy model\n\n- Pings contain no identifying information. The `pingId` is a random token\n  discarded after the 10-second window.\n- No IP addresses, device identifiers, or user data are stored.\n- The relay group name is a shared secret known only to attendees. It is not\n  authenticated — anyone who knows the group name can join.\n- Ping records are held in memory only; nothing is written to disk.\n- The relay does not log which pings matched which.\n\n## Prerequisites\n\n- **Node.js 20+**\n- **OpenClaw CLI** (`npm install -g openclaw-cli && openclaw serve`)\n- All R1 devices on the same local network (same WiFi as the machine running\n  OpenClaw) or behind a shared relay endpoint\n\n## Local setup\n\n### 1. Install dependencies\n\n```bash\nmkdir -p ~\u002F.openclaw\u002Fskills\u002Fproximity-ping\ncd ~\u002F.openclaw\u002Fskills\u002Fproximity-ping\nnpm init -y\nnpm install dotenv\n```\n\n### 2. Configure environment (optional)\n\nNo additional API keys are required. Custom icebreaker pack generation uses the\nR1's built-in LLM and requires no external credentials.\n\n### 3. Register the skill\n\nAdd to `~\u002F.openclaw\u002Fopenclaw.config.json`:\n\n```json\n{\n  \"skills\": [\n    {\n      \"name\": \"proximity-ping\",\n      \"path\": \"~\u002F.openclaw\u002Fskills\u002Fproximity-ping\u002Fskill.js\",\n      \"description\": \"R1-to-R1 ephemeral ping relay for event icebreakers\"\n    }\n  ]\n}\n```\n\n### 4. Create the skill file\n\nCreate `~\u002F.openclaw\u002Fskills\u002Fproximity-ping\u002Fskill.js`:\n\n```javascript\n\"use strict\";\nrequire(\"dotenv\").config({ path: __dirname + \"\u002F.env\" });\n\n\u002F\u002F ── In-memory ping buffer ──────────────────────────────────────────────────\n\u002F\u002F Map\u003Cgroup, Map\u003CpingId, { ts: number, respondFn: Function }>>\nconst pingBuffer = new Map();\nconst PING_TTL_MS = 10500; \u002F\u002F 10.5s — small buffer beyond the 10s window\n\n\u002F\u002F Built-in icebreaker library (subset; full list is in the R1 app)\nconst ICEBREAKERS = [\n  \"What's a skill you picked up during the pandemic that you still use?\",\n  \"What's the most recent thing that made you genuinely laugh out loud?\",\n  \"What's something you're working on right now that excites you?\",\n  \"If you could teleport anywhere for the next two hours, where would you go?\",\n  \"What's a piece of media that changed how you see the world?\",\n  \"What's the weirdest job you've ever heard of that someone actually does?\",\n  \"What's one app or tool you couldn't live without right now?\",\n  \"What's something you believed ten years ago that you've completely reversed on?\",\n  \"If you had to eat the same meal every day for a month, what would it be?\",\n  \"What's a hobby you've always wanted to pick up but haven't started yet?\",\n  \"What's the most underrated city you've ever visited?\",\n  \"What's the best piece of advice you've ever gotten?\",\n  \"What's a small ritual or habit that anchors your day?\",\n  \"What's something you're embarrassingly good at?\",\n  \"What would you do with a completely free Saturday?\",\n  \"What's the last thing you learned that genuinely surprised you?\",\n  \"What's a question you keep coming back to but haven't answered yet?\",\n  \"What's a local spot you always recommend to visitors?\",\n  \"If you could un-invent one thing, what would it be?\",\n  \"What's a podcast or creator you think is underrated?\",\n];\n\n\u002F\u002F Custom packs per group: Map\u003Cgroup, string[]>\nconst customPacks = new Map();\n\n\u002F\u002F Active R1 sessions (for group ping broadcasts): Map\u003Cgroup, Set\u003CrespondFn>>\nconst activeClients = new Map();\n\nfunction pickIcebreaker(group) {\n  const custom = customPacks.get(group) || [];\n  const pool = custom.length > 0 ? [...ICEBREAKERS, ...custom] : ICEBREAKERS;\n  return pool[Math.floor(Math.random() * pool.length)];\n}\n\nfunction cleanExpiredPings() {\n  const now = Date.now();\n  for (const [group, pings] of pingBuffer.entries()) {\n    for (const [id, entry] of pings.entries()) {\n      if (now - entry.ts > PING_TTL_MS) {\n        pings.delete(id);\n      }\n    }\n    if (pings.size === 0) pingBuffer.delete(group);\n  }\n}\n\n\u002F\u002F ── Command handlers ───────────────────────────────────────────────────────\n\nasync function cmdBroadcastPing({ pingId, group, ts }, respondFn) {\n  cleanExpiredPings();\n\n  if (!pingBuffer.has(group)) pingBuffer.set(group, new Map());\n  const groupPings = pingBuffer.get(group);\n\n  \u002F\u002F Check for an existing ping from another device in this group\n  const others = [...groupPings.entries()].filter(([id]) => id !== pingId);\n\n  if (others.length > 0) {\n    \u002F\u002F Match! Pick the oldest pending ping\n    const [otherId, otherEntry] = others.sort((a, b) => a[1].ts - b[1].ts)[0];\n    const icebreaker = pickIcebreaker(group);\n    const matchPayload = { type: \"match\", group, icebreaker, ts: Date.now() };\n\n    \u002F\u002F Remove both pings\n    groupPings.delete(otherId);\n    groupPings.delete(pingId);\n\n    \u002F\u002F Respond to the other device\n    if (typeof otherEntry.respondFn === \"function\") {\n      otherEntry.respondFn(matchPayload);\n    }\n\n    \u002F\u002F Respond to this device\n    return matchPayload;\n  }\n\n  \u002F\u002F No match yet — register this ping and wait for one (or timeout)\n  return new Promise((resolve) => {\n    const entry = {\n      ts,\n      respondFn: (matchPayload) => {\n        clearTimeout(expiryTimer);\n        groupPings.delete(pingId);\n        resolve(matchPayload);\n      },\n    };\n\n    groupPings.set(pingId, entry);\n\n    \u002F\u002F Expire after 10.5s with no match\n    const expiryTimer = setTimeout(() => {\n      groupPings.delete(pingId);\n      resolve(null); \u002F\u002F null = no match, R1 handles locally\n    }, PING_TTL_MS);\n  });\n}\n\nasync function cmdBroadcastGroup({ group, ts }) {\n  if (!activeClients.has(group)) activeClients.set(group, new Set());\n  const clients = activeClients.get(group);\n\n  let count = 0;\n  const notifyPayload = { type: \"group_response\", group, count: 0 };\n\n  \u002F\u002F Broadcast to all registered clients in the group (except the sender)\n  for (const clientFn of clients) {\n    try {\n      clientFn({ ...notifyPayload, count: ++count });\n    } catch (_) {\n      clients.delete(clientFn);\n    }\n  }\n\n  return { type: \"group_response\", group, count };\n}\n\n\u002F\u002F ── Main export ────────────────────────────────────────────────────────────\n\nmodule.exports = async function proximityPing(command, params, respondFn) {\n  switch (command) {\n    case \"broadcast_ping\":\n      return cmdBroadcastPing(params, respondFn);\n\n    case \"broadcast_group\":\n      return cmdBroadcastGroup(params);\n\n    default:\n      return { error: `Unknown command: ${command}` };\n  }\n};\n```\n\n### 5. Start OpenClaw\n\n```bash\nopenclaw serve\n```\n\n`proximity-ping` should appear in the registered skills list. All R1 devices\non the same network can now relay pings through this machine.\n\n## Multi-device setup\n\nFor pings to match between two R1 devices, both must:\n\n1. Be connected to the same WiFi network as the machine running OpenClaw\n2. Be configured to use the same event group name (default is `\"default\"`)\n3. Shake within 10 seconds of each other\n\nGroup name coordination happens on-device via the scroll wheel + PTT setup\nscreen. No app install or account is needed on attendees' R1s.\n\n## Custom icebreaker packs\n\nThe R1 app can generate a custom 10-prompt icebreaker pack tuned to a specific\nevent theme using the R1's built-in LLM. No external API key or additional\nskill is required.\n\nThe R1 sends the generation prompt directly to the built-in LLM via\n`PluginMessageHandler` and receives the result through `window.onPluginMessage`.\nThe generated pack is stored locally on the R1 for 24 hours before expiring,\nafter which it falls back to the built-in library.\n\n## Troubleshooting\n\n**Two R1s shook but no match appeared**\n- Confirm both R1s are in the same event group (check the group name on each\n  device via scroll → setup)\n- Confirm both pings happened within 10 seconds of each other\n- Confirm `openclaw serve` is running on a machine reachable by both R1s\n- If OpenClaw is unreachable, ProximityPing degrades gracefully but cannot relay\n  between two separate devices. Single-device mode still shows icebreakers.\n\n**Group ping shows 0 responses**\n- Other R1s must also have the ProximityPing app open and the same group name\n  configured\n- The group ping window is 20 seconds — responses after that are not counted\n\n**Custom icebreaker pack generation times out**\n- The R1 built-in LLM has a 45-second timeout for pack generation\n- The R1 falls back to the built-in library automatically if generation fails\n\n**OpenClaw not detecting R1 on network**\n- Both devices must be on the same subnet (same WiFi or wired LAN)\n- Firewalls on the host machine must allow the OpenClaw port (default 7654)\n\n## Security notes\n\n- This skill holds ping state in memory only; no data is persisted to disk.\n- The relay group name is the only access control. Choose group names that are\n  unlikely to collide with other events in the same venue (e.g. include a date\n  or event acronym: `\"summit-2026-06\"`).\n- OpenClaw communicates over localhost by default. Do not expose the OpenClaw\n  port to the public internet.\n- No personal data, device IDs, or user accounts are involved at any point.\n","# ProximityPing — OpenClaw Skill\n\nProximityPing uses the OpenClaw shared-storage bridge to relay anonymous ping\nsignals between R1 devices at the same event. When two R1s shake within 10\nseconds of each other, the relay delivers a match signal and a synchronized\nicebreaker prompt to both screens. Group pings collect headcounts from everyone\nin the named relay group.\n\nNo location data is collected. No identities are stored. Pings expire after\n10 seconds and are never persisted.\n\n## Architecture\n\n```\nR1 (Alice) ──ocSend──► OpenClaw relay skill ──ocResp──► R1 (Alice)\n                              │\n                              └──push──► R1 (Bob) via onPluginMessage\n```\n\nEach R1 writes a ping record to shared storage. The relay skill watches for\noverlapping pings in the same group, picks an icebreaker, and writes match\nresponses for both participants simultaneously.\n\n## Commands\n\n### `broadcast_ping`\n\nSent by a single R1 when the user shakes to activate ping mode.\n\n**Params:**\n| Field | Type | Description |\n|---|---|---|\n| `pingId` | string | Unique ID for this ping instance (ts-random) |\n| `group` | string | Named relay group (e.g. `\"hackathon\"`) |\n| `ts` | number | Unix timestamp of ping activation (ms) |\n\n**Relay behavior:**\n- Stores ping in the group window buffer (TTL 10 seconds)\n- If another ping in the same group was received within the last 10 seconds,\n  immediately issues a `match` response to both participants\n- Otherwise waits up to 10 seconds for an overlapping ping\n\n**Returns `data`:** (polled by R1 via `ocReceive`)\n```json\n{\n  \"type\": \"match\",\n  \"group\": \"hackathon\",\n  \"icebreaker\": \"What's something you're working on right now that excites you?\",\n  \"ts\": 1718000000123\n}\n```\nOr no response if the ping window expires with no match (R1 handles the timeout locally).\n\n### `broadcast_group`\n\nSent by one R1 when the user long-presses to start a group ping.\n\n**Params:**\n| Field | Type | Description |\n|---|---|---|\n| `group` | string | Named relay group |\n| `ts` | number | Unix timestamp (ms) |\n\n**Relay behavior:**\n- Broadcasts `relay_group_response` push messages to all R1s in the group that\n  are currently active (received any command in the last 60 seconds)\n- Counts R1s that acknowledge the broadcast\n- Returns incremental response count updates over 20 seconds\n\n**Returns `data`:** (incremental, polled via `ocReceive`)\n```json\n{\n  \"type\": \"group_response\",\n  \"group\": \"hackathon\",\n  \"count\": 3\n}\n```\n\n## Icebreaker selection\n\nThe relay skill selects a random icebreaker from its built-in library of 54+\nprompts and delivers the same prompt to both matched R1s. This ensures both\nscreens show identical questions without any R1 needing to communicate content\nto the other.\n\nIf a custom pack was loaded for the event group, the relay prefers those prompts.\n\n## Privacy model\n\n- Pings contain no identifying information. The `pingId` is a random token\n  discarded after the 10-second window.\n- No IP addresses, device identifiers, or user data are stored.\n- The relay group name is a shared secret known only to attendees. It is not\n  authenticated — anyone who knows the group name can join.\n- Ping records are held in memory only; nothing is written to disk.\n- The relay does not log which pings matched which.\n\n## Prerequisites\n\n- **Node.js 20+**\n- **OpenClaw CLI** (`npm install -g openclaw-cli && openclaw serve`)\n- All R1 devices on the same local network (same WiFi as the machine running\n  OpenClaw) or behind a shared relay endpoint\n\n## Local setup\n\n### 1. Install dependencies\n\n```bash\nmkdir -p ~\u002F.openclaw\u002Fskills\u002Fproximity-ping\ncd ~\u002F.openclaw\u002Fskills\u002Fproximity-ping\nnpm init -y\nnpm install dotenv\n```\n\n### 2. Configure environment (optional)\n\nNo additional API keys are required. Custom icebreaker pack generation uses the\nR1's built-in LLM and requires no external credentials.\n\n### 3. Register the skill\n\nAdd to `~\u002F.openclaw\u002Fopenclaw.config.json`:\n\n```json\n{\n  \"skills\": [\n    {\n      \"name\": \"proximity-ping\",\n      \"path\": \"~\u002F.openclaw\u002Fskills\u002Fproximity-ping\u002Fskill.js\",\n      \"description\": \"R1-to-R1 ephemeral ping relay for event icebreakers\"\n    }\n  ]\n}\n```\n\n### 4. Create the skill file\n\nCreate `~\u002F.openclaw\u002Fskills\u002Fproximity-ping\u002Fskill.js`:\n\n```javascript\n\"use strict\";\nrequire(\"dotenv\").config({ path: __dirname + \"\u002F.env\" });\n\n\u002F\u002F ── In-memory ping buffer ──────────────────────────────────────────────────\n\u002F\u002F Map\u003Cgroup, Map\u003CpingId, { ts: number, respondFn: Function }>>\nconst pingBuffer = new Map();\nconst PING_TTL_MS = 10500; \u002F\u002F 10.5s — small buffer beyond the 10s window\n\n\u002F\u002F Built-in icebreaker library (subset; full list is in the R1 app)\nconst ICEBREAKERS = [\n  \"What's a skill you picked up during the pandemic that you still use?\",\n  \"What's the most recent thing that made you genuinely laugh out loud?\",\n  \"What's something you're working on right now that excites you?\",\n  \"If you could teleport anywhere for the next two hours, where would you go?\",\n  \"What's a piece of media that changed how you see the world?\",\n  \"What's the weirdest job you've ever heard of that someone actually does?\",\n  \"What's one app or tool you couldn't live without right now?\",\n  \"What's something you believed ten years ago that you've completely reversed on?\",\n  \"If you had to eat the same meal every day for a month, what would it be?\",\n  \"What's a hobby you've always wanted to pick up but haven't started yet?\",\n  \"What's the most underrated city you've ever visited?\",\n  \"What's the best piece of advice you've ever gotten?\",\n  \"What's a small ritual or habit that anchors your day?\",\n  \"What's something you're embarrassingly good at?\",\n  \"What would you do with a completely free Saturday?\",\n  \"What's the last thing you learned that genuinely surprised you?\",\n  \"What's a question you keep coming back to but haven't answered yet?\",\n  \"What's a local spot you always recommend to visitors?\",\n  \"If you could un-invent one thing, what would it be?\",\n  \"What's a podcast or creator you think is underrated?\",\n];\n\n\u002F\u002F Custom packs per group: Map\u003Cgroup, string[]>\nconst customPacks = new Map();\n\n\u002F\u002F Active R1 sessions (for group ping broadcasts): Map\u003Cgroup, Set\u003CrespondFn>>\nconst activeClients = new Map();\n\nfunction pickIcebreaker(group) {\n  const custom = customPacks.get(group) || [];\n  const pool = custom.length > 0 ? [...ICEBREAKERS, ...custom] : ICEBREAKERS;\n  return pool[Math.floor(Math.random() * pool.length)];\n}\n\nfunction cleanExpiredPings() {\n  const now = Date.now();\n  for (const [group, pings] of pingBuffer.entries()) {\n    for (const [id, entry] of pings.entries()) {\n      if (now - entry.ts > PING_TTL_MS) {\n        pings.delete(id);\n      }\n    }\n    if (pings.size === 0) pingBuffer.delete(group);\n  }\n}\n\n\u002F\u002F ── Command handlers ───────────────────────────────────────────────────────\n\nasync function cmdBroadcastPing({ pingId, group, ts }, respondFn) {\n  cleanExpiredPings();\n\n  if (!pingBuffer.has(group)) pingBuffer.set(group, new Map());\n  const groupPings = pingBuffer.get(group);\n\n  \u002F\u002F Check for an existing ping from another device in this group\n  const others = [...groupPings.entries()].filter(([id]) => id !== pingId);\n\n  if (others.length > 0) {\n    \u002F\u002F Match! Pick the oldest pending ping\n    const [otherId, otherEntry] = others.sort((a, b) => a[1].ts - b[1].ts)[0];\n    const icebreaker = pickIcebreaker(group);\n    const matchPayload = { type: \"match\", group, icebreaker, ts: Date.now() };\n\n    \u002F\u002F Remove both pings\n    groupPings.delete(otherId);\n    groupPings.delete(pingId);\n\n    \u002F\u002F Respond to the other device\n    if (typeof otherEntry.respondFn === \"function\") {\n      otherEntry.respondFn(matchPayload);\n    }\n\n    \u002F\u002F Respond to this device\n    return matchPayload;\n  }\n\n  \u002F\u002F No match yet — register this ping and wait for one (or timeout)\n  return new Promise((resolve) => {\n    const entry = {\n      ts,\n      respondFn: (matchPayload) => {\n        clearTimeout(expiryTimer);\n        groupPings.delete(pingId);\n        resolve(matchPayload);\n      },\n    };\n\n    groupPings.set(pingId, entry);\n\n    \u002F\u002F Expire after 10.5s with no match\n    const expiryTimer = setTimeout(() => {\n      groupPings.delete(pingId);\n      resolve(null); \u002F\u002F null = no match, R1 handles locally\n    }, PING_TTL_MS);\n  });\n}\n\nasync function cmdBroadcastGroup({ group, ts }) {\n  if (!activeClients.has(group)) activeClients.set(group, new Set());\n  const clients = activeClients.get(group);\n\n  let count = 0;\n  const notifyPayload = { type: \"group_response\", group, count: 0 };\n\n  \u002F\u002F Broadcast to all registered clients in the group (except the sender)\n  for (const clientFn of clients) {\n    try {\n      clientFn({ ...notifyPayload, count: ++count });\n    } catch (_) {\n      clients.delete(clientFn);\n    }\n  }\n\n  return { type: \"group_response\", group, count };\n}\n\n\u002F\u002F ── Main export ────────────────────────────────────────────────────────────\n\nmodule.exports = async function proximityPing(command, params, respondFn) {\n  switch (command) {\n    case \"broadcast_ping\":\n      return cmdBroadcastPing(params, respondFn);\n\n    case \"broadcast_group\":\n      return cmdBroadcastGroup(params);\n\n    default:\n      return { error: `Unknown command: ${command}` };\n  }\n};\n```\n\n### 5. Start OpenClaw\n\n```bash\nopenclaw serve\n```\n\n`proximity-ping` should appear in the registered skills list. All R1 devices\non the same network can now relay pings through this machine.\n\n## Multi-device setup\n\nFor pings to match between two R1 devices, both must:\n\n1. Be connected to the same WiFi network as the machine running OpenClaw\n2. Be configured to use the same event group name (default is `\"default\"`)\n3. Shake within 10 seconds of each other\n\nGroup name coordination happens on-device via the scroll wheel + PTT setup\nscreen. No app install or account is needed on attendees' R1s.\n\n## Custom icebreaker packs\n\nThe R1 app can generate a custom 10-prompt icebreaker pack tuned to a specific\nevent theme using the R1's built-in LLM. No external API key or additional\nskill is required.\n\nThe R1 sends the generation prompt directly to the built-in LLM via\n`PluginMessageHandler` and receives the result through `window.onPluginMessage`.\nThe generated pack is stored locally on the R1 for 24 hours before expiring,\nafter which it falls back to the built-in library.\n\n## Troubleshooting\n\n**Two R1s shook but no match appeared**\n- Confirm both R1s are in the same event group (check the group name on each\n  device via scroll → setup)\n- Confirm both pings happened within 10 seconds of each other\n- Confirm `openclaw serve` is running on a machine reachable by both R1s\n- If OpenClaw is unreachable, ProximityPing degrades gracefully but cannot relay\n  between two separate devices. Single-device mode still shows icebreakers.\n\n**Group ping shows 0 responses**\n- Other R1s must also have the ProximityPing app open and the same group name\n  configured\n- The group ping window is 20 seconds — responses after that are not counted\n\n**Custom icebreaker pack generation times out**\n- The R1 built-in LLM has a 45-second timeout for pack generation\n- The R1 falls back to the built-in library automatically if generation fails\n\n**OpenClaw not detecting R1 on network**\n- Both devices must be on the same subnet (same WiFi or wired LAN)\n- Firewalls on the host machine must allow the OpenClaw port (default 7654)\n\n## Security notes\n\n- This skill holds ping state in memory only; no data is persisted to disk.\n- The relay group name is the only access control. Choose group names that are\n  unlikely to collide with other events in the same venue (e.g. include a date\n  or event acronym: `\"summit-2026-06\"`).\n- OpenClaw communicates over localhost by default. Do not expose the OpenClaw\n  port to the public internet.\n- No personal data, device IDs, or user accounts are involved at any point.\n",{"name":5,"author":24,"version":25,"description":26},"rabbit-r1-skillz","1.0.0","Local R1-to-R1 icebreaker relay for events and gatherings. Broadcasts ephemeral anonymous availability pings within a named relay group, detects mutual pings within a 10-second window, and delivers matching icebreaker prompts to both R1s simultaneously. Also handles group pings and custom icebreaker pack generation via the R1 built-in LLM.\n","main","734489c70f6293d3b800cd956559034acaa9f563","https:\u002F\u002Fgithub.com\u002Fajohnsonnow\u002Fr1-warren","https:\u002F\u002Fgithub.com\u002Fajohnsonnow","structuredforgrowth.com","2026-09-04 21:06:25",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add ajohnsonnow\u002Fr1-warren --skill proximity-ping",{"tool":39,"command":40},"bunx","bunx skills add ajohnsonnow\u002Fr1-warren --skill proximity-ping",{"tool":42,"command":43},"pnpm","pnpm dlx skills add ajohnsonnow\u002Fr1-warren --skill proximity-ping","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fajohnsonnow\u002Fr1-warren\u002Fblob\u002Fmain\u002Fproximity-ping\u002FSKILL.md",true,[47,53,57],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"card.jpg","ASSET","资产文件",26131,"https:\u002F\u002Fgithub.com\u002Fajohnsonnow\u002Fr1-warren\u002Fblob\u002Fmain\u002Fproximity-ping\u002Fcard.jpg",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"icon.png",11337,"https:\u002F\u002Fgithub.com\u002Fajohnsonnow\u002Fr1-warren\u002Fblob\u002Fmain\u002Fproximity-ping\u002Ficon.png",{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"index.html","REFERENCE","参考文档",42171,"https:\u002F\u002Fgithub.com\u002Fajohnsonnow\u002Fr1-warren\u002Fblob\u002Fmain\u002Fproximity-ping\u002Findex.html",[64,71,78,85,92,99],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M75THZJQ1XYR8QDWB9RXC9QV","whisper-quiz","WhisperQuiz — voice-answered trivia game for Rabbit R1. Generates questions via the R1's built-in LLM, captures spoken answers via STT, and evaluates correctness with flexible LLM-based matching.","https:\u002F\u002Fgithub.com\u002Fajohnsonnow\u002Fr1-warren\u002Fblob\u002Fmain\u002Fwhisper-quiz\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M75THW5BJRSQQM3QP6M568FT","walk-cast","Walking podcast production skill. Receives raw audio metadata and transcript from the R1, removes long pauses, applies noise reduction and normalization, generates AI chapter titles and episode metadata via LLM, and uploads the final episode to your configured podcast RSS host (Spotify for Podcasters \u002F Anchor, Podbean, Buzzsprout, RSS.com, or any FTP-accessible feed).","https:\u002F\u002Fgithub.com\u002Fajohnsonnow\u002Fr1-warren\u002Fblob\u002Fmain\u002Fwalk-cast\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M75THTANZTS2AMDDBP615RTA","voice-novel","Local machine skill for VoiceNovel — handles story export to disk.","https:\u002F\u002Fgithub.com\u002Fajohnsonnow\u002Fr1-warren\u002Fblob\u002Fmain\u002Fvoice-novel\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M75THQ175ZRJ3E0GPFW7QKM8","voice-guide","Environment description and navigation assistant for blind and low-vision users. Analyzes camera frames via a vision LLM, reads visible text, identifies scene categories (people\u002Fvehicles\u002Ffood\u002Fhazards\u002Fexits), performs 360° scans, retrieves GPS position, and sends emergency SMS alerts — all via audio feedback with zero screen dependency.","https:\u002F\u002Fgithub.com\u002Fajohnsonnow\u002Fr1-warren\u002Fblob\u002Fmain\u002Fvoice-guide\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M75THKAJR69WV7QQYJ26X95C","voice-draft","Voice-driven document drafting for the Rabbit R1. Dictate stream-of-consciousness speech; the R1 formats it into Email, Blog Post, Report, Proposal, Meeting Notes, Creative Writing, Code Comments, Cover Letter, or Tweet Thread — then saves the result to a configured folder on your local machine via OpenClaw.","https:\u002F\u002Fgithub.com\u002Fajohnsonnow\u002Fr1-warren\u002Fblob\u002Fmain\u002Fvoice-draft\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M75THGKGY2JY59MM9PREXCXX","voice-commit","Hands-free git and CI workflow voice controller for the Rabbit R1. Speak git\u002FCI commands and hear results — commit, push, status, PR management, test runs, and deploy, all voice-driven via OpenClaw.","https:\u002F\u002Fgithub.com\u002Fajohnsonnow\u002Fr1-warren\u002Fblob\u002Fmain\u002Fvoice-commit\u002FSKILL.md",[],[]]