Vision sandbox

From bighardperson/computer-science-skills-collection · View interactive version

Vision sandbox is an AI agent skill from the GitHub repository bighardperson/computer-science-skills-collection. Agentic Vision via Gemini's native Code Execution sandbox. Use for spatial grounding, visual math, and UI auditing.

How to use this skill

Skill file

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

clawhub install vision-sandbox

Usage

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.

🧮 Visual Math

Ask the model to count or calculate based on the image.

🖥️ UI Audit

Check layout and readability.

🖐️ Counting & Logic

Solve visual counting tasks with code verification.

Integration with OpenCode

This skill is designed to provide Visual Grounding for automated coding agents like OpenCode.

Configuration

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.