Jo Alex

Vision Sandbox

AI 智能体v1.1.0
作者:Jo Alex更新于 2026-05-11共 2 个版本 · 最新版本发布于 2026-02-01vision-sandbox@clawhub_johanesalxd/vision-sandbox
上下文管理工具调用

据 AlphaMoat 统计,截至 2026-10,Vision Sandbox 累计下载 14,703 次、获 1 个星标,按累计下载量在本次参与排名的 10,914 个 AI 技能中排名第 1,905 位,在「AI 智能体」分类(1,632 个)中排名第 264 位。

列表默认按累计下载量排序,也可按星标排序;详情页排名按累计下载量计算。

累计下载
1.5万
星标
1
全站下载量排名
#1,905
全站前 18% · 「AI 智能体」前 17%
平台累计下载星标评论
ClawHub ↗7,3371-
SkillHub ↗1.5万1—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

让模型在沙箱里写并运行 Python 来验证视觉结论,适合定位界面元素坐标、做画面里的计数与计算、检查布局是否重叠。使用前需要配置 GEMINI_API_KEY,运行命令为 uv run vision-sandbox。 图像与程式码会在 Gemini 托管沙箱处理;请对照原图检查结果,不视为保证正确。

资料发布于 2026-10-29

可以用来做什么

  • 在截图里定位按钮并算出的中心坐标
  • 检查页头文字与图标是否重叠

什么时候用

  • 需要坐标或数值型视觉结论而不是文字描述时
  • 做界面走查要量化判断时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

在这张截图里找到提交按钮并给出中心坐标
检查这个页面的标题和图标有没有重叠

月度数据趋势

累计下载1.5万
5,8161.1万1.5万2026-03 · 累计下载 6,4742026-05 · 累计下载 7,4782026-06 · 累计下载 7,7192026-07 · 累计下载 8,0212026-08 · 累计下载 8,1882026-09 · 累计下载 9,1582026-10 · 累计下载 1.5万26-0326-0926-10
星标1
0122026-03 · 星标 12026-05 · 星标 12026-06 · 星标 12026-07 · 星标 12026-08 · 星标 12026-09 · 星标 12026-10 · 星标 126-0326-0926-10

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-101.5万—1
2026-099,158—1
2026-088,188+2.1%1
2026-078,021+3.9%1
2026-067,719+3.2%1
2026-057,478—1
2026-036,474—1

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

2.0 KB · ClawHub v1.1.0
---
name: Vision Sandbox
slug: vision-sandbox
version: 1.1.0
description: Agentic Vision via Gemini's native Code Execution sandbox. Use for spatial grounding, visual math, and UI auditing.
metadata:
  openclaw:
    emoji: "🔭"
    primaryEnv: "GEMINI_API_KEY"
    requires:
展开全部(共 57 行)
      bins: ["uv"]
      env: ["GEMINI_API_KEY"]
---

# Vision Sandbox 🔭

Leverage Gemini's native code execution to analyze images with high precision. The model writes and runs Python code in a Google-hosted sandbox to verify visual data, perfect for UI auditing, spatial grounding, and visual reasoning.

## Installation

```bash
clawhub install vision-sandbox
```

## Usage

```bash
uv run vision-sandbox --image "path/to/image.png" --prompt "Identify all buttons and provide [x, y] coordinates."
```

## Pattern Library

### 📍 Spatial Grounding
Ask the model to find specific items and return coordinates.
* **Prompt:** "Locate the 'Submit' button in this screenshot. Use code execution to verify its center point and return the [x, y] coordinates in a [0, 1000] scale."

### 🧮 Visual Math
Ask the model to count or calculate based on the image.
* **Prompt:** "Count the number of items in the list. Use Python to sum their values if prices are visible."

### 🖥️ UI Audit
Check layout and readability.
* **Prompt:** "Check if the header text overlaps with any icons. Use the sandbox to calculate the bounding box intersections."

### 🖐️ Counting & Logic
Solve visual counting tasks with code verification.
* **Prompt:** "Count the number of fingers on this hand. Use code execution to identify the bounding box for each finger and return the total count."

## Integration with OpenCode
This skill is designed to provide **Visual Grounding** for automated coding agents like OpenCode.
- **Step 1:** Use `vision-sandbox` to extract UI metadata (coordinates, sizes, colors).
- **Step 2:** Pass the JSON output to OpenCode to generate or fix CSS/HTML.

## Configuration
- **GEMINI_API_KEY**: Required environment variable.
- **Model**: Defaults to `gemini-3-flash-preview`.

「AI 智能体」分类下的热门技能

数据月份:2026-10 · 下载/星标数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。