[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75T8HD96R8QJ147J4H54CHS":3,"skill-same:01M75T8HD96R8QJ147J4H54CHS":74},{"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":38,"commitSha":39,"skillDirectory":5,"forksCount":14,"repositoryHtmlUrl":40,"repositoryHomepageUrl":6,"ownerHtmlUrl":41,"ownerBlogUrl":42,"ownerDescription":6,"updatedAt":43,"install":44,"resources":57},"01M75T8HD96R8QJ147J4H54CHS","ambient-iq",null,"Workspace environment auditor. Captures your desk\u002Froom via the local machine camera, runs GPT-4 Vision analysis, and returns multi-dimensional scores (lighting, ergonomics, cables, clutter, focus) with spoken feedback to the R1.","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\u002Fambient-iq\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: ambient-iq\ndescription: Workspace environment auditor. Captures your desk\u002Froom via the local machine camera, runs GPT-4 Vision analysis, and returns multi-dimensional scores (lighting, ergonomics, cables, clutter, focus) with spoken feedback to the R1.\nversion: 1.0.0\nauthor: rabbit-r1-skillz\nmetadata:\n  openclaw:\n    requires:\n      bins:\n        - node\n        - python3\n      env:\n        - OPENAI_API_KEY\n      optional_env:\n        - AMBIQ_CAMERA_INDEX\n        - AMBIQ_CAPTURE_CMD\n        - AMBIQ_SCREENSHOT_MODE\n    primaryEnv: OPENAI_API_KEY\n---\n\n# AmbientIQ — Workspace Environment Auditor\n\nYou are `ambient-iq`, a skill that captures a photo of the user's workspace via their local machine camera, sends it to GPT-4 Vision for structured environmental analysis, and returns dimension scores and spoken recommendations back to the R1 Creation.\n\n## Commands you handle\n\n| Command sent by R1 | What you do |\n|--------------------|-------------|\n| `analyze`          | Capture image → GPT-4 Vision analysis → return structured scores and spoken feedback |\n\n## Local Setup\n\n### 1. Install Node.js and Python dependencies\n\n**Node.js 18+** is required for the OpenClaw skill runner.\n\n```bash\n# Inside the skill directory\ncd ~\u002F.openclaw\u002Fskills\u002Fambient-iq\nnpm install\n```\n\n**Python** is used for camera capture (OpenCV):\n\n```bash\npip install opencv-python pillow\n```\n\n**Windows alternative** (no Python): set `AMBIQ_SCREENSHOT_MODE=1` in `.env` to capture the primary monitor screenshot instead of a camera frame. This works well if your workspace monitor is visible from the R1's position.\n\n### 2. Install the skill\n\n```bash\ncp -r ambient-iq ~\u002F.openclaw\u002Fskills\u002Fambient-iq\ncd ~\u002F.openclaw\u002Fskills\u002Fambient-iq\nnpm install\n```\n\n### 3. Configure environment\n\nCopy `.env.example` to `.env` inside the skill directory:\n\n```env\n# Required: OpenAI API key with GPT-4 Vision access\nOPENAI_API_KEY=sk-...\n\n# Optional: Camera device index (0 = default camera, 1 = second camera, etc.)\n# Default: 0\nAMBIQ_CAMERA_INDEX=0\n\n# Optional: Use a custom shell command to capture a JPEG and write to stdout.\n# If set, overrides the Python OpenCV capture path entirely.\n# Example: capture from a Logitech StreamCam on macOS via ffmpeg:\n#   AMBIQ_CAPTURE_CMD=ffmpeg -f avfoundation -i \"0\" -frames:v 1 -f image2pipe -vcodec mjpeg -\n# Example: take a macOS screenshot:\n#   AMBIQ_CAPTURE_CMD=screencapture -x -t jpg -\nAMBIQ_CAPTURE_CMD=\n\n# Optional: Screenshot mode — captures the primary monitor instead of camera.\n# Useful when running on a laptop where the screen IS the workspace view,\n# or when testing without a camera attached.\n# Set to 1 to enable.\nAMBIQ_SCREENSHOT_MODE=0\n```\n\n### 4. Verify camera access\n\nTest the capture pipeline before running the skill:\n\n```bash\n# Python test — should open a preview window for 2 seconds then save test.jpg\npython3 -c \"\nimport cv2, sys\ncam = cv2.VideoCapture(int('${AMBIQ_CAMERA_INDEX:-0}'))\nok, frame = cam.read()\ncam.release()\nif not ok: print('FAIL: could not capture'); sys.exit(1)\ncv2.imwrite('test.jpg', frame)\nprint('OK: saved test.jpg')\n\"\n\n# Screenshot mode test (Windows\u002FmacOS):\n# On Windows (PowerShell):\n#   Add-Type -AssemblyName System.Windows.Forms\n#   [System.Windows.Forms.Screen]::PrimaryScreen | Out-Null\n# On macOS:\n#   screencapture -x \u002Ftmp\u002Fambiq-test.jpg && open \u002Ftmp\u002Fambiq-test.jpg\n```\n\n---\n\n## What the skill does step by step\n\n### `analyze` command\n\nReceives params:\n```json\n{\n  \"target\":    \"full | lighting | ergonomics | cables | clutter\",\n  \"prompt\":    \"Detailed analysis prompt from the R1\",\n  \"isMorning\": false,\n  \"hasBefore\": false\n}\n```\n\n**Steps:**\n\n1. **Capture image** — uses one of three paths in priority order:\n   - `AMBIQ_CAPTURE_CMD` if set: runs the command, reads JPEG from stdout\n   - `AMBIQ_SCREENSHOT_MODE=1`: takes a fullscreen screenshot (using `screencapture` on macOS, `PrintScreen` via PowerShell on Windows)\n   - Default: Python + OpenCV frame grab from camera index `AMBIQ_CAMERA_INDEX`\n\n2. **Resize image** — scales to max 512×512 px to stay within GPT-4 Vision's efficient token range while preserving aspect ratio.\n\n3. **Send to GPT-4 Vision** — posts the image as a base64 `image_url` along with the prompt from the R1. Uses `gpt-4o` (vision-capable) with a structured JSON response schema.\n\n4. **Parse response** — extracts:\n   - Dimension scores (`light`, `ergo`, `order`, `cables`, `focus`, `overall`) as integers 1–10\n   - Recommendations array: `[{dim, tag, title, detail}]` where `tag` is `\"great\" | \"ok\" | \"poor\" | \"info\"`\n   - `spokenFeedback` — a natural-language summary suitable for TTS (2–3 sentences max)\n\n5. **Write response** to OpenClaw shared storage key `openclaw:resp`.\n\n**Response shape:**\n```json\n{\n  \"status\": \"done\",\n  \"ts\": 1700000000000,\n  \"data\": {\n    \"scores\": {\n      \"light\":   7,\n      \"ergo\":    5,\n      \"order\":   6,\n      \"cables\":  4,\n      \"focus\":   6,\n      \"overall\": 5.6\n    },\n    \"recs\": [\n      {\n        \"dim\":    \"ergo\",\n        \"tag\":    \"poor\",\n        \"title\":  \"Monitor too low\",\n        \"detail\": \"Your monitor appears about 3 inches below eye level. Consider a monitor stand to reduce neck strain.\"\n      },\n      {\n        \"dim\":    \"cables\",\n        \"tag\":    \"poor\",\n        \"title\":  \"Cable bundle visible\",\n        \"detail\": \"A loose cable bundle is visible on the right side of the desk. A cable clip or tray would clean this up.\"\n      },\n      {\n        \"dim\":    \"light\",\n        \"tag\":    \"ok\",\n        \"title\":  \"Good natural light\",\n        \"detail\": \"Natural light from the left window looks diffuse and well-positioned.\"\n      }\n    ],\n    \"spokenFeedback\": \"Your lighting is good but your monitor appears about 3 inches too low — consider a stand. Desk clutter score is 6 out of 10 — the cable area on your right looks like the main culprit. Overall score: 5.6 out of 10.\"\n  }\n}\n```\n\n---\n\n## GPT-4 Vision system prompt\n\nThe skill sends this system prompt with every analysis request:\n\n```\nYou are an expert workspace ergonomics and productivity consultant with training in occupational health and environmental psychology. You analyze workspace images objectively and provide actionable, specific feedback.\n\nWhen analyzing, always return valid JSON matching this exact schema:\n{\n  \"scores\": {\n    \"light\":   \u003Cinteger 1-10>,\n    \"ergo\":    \u003Cinteger 1-10>,\n    \"order\":   \u003Cinteger 1-10>,\n    \"cables\":  \u003Cinteger 1-10>,\n    \"focus\":   \u003Cinteger 1-10>,\n    \"overall\": \u003Cfloat 1-10>\n  },\n  \"recs\": [\n    {\n      \"dim\":    \"\u003Clight|ergo|order|cables|focus>\",\n      \"tag\":    \"\u003Cgreat|ok|poor|info>\",\n      \"title\":  \"\u003Cshort title, max 40 chars>\",\n      \"detail\": \"\u003Cspecific actionable description, max 120 chars>\"\n    }\n  ],\n  \"spokenFeedback\": \"\u003C2-3 sentence natural language summary for text-to-speech, max 200 chars>\"\n}\n\nScoring guide:\n- light:  Natural light quality, glare control, color temperature suitability for work\n- ergo:   Monitor at eye level, keyboard\u002Fmouse position, visible chair lumbar support\n- order:  Desk surface clutter (10=perfectly clear, 1=extremely cluttered)\n- cables: Cable management quality (10=all hidden\u002Frouted, 1=tangled mess visible)\n- focus:  Visual complexity \u002F distraction level (10=minimal distractions, 1=visually chaotic)\n\nBe specific about what you see. Reference the actual position of objects. Do not give generic advice — tie feedback to what is visible in the image.\n```\n\n---\n\n## Skill implementation notes (skill.js)\n\nThe skill runner is a standard OpenClaw Node.js skill. Key behaviors:\n\n- **Image capture timeout**: 8 seconds. If the camera does not respond within 8 seconds, returns `{ error: \"Camera capture timed out\" }`.\n- **GPT-4 Vision timeout**: 45 seconds. Uses `gpt-4o` model with `max_tokens: 800`.\n- **Temperature**: 0.2 for consistent structured scoring.\n- **Retry**: One automatic retry on GPT timeout with a 5-second backoff.\n- **Image quality**: JPEG quality 85, max 512px on longest edge. Keeps token cost reasonable (~250-400 image tokens per audit).\n- **Cost estimate**: Each audit uses roughly 500-700 tokens total (~$0.002 at `gpt-4o` pricing). History is not sent — only the current frame.\n\n---\n\n## Camera positioning tips\n\nAmbientIQ works best when:\n\n- The camera has a clear view of the entire desk surface (not just the monitor)\n- The camera is positioned slightly above and to the side of the workspace (like a ring light mount or monitor-top webcam)\n- The room lighting is on — very dark images produce less reliable scores\n- For the ergonomics audit specifically, the camera should be able to see the monitor height relative to the desk\n\nIf you only have a front-facing monitor camera, the lighting and cable audits will be more accurate than the ergonomics audit (which benefits from a side-profile view).\n\n---\n\n## Permissions required\n\n| Permission | Reason |\n|------------|---------|\n| Camera access | Capture workspace image for analysis |\n| Internet (HTTPS) | Send image to OpenAI GPT-4 Vision API |\n| Read `openclaw:cmd` storage key | Receive command from R1 |\n| Write `openclaw:resp` storage key | Return analysis results to R1 |\n\nNo images are stored locally after analysis. The captured frame is held in memory, encoded to base64, sent to OpenAI, and then discarded.\n\n---\n\n## Troubleshooting\n\n**\"Camera capture timed out\"**\n- Verify your camera index: `python3 -c \"import cv2; print(cv2.VideoCapture(0).read()[0])\"`\n- Try `AMBIQ_CAMERA_INDEX=1` if 0 is the wrong device\n- Alternatively, set `AMBIQ_SCREENSHOT_MODE=1` to use screen capture instead\n\n**\"No analysis returned\" \u002F timeout after 60 seconds**\n- Confirm OpenClaw is running: `openclaw status`\n- Confirm skill is installed: `openclaw skills list`\n- Test your OpenAI key: `curl https:\u002F\u002Fapi.openai.com\u002Fv1\u002Fmodels -H \"Authorization: Bearer $OPENAI_API_KEY\"`\n- Check that your key has access to `gpt-4o` (not just `gpt-3.5-turbo`)\n\n**Scores seem inaccurate**\n- Ensure the camera can clearly see the full workspace (not just a partial view)\n- Good lighting in the room helps — the model can't analyze what it can't see\n- The ergonomics score is most accurate with a side-angle view of the workstation\n\n**On Windows, screencapture doesn't work**\n- Set `AMBIQ_CAPTURE_CMD` to a PowerShell snippet that saves a JPEG:\n  ```\n  AMBIQ_CAPTURE_CMD=powershell -Command \"Add-Type -AssemblyName System.Drawing; $bmp = [System.Drawing.Bitmap]::new([System.Windows.Forms.Screen]::PrimaryScreen.Bounds.Width, [System.Windows.Forms.Screen]::PrimaryScreen.Bounds.Height); $g = [System.Drawing.Graphics]::FromImage($bmp); $g.CopyFromScreen(0,0,0,0,$bmp.Size); $ms = New-Object System.IO.MemoryStream; $bmp.Save($ms, [System.Drawing.Imaging.ImageFormat]::Jpeg); [Console]::OpenStandardOutput().Write($ms.ToArray(), 0, $ms.Length)\"\n  ```\n  Or use a simpler third-party screenshot tool like `nircmd`:\n  ```\n  AMBIQ_CAPTURE_CMD=nircmd.exe savescreenshot stdout jpg\n  ```\n\n**GPT response doesn't parse as JSON**\n- The model occasionally wraps JSON in markdown code fences. The skill strips these automatically.\n- If the issue persists, check `openclaw logs ambient-iq` for the raw GPT response.\n","# AmbientIQ — Workspace Environment Auditor\n\nYou are `ambient-iq`, a skill that captures a photo of the user's workspace via their local machine camera, sends it to GPT-4 Vision for structured environmental analysis, and returns dimension scores and spoken recommendations back to the R1 Creation.\n\n## Commands you handle\n\n| Command sent by R1 | What you do |\n|--------------------|-------------|\n| `analyze`          | Capture image → GPT-4 Vision analysis → return structured scores and spoken feedback |\n\n## Local Setup\n\n### 1. Install Node.js and Python dependencies\n\n**Node.js 18+** is required for the OpenClaw skill runner.\n\n```bash\n# Inside the skill directory\ncd ~\u002F.openclaw\u002Fskills\u002Fambient-iq\nnpm install\n```\n\n**Python** is used for camera capture (OpenCV):\n\n```bash\npip install opencv-python pillow\n```\n\n**Windows alternative** (no Python): set `AMBIQ_SCREENSHOT_MODE=1` in `.env` to capture the primary monitor screenshot instead of a camera frame. This works well if your workspace monitor is visible from the R1's position.\n\n### 2. Install the skill\n\n```bash\ncp -r ambient-iq ~\u002F.openclaw\u002Fskills\u002Fambient-iq\ncd ~\u002F.openclaw\u002Fskills\u002Fambient-iq\nnpm install\n```\n\n### 3. Configure environment\n\nCopy `.env.example` to `.env` inside the skill directory:\n\n```env\n# Required: OpenAI API key with GPT-4 Vision access\nOPENAI_API_KEY=sk-...\n\n# Optional: Camera device index (0 = default camera, 1 = second camera, etc.)\n# Default: 0\nAMBIQ_CAMERA_INDEX=0\n\n# Optional: Use a custom shell command to capture a JPEG and write to stdout.\n# If set, overrides the Python OpenCV capture path entirely.\n# Example: capture from a Logitech StreamCam on macOS via ffmpeg:\n#   AMBIQ_CAPTURE_CMD=ffmpeg -f avfoundation -i \"0\" -frames:v 1 -f image2pipe -vcodec mjpeg -\n# Example: take a macOS screenshot:\n#   AMBIQ_CAPTURE_CMD=screencapture -x -t jpg -\nAMBIQ_CAPTURE_CMD=\n\n# Optional: Screenshot mode — captures the primary monitor instead of camera.\n# Useful when running on a laptop where the screen IS the workspace view,\n# or when testing without a camera attached.\n# Set to 1 to enable.\nAMBIQ_SCREENSHOT_MODE=0\n```\n\n### 4. Verify camera access\n\nTest the capture pipeline before running the skill:\n\n```bash\n# Python test — should open a preview window for 2 seconds then save test.jpg\npython3 -c \"\nimport cv2, sys\ncam = cv2.VideoCapture(int('${AMBIQ_CAMERA_INDEX:-0}'))\nok, frame = cam.read()\ncam.release()\nif not ok: print('FAIL: could not capture'); sys.exit(1)\ncv2.imwrite('test.jpg', frame)\nprint('OK: saved test.jpg')\n\"\n\n# Screenshot mode test (Windows\u002FmacOS):\n# On Windows (PowerShell):\n#   Add-Type -AssemblyName System.Windows.Forms\n#   [System.Windows.Forms.Screen]::PrimaryScreen | Out-Null\n# On macOS:\n#   screencapture -x \u002Ftmp\u002Fambiq-test.jpg && open \u002Ftmp\u002Fambiq-test.jpg\n```\n\n---\n\n## What the skill does step by step\n\n### `analyze` command\n\nReceives params:\n```json\n{\n  \"target\":    \"full | lighting | ergonomics | cables | clutter\",\n  \"prompt\":    \"Detailed analysis prompt from the R1\",\n  \"isMorning\": false,\n  \"hasBefore\": false\n}\n```\n\n**Steps:**\n\n1. **Capture image** — uses one of three paths in priority order:\n   - `AMBIQ_CAPTURE_CMD` if set: runs the command, reads JPEG from stdout\n   - `AMBIQ_SCREENSHOT_MODE=1`: takes a fullscreen screenshot (using `screencapture` on macOS, `PrintScreen` via PowerShell on Windows)\n   - Default: Python + OpenCV frame grab from camera index `AMBIQ_CAMERA_INDEX`\n\n2. **Resize image** — scales to max 512×512 px to stay within GPT-4 Vision's efficient token range while preserving aspect ratio.\n\n3. **Send to GPT-4 Vision** — posts the image as a base64 `image_url` along with the prompt from the R1. Uses `gpt-4o` (vision-capable) with a structured JSON response schema.\n\n4. **Parse response** — extracts:\n   - Dimension scores (`light`, `ergo`, `order`, `cables`, `focus`, `overall`) as integers 1–10\n   - Recommendations array: `[{dim, tag, title, detail}]` where `tag` is `\"great\" | \"ok\" | \"poor\" | \"info\"`\n   - `spokenFeedback` — a natural-language summary suitable for TTS (2–3 sentences max)\n\n5. **Write response** to OpenClaw shared storage key `openclaw:resp`.\n\n**Response shape:**\n```json\n{\n  \"status\": \"done\",\n  \"ts\": 1700000000000,\n  \"data\": {\n    \"scores\": {\n      \"light\":   7,\n      \"ergo\":    5,\n      \"order\":   6,\n      \"cables\":  4,\n      \"focus\":   6,\n      \"overall\": 5.6\n    },\n    \"recs\": [\n      {\n        \"dim\":    \"ergo\",\n        \"tag\":    \"poor\",\n        \"title\":  \"Monitor too low\",\n        \"detail\": \"Your monitor appears about 3 inches below eye level. Consider a monitor stand to reduce neck strain.\"\n      },\n      {\n        \"dim\":    \"cables\",\n        \"tag\":    \"poor\",\n        \"title\":  \"Cable bundle visible\",\n        \"detail\": \"A loose cable bundle is visible on the right side of the desk. A cable clip or tray would clean this up.\"\n      },\n      {\n        \"dim\":    \"light\",\n        \"tag\":    \"ok\",\n        \"title\":  \"Good natural light\",\n        \"detail\": \"Natural light from the left window looks diffuse and well-positioned.\"\n      }\n    ],\n    \"spokenFeedback\": \"Your lighting is good but your monitor appears about 3 inches too low — consider a stand. Desk clutter score is 6 out of 10 — the cable area on your right looks like the main culprit. Overall score: 5.6 out of 10.\"\n  }\n}\n```\n\n---\n\n## GPT-4 Vision system prompt\n\nThe skill sends this system prompt with every analysis request:\n\n```\nYou are an expert workspace ergonomics and productivity consultant with training in occupational health and environmental psychology. You analyze workspace images objectively and provide actionable, specific feedback.\n\nWhen analyzing, always return valid JSON matching this exact schema:\n{\n  \"scores\": {\n    \"light\":   \u003Cinteger 1-10>,\n    \"ergo\":    \u003Cinteger 1-10>,\n    \"order\":   \u003Cinteger 1-10>,\n    \"cables\":  \u003Cinteger 1-10>,\n    \"focus\":   \u003Cinteger 1-10>,\n    \"overall\": \u003Cfloat 1-10>\n  },\n  \"recs\": [\n    {\n      \"dim\":    \"\u003Clight|ergo|order|cables|focus>\",\n      \"tag\":    \"\u003Cgreat|ok|poor|info>\",\n      \"title\":  \"\u003Cshort title, max 40 chars>\",\n      \"detail\": \"\u003Cspecific actionable description, max 120 chars>\"\n    }\n  ],\n  \"spokenFeedback\": \"\u003C2-3 sentence natural language summary for text-to-speech, max 200 chars>\"\n}\n\nScoring guide:\n- light:  Natural light quality, glare control, color temperature suitability for work\n- ergo:   Monitor at eye level, keyboard\u002Fmouse position, visible chair lumbar support\n- order:  Desk surface clutter (10=perfectly clear, 1=extremely cluttered)\n- cables: Cable management quality (10=all hidden\u002Frouted, 1=tangled mess visible)\n- focus:  Visual complexity \u002F distraction level (10=minimal distractions, 1=visually chaotic)\n\nBe specific about what you see. Reference the actual position of objects. Do not give generic advice — tie feedback to what is visible in the image.\n```\n\n---\n\n## Skill implementation notes (skill.js)\n\nThe skill runner is a standard OpenClaw Node.js skill. Key behaviors:\n\n- **Image capture timeout**: 8 seconds. If the camera does not respond within 8 seconds, returns `{ error: \"Camera capture timed out\" }`.\n- **GPT-4 Vision timeout**: 45 seconds. Uses `gpt-4o` model with `max_tokens: 800`.\n- **Temperature**: 0.2 for consistent structured scoring.\n- **Retry**: One automatic retry on GPT timeout with a 5-second backoff.\n- **Image quality**: JPEG quality 85, max 512px on longest edge. Keeps token cost reasonable (~250-400 image tokens per audit).\n- **Cost estimate**: Each audit uses roughly 500-700 tokens total (~$0.002 at `gpt-4o` pricing). History is not sent — only the current frame.\n\n---\n\n## Camera positioning tips\n\nAmbientIQ works best when:\n\n- The camera has a clear view of the entire desk surface (not just the monitor)\n- The camera is positioned slightly above and to the side of the workspace (like a ring light mount or monitor-top webcam)\n- The room lighting is on — very dark images produce less reliable scores\n- For the ergonomics audit specifically, the camera should be able to see the monitor height relative to the desk\n\nIf you only have a front-facing monitor camera, the lighting and cable audits will be more accurate than the ergonomics audit (which benefits from a side-profile view).\n\n---\n\n## Permissions required\n\n| Permission | Reason |\n|------------|---------|\n| Camera access | Capture workspace image for analysis |\n| Internet (HTTPS) | Send image to OpenAI GPT-4 Vision API |\n| Read `openclaw:cmd` storage key | Receive command from R1 |\n| Write `openclaw:resp` storage key | Return analysis results to R1 |\n\nNo images are stored locally after analysis. The captured frame is held in memory, encoded to base64, sent to OpenAI, and then discarded.\n\n---\n\n## Troubleshooting\n\n**\"Camera capture timed out\"**\n- Verify your camera index: `python3 -c \"import cv2; print(cv2.VideoCapture(0).read()[0])\"`\n- Try `AMBIQ_CAMERA_INDEX=1` if 0 is the wrong device\n- Alternatively, set `AMBIQ_SCREENSHOT_MODE=1` to use screen capture instead\n\n**\"No analysis returned\" \u002F timeout after 60 seconds**\n- Confirm OpenClaw is running: `openclaw status`\n- Confirm skill is installed: `openclaw skills list`\n- Test your OpenAI key: `curl https:\u002F\u002Fapi.openai.com\u002Fv1\u002Fmodels -H \"Authorization: Bearer $OPENAI_API_KEY\"`\n- Check that your key has access to `gpt-4o` (not just `gpt-3.5-turbo`)\n\n**Scores seem inaccurate**\n- Ensure the camera can clearly see the full workspace (not just a partial view)\n- Good lighting in the room helps — the model can't analyze what it can't see\n- The ergonomics score is most accurate with a side-angle view of the workstation\n\n**On Windows, screencapture doesn't work**\n- Set `AMBIQ_CAPTURE_CMD` to a PowerShell snippet that saves a JPEG:\n  ```\n  AMBIQ_CAPTURE_CMD=powershell -Command \"Add-Type -AssemblyName System.Drawing; $bmp = [System.Drawing.Bitmap]::new([System.Windows.Forms.Screen]::PrimaryScreen.Bounds.Width, [System.Windows.Forms.Screen]::PrimaryScreen.Bounds.Height); $g = [System.Drawing.Graphics]::FromImage($bmp); $g.CopyFromScreen(0,0,0,0,$bmp.Size); $ms = New-Object System.IO.MemoryStream; $bmp.Save($ms, [System.Drawing.Imaging.ImageFormat]::Jpeg); [Console]::OpenStandardOutput().Write($ms.ToArray(), 0, $ms.Length)\"\n  ```\n  Or use a simpler third-party screenshot tool like `nircmd`:\n  ```\n  AMBIQ_CAPTURE_CMD=nircmd.exe savescreenshot stdout jpg\n  ```\n\n**GPT response doesn't parse as JSON**\n- The model occasionally wraps JSON in markdown code fences. The skill strips these automatically.\n- If the issue persists, check `openclaw logs ambient-iq` for the raw GPT response.\n",{"name":5,"author":24,"version":25,"metadata":26,"description":7},"rabbit-r1-skillz","1.0.0",{"openclaw":27},{"requires":28,"primaryEnv":30},{"env":29,"bins":31,"optional_env":34},[30],"OPENAI_API_KEY",[32,33],"node","python3",[35,36,37],"AMBIQ_CAMERA_INDEX","AMBIQ_CAPTURE_CMD","AMBIQ_SCREENSHOT_MODE","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":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add ajohnsonnow\u002Fr1-warren --skill ambient-iq",{"tool":50,"command":51},"bunx","bunx skills add ajohnsonnow\u002Fr1-warren --skill ambient-iq",{"tool":53,"command":54},"pnpm","pnpm dlx skills add ajohnsonnow\u002Fr1-warren --skill ambient-iq","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fajohnsonnow\u002Fr1-warren\u002Fblob\u002Fmain\u002Fambient-iq\u002FSKILL.md",true,[58,64,68],{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"card.jpg","ASSET","资产文件",26034,"https:\u002F\u002Fgithub.com\u002Fajohnsonnow\u002Fr1-warren\u002Fblob\u002Fmain\u002Fambient-iq\u002Fcard.jpg",{"path":65,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":66,"sourceHtmlUrl":67},"icon.png",11993,"https:\u002F\u002Fgithub.com\u002Fajohnsonnow\u002Fr1-warren\u002Fblob\u002Fmain\u002Fambient-iq\u002Ficon.png",{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"index.html","REFERENCE","参考文档",59647,"https:\u002F\u002Fgithub.com\u002Fajohnsonnow\u002Fr1-warren\u002Fblob\u002Fmain\u002Fambient-iq\u002Findex.html",[75,82,89,96,103,110],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"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":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"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":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"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":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"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":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"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":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"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",[],[]]