← Commit history
Publish 1.2.5
8 files changed
+57−13
SKILL.md+3−3@@ -1,7 +1,7 @@ --- name: grok user-invocable: true-description: "Use this when driving Grok Bot on the user's desktop from the cloud via the grok_* Adom Bridge verbs. Host app is Grok Bot.exe (standalone Electron; Cursor is last-resort fallback only if Grok Bot.exe is missing). Open/close/resize/screenshot/record the app, report thinking vs idle (grok_chat_status), read the visible transcript (grok_chat_read), queue a message (toast + inbox), bind the Grok Bridge webhook and create bots/channels. Sub-skills: grok-app-control, grok-chat, grok-record, grok-webhook, grok-account, grok-anywhere. No public Grok HTTP API — the spawned Python runtime talks back to ab over desktop_* callbacks. Trigger words: grok, grok bot, grok_open, grok_close, grok_chat_status, grok_chat_read, grok_webhook_ensure, grok_webhook_bind, talk to grok, send to grok bot, grok screenshot."+description: "Use this when driving Grok Bot on the user's desktop from the cloud via the grok_* Adom Bridge verbs. Host app is Grok Bot.exe (standalone Electron; Cursor is last-resort fallback only if Grok Bot.exe is missing). Open/close/resize/screenshot/record the app, report thinking vs idle (grok_chat_status), read the visible transcript (grok_chat_read), queue a message (toast + inbox), bind the Grok Bridge webhook and create bots/channels. Sub-skills: grok-app-control, grok-chat, grok-record, grok-webhook, grok-account, grok-anywhere. No public Grok HTTP API — the spawned Python runtime talks back to ab over desktop_* callbacks. Trigger words: grok, grok bot, grok_open, grok_close, grok_chat_status, grok_chat_read, grok_webhook_ensure, grok_webhook_bind, talk to grok, send to grok bot, grok screenshot, screenshot_computer, screenshot grok bot computer." --- # grok — talk to Grok Bot from Adom Bridge@@ -47,7 +47,7 @@ adom-bridge --ai-thread "<your thread>" grok_readiness '{}' | `grok_open` / `grok_close` / `grok_resize` / `grok_screenshot` / `grok_list_windows` / `grok_status` | Window + host | see **grok-app-control** | grok-app-control | | `grok_chat_status` / `grok_chat_read` / `grok_send` | Thinking vs idle, transcript, toast+inbox | see **grok-chat** | grok-chat | | `grok_record_start` / `stop` / `status` | Window recording | **`reason` required** on start | grok-record |-| `grok_webhook_ensure` / `bind` / `fire` / `status`, `grok_bot_*`, `grok_channel_create` | Wake this session, create bots/channels | never log the key | grok-webhook |+| `grok_webhook_ensure` / `bind` / `fire` / `status`, `grok_bot_*`, `grok_channel_create` | Wake this session, create bots/channels, `screenshot_computer` for the agent box | never log the key | grok-webhook | | `grok_login` / `grok_logout` / `grok_plugin_install` | Sign-in UI + plugins | never type passwords | grok-account | | `grok_uninstall` | Tells you to `bridge_uninstall {"name":"grok"}`. Does **not** kill Grok Bot or Cursor. | — | this skill | @@ -61,7 +61,7 @@ adom-bridge --ai-thread "<your thread>" grok_readiness '{}' | **grok-app-control** | Open/close/resize/screenshot/list windows | | **grok-chat** | Thinking chip, visible transcript, send (toast + inbox) | | **grok-record** | Record the Grok Bot.exe window (not the agent-box feed) |-| **grok-webhook** | Bind the Grok Bridge webhook, fire events, create bots/channels |+| **grok-webhook** | Bind the Grok Bridge webhook, fire events, create bots/channels, screenshot grok-bridge's computer | | **grok-account** | Login, logout, plugin install — human clicks, no passwords | | **grok-anywhere** | The reverse: Grok Bot driving a PC as an Anywhere character |
dashboard/demo/steps.json+1−1@@ -44,7 +44,7 @@ { "id": "kicad", "action": "highlight:#card-kicad",- "caption": "Adom Hydrogen asks Grok Bot to open KiCad so the EE never has to use their laptop.",+ "caption": "Open KiCad on Grok Bot's computer \u2014 the agent box, not your Windows laptop.", "audio": "demo/audio/kicad.mp3", "min_ms": 4500 },
dashboard/ui/demo.mp4⋯ 1 unchanged line ⋯
package.json+10−3@@ -1,8 +1,8 @@ { "slug": "grok-bridge",- "version": "1.2.4",+ "version": "1.2.5", "type": "app",- "description": "Grok Bridge lets Adom talk to Grok Bot. Adom's AI environment is for electrical engineers: any provider (Claude, Codex, Grok, Gemini, …), any desktop power tool, through Adom Bridge. grok_* open/close/resize/screenshot/record the app, read the thread, and create bots/channels via webhook.",+ "description": "Grok Bridge lets Adom talk to Grok Bot. Adom's AI environment is for electrical engineers: any provider (Claude, Codex, Grok, Gemini, \u2026), any desktop power tool, through Adom Bridge. grok_* open/close/resize/screenshot/record the app, read the thread, and create bots/channels via webhook.", "keywords": [ "grok", "grok-bot",@@ -85,7 +85,10 @@ "grok_login", "grok dashboard", "grok bot dashboard",- "open grok dashboard"+ "open grok dashboard",+ "screenshot_computer",+ "screenshot grok bot computer",+ "grok computer screenshot" ], "sample_prompts": [ {@@ -119,6 +122,10 @@ { "label": "Open the Grok Bot dashboard", "prompt": "Open the Grok Bot dashboard and tell me if any LED is not green"+ },+ {+ "label": "Screenshot Grok Bot's computer",+ "prompt": "Ask Grok Bot for a screenshot of grok-bridge's computer (the agent box, not Grok Bot.exe). Fire event screenshot_computer with a nonce, then poll grok_chat_read on thread grok-bridge for that nonce. Do not wait on the webhook HTTP body." } ], "hero": {
page.json+9−2@@ -4,7 +4,7 @@ "type": "app", "title": "Grok Bot", "brief": "Grok Bridge lets Adom talk to Grok Bot. Adom's AI environment is for electrical engineers: any provider, any desktop power tool, one place.",- "version": "1.2.4",+ "version": "1.2.5", "hero": { "type": "image", "path": "screenshots/hero.png"@@ -55,6 +55,10 @@ { "label": "Open the Grok Bot dashboard", "prompt": "Open the Grok Bot dashboard and tell me if any LED is not green"+ },+ {+ "label": "Screenshot Grok Bot's computer",+ "prompt": "Ask Grok Bot for a screenshot of grok-bridge's computer (the agent box, not Grok Bot.exe). Fire event screenshot_computer with a nonce, then poll grok_chat_read on thread grok-bridge for that nonce. Do not wait on the webhook HTTP body." } ], "discovery_triggers": [@@ -88,7 +92,10 @@ "grok_login", "grok dashboard", "grok bot dashboard",- "open grok dashboard"+ "open grok dashboard",+ "screenshot_computer",+ "screenshot grok bot computer",+ "grok computer screenshot" ], "discovery_pitch": "Grok Bridge lets Adom talk to Grok Bot on Windows or Mac. Adom's environment is for electrical engineers who need every AI provider and every desktop power tool in one place; Adom Bridge is how those desktops become AI-first.", "metadata": {},
skills/grok-app-control/SKILL.md+2−2@@ -23,7 +23,7 @@ adom-bridge --ai-thread "<your thread>" grok_<verb> '<json>' | `grok_status` | Detect + last send + inbox + webhook bound (host only) | — | | `grok_open` | Launch Grok Bot in the **background**; poll process/window; Start-Process minimized if launch/desktop_open do not take. Returns `launched`, `opened`, `alreadyOpen`, `hwnd` | optional `foreground` + **required** `foregroundReason` (≥10 chars) | | `grok_list_windows` | `desktop_find_window` titleContains `Grok Bot` (preferred; unwrap `output`/`best.hwnd`) then `desktop_list_windows` + `process_list` | optional `titleContains` |-| `grok_screenshot` | `desktop_screenshot_window` of that hwnd | optional `titleContains` |+| `grok_screenshot` | `desktop_screenshot_window` of **Grok Bot.exe**. Not grok-bridge's computer. For the agent box, fire `screenshot_computer` (**grok-webhook**) | optional `titleContains` | | `grok_close` | Hide the window (`desktop_set_window_state` hide). Prefer hide over kill. **Never kill Cursor.** | — | | `grok_resize` | `desktop_set_window_bounds` on the Grok Bot hwnd. Restores first if maximized. Physical px (same as ab) | `w`, `h`, optional `x`, `y` (omit to keep origin) | @@ -37,4 +37,4 @@ Windows open in the background. `openedInBackground` / `windowEtiquette:"backgro `success:true` on grok_open now means a process/window was observed (or alreadyOpen). Still screenshot after resize/close. -Cold-start and identity: **grok**. Recording: **grok-record**. Chat: **grok-chat**.+Cold-start and identity: **grok**. Recording: **grok-record**. Chat: **grok-chat**. Box desktop shot: **grok-webhook** (`screenshot_computer`).
skills/grok-chat/SKILL.md+1−1@@ -26,7 +26,7 @@ Never steal focus. Surface `_hint` verbatim. ## Gotchas -- Status and read are the Grok Bot **window**, not this agent's box desktop feed.+- Status and read are the Grok Bot **window**, not this agent's box desktop feed. To get the box shot, fire `screenshot_computer` then poll this thread for the nonce (**grok-webhook**). - `grok_send` is not a public Grok HTTP API. The Anywhere character (`grok-anywhere`) can poll the inbox. - If list_windows is empty, fix hwnd unwrap first (**grok-app-control**) — chat verbs need that hwnd. - Empty/tiny transcript after cold start: `errorCode` `focused_thread_empty` / `transcript_unavailable` plus `focusedThread`. Call `grok_open` then wait, or `grok_chat_read {"thread":"grok-bridge"}`. Sidebar click is best-effort UIA.
skills/grok-webhook/SKILL.md+31−1@@ -1,7 +1,7 @@ --- name: grok-webhook user-invocable: true-description: "Bind the Grok Bridge webhook without human copy-paste (grok_webhook_ensure scrapes the routine pane), fire events, and create Grok Bot bots/channels. Stores ~/.adom/grok-webhook.json on the PC. Never log or hint the key. Auth on fire is Authorization: Bearer. Trigger words: grok_webhook_ensure, grok_webhook_bind, grok_webhook_fire, grok_webhook_status, grok_bot_create, grok_channel_create, grok_bot_list, grok webhook, create grok bot, create grok channel."+description: "Bind the Grok Bridge webhook without human copy-paste (grok_webhook_ensure scrapes the routine pane), fire events, and create Grok Bot bots/channels. Also the poll loop for a screenshot of Grok Bot's computer (the agent box), not Grok Bot.exe: event screenshot_computer + nonce, then grok_chat_read. Stores ~/.adom/grok-webhook.json on the PC. Never log or hint the key. Auth on fire is Authorization: Bearer. Trigger words: grok_webhook_ensure, grok_webhook_bind, grok_webhook_fire, grok_webhook_status, grok_bot_create, grok_channel_create, grok_bot_list, grok webhook, create grok bot, create grok channel, screenshot_computer, screenshot grok bot computer, grok computer screenshot." --- Parent skill: **grok** (the core driver). This file is the area split. @@ -54,7 +54,37 @@ If unbound: `errorCode: webhook_not_bound` and `_next` is `grok_webhook_ensure { | `plugin_install` | Open plugin install for `{id}` | | `login_needed` | Ask the human to sign in | | `logout_done` | Confirm sign-out |+| `screenshot_computer` | grok-bridge captures **its own Linux computer** (the agent box) and posts nonce + image in the grok-bridge thread. **Not** Grok Bot.exe. See below. | +## Screenshot of Grok Bot's computer (not Grok Bot.exe)++The 26 `grok_*` verbs target **Grok Bot.exe on the laptop**. `grok_screenshot` is that window. There is no `grok_computer_screenshot` verb yet.++To see **grok-bridge's computer** (the Linux agent box: Chrome, KiCad, adom-lbr, the dock — the feed titled grok-bridge's screen):++1. Pick a nonce (`BOX-SHOT-4821` style).+2. Fire the webhook. HTTP 200 is only `{runUuid}` — **no image in the body**.++```bash+adom-bridge --ai-thread "Grok Bot" --target AdomLapper grok_webhook_fire '{+ "event":"screenshot_computer",+ "nonce":"BOX-SHOT-4821",+ "message":"Screenshot Grok Bot computer now. Reply in grok-bridge with this nonce, and attach the PNG of your desktop."+}'+```++Nonce may be top-level or `payload.nonce`.++3. Poll, do not wait on the POST:++```bash+adom-bridge --ai-thread "Grok Bot" --target AdomLapper grok_chat_status '{}'+adom-bridge --ai-thread "Grok Bot" --target AdomLapper grok_chat_read '{"thread":"grok-bridge","limit":40}'+```++Done when the visible grok-bridge transcript contains the **exact nonce** and an attached desktop shot. Latency ~60–120s. Queue is FIFO. Never paste webhook keys.++Do **not** click the monitor icon in Grok Bot and treat that as the computer shot — that is the same window `grok_screenshot` already covers. ## Named agent (relay, not a second mailbox)