neo-google-ai-workaround
由 martinforsulu 提供
Coding Agents & IDEs简介
Automates Google AI Pro/Ultra access management through proxy and session strategies for OpenClaw agents.
描述
该技能的功能
Manages Google AI Pro/Ultra access for OpenClaw agents by detecting restrictions and applying proxy or session rotation strategies. Handles rate limiting, IP blocks, auth failures, and geo-restrictions automatically. Provides a CLI for manual inspection and configuration.
Centralizes restriction detection and mitigation in one place instead of requiring manual intervention each time Google AI access fails in an automated workflow.
何时使用
- Rotating sessions when Google AI returns 429 rate limit errors
- Switching proxies after an IP-based block is detected
- Refreshing expired authentication tokens mid-workflow
- Testing proxy pool health before running a long agent job
- Diagnosing why a specific OpenClaw workflow lost Google AI access
示例工作流
User asks: Google AI is returning 403 errors in my OpenClaw agent, how do I fix it?
- 1
Run
node scripts/main.js detectto analyze HTTP response patterns and identify the restriction type - 2
Check output: HTTP 403 maps to IP-based Block with critical severity and recommended action
switch_proxy - 3
Run
node scripts/main.js proxy-healthto find a healthy proxy in the pool - 4
Run
node scripts/main.js proxy-add --host <new-proxy> --port 8080if no healthy proxy is available - 5
Run
node scripts/main.js session-rotateto create a fresh session through the new proxy
Agent resumes Google AI access using a rotated session routed through a healthy proxy, with the restriction event logged for diagnostics.
前置要求
- Proxy server addresses and ports if proxy rotation is needed
安装
clawhub install martinforsulu/neo-google-ai-workaround运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。