gemini-computer-use by am-will/codex-skills
npx skills add https://github.com/am-will/codex-skills --skill gemini-computer-use加载环境文件并设置您的 API 密钥:
cp env.example env.sh
$EDITOR env.sh
source env.sh
创建虚拟环境并安装依赖项:
python -m venv .venv
source .venv/bin/activate
pip install google-genai playwright
playwright install chromium
使用提示词运行代理脚本:
python scripts/computer_use_agent.py \
--prompt "查找 example.com 上最新的博客文章标题" \
--start-url "https://example.com" \
--turn-limit 6
COMPUTER_USE_BROWSER_CHANNEL 选择特定渠道(Chrome/Edge)。COMPUTER_USE_BROWSER_EXECUTABLE 指定自定义的基于 Chromium 的可执行文件(例如,Brave)。如果两者都设置了, 优先。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
COMPUTER_USE_BROWSER_EXECUTABLEfunction_call 操作。safety_decision 是 require_confirmation,则在执行前提示用户。function_response 对象。--exclude 来阻止您不希望模型执行的风险操作。scripts/computer_use_agent.pyreferences/google-computer-use.mdenv.example每周安装量
1.2K
仓库
GitHub 星标
504
首次出现
2026年1月23日
安全审计
安装于
codex1.2K
gemini-cli1.2K
opencode1.2K
github-copilot1.2K
cursor1.2K
kimi-cli1.2K
Source the env file and set your API key:
cp env.example env.sh
$EDITOR env.sh
source env.sh
Create a virtual environment and install dependencies:
python -m venv .venv
source .venv/bin/activate
pip install google-genai playwright
playwright install chromium
Run the agent script with a prompt:
python scripts/computer_use_agent.py \
--prompt "Find the latest blog post title on example.com" \
--start-url "https://example.com" \
--turn-limit 6
COMPUTER_USE_BROWSER_CHANNEL.COMPUTER_USE_BROWSER_EXECUTABLE.If both are set, COMPUTER_USE_BROWSER_EXECUTABLE takes precedence.
function_call actions in the response.safety_decision is require_confirmation, prompt the user before executing.function_response objects containing the latest URL + screenshot.--exclude to block risky actions you do not want the model to take.scripts/computer_use_agent.pyreferences/google-computer-use.mdenv.exampleWeekly Installs
1.2K
Repository
GitHub Stars
504
First Seen
Jan 23, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykFail
Installed on
codex1.2K
gemini-cli1.2K
opencode1.2K
github-copilot1.2K
cursor1.2K
kimi-cli1.2K
99,500 周安装