by DicSeek
Turn Gemini Web into a local Coding Agent or a 0-token-wait subagent for Claude Code, Cursor & Antigravity — Zero plugins, 100% official MCP, single Rust binary, any language, sandboxed patch & rollback | 把 Gemini 网页端变成你的本地 Coding Agent 与省额子代理
# Add to your Claude Code skills
git clone https://github.com/DicSeek/gemlatchgemlatch is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by DicSeek. Turn Gemini Web into a local Coding Agent or a 0-token-wait subagent for Claude Code, Cursor & Antigravity — Zero plugins, 100% official MCP, single Rust binary, any language, sandboxed patch & rollback | 把 Gemini 网页端变成你的本地 Coding Agent 与省额子代理. It has 54 GitHub stars.
gemlatch's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/DicSeek/gemlatch" and add it to your Claude Code skills directory (see the Installation section above).
gemlatch is primarily written in Rust. It is open-source under DicSeek on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh gemlatch against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
简体中文 | English
Let Claude Code, Cursor, or Antigravity delegate heavy repo work to Gemini Web while spending 0 host tokens waiting — or use Gemini Web directly as your local Coding Agent via official MCP Developer Mode.
GemLatch relies on Google's official Custom MCP Apps / Gemini Apps Developer Mode (gemini.google.com/devmode). Per Google's requirements, all four are mandatory or the Developer Mode entry stays hidden:
English / United States).Google also requires a public HTTPS Streamable HTTP endpoint (MCP 2025-03-26–2025-11-25) — direct localhost URLs and legacy SSE are not accepted, so pair GemLatch with an HTTPS tunnel (ngrok recommended, or cloudflared). Optional delegate mode additionally requires Chrome launched with --remote-debugging-port=9222 and a separate --user-data-dir (required since Chrome 136).
Download the archive for your platform from GitHub Releases, extract it, and run:
# Linux / macOS — auto-creates ./secret.key (0600) on first run; Windows users can double-click start.bat
./gemlatch --root /path/to/your/project --allowlist ./allowlist.toml --key-file ./secret.key
For Windows PowerShell scripts (start.ps1 / stop.ps1 / rotate-key.ps1), building from source (Rust 1.96+), and tunnel setup, see docs/setup.md.
gemlatch (port 3006) and run ngrok http 127.0.0.1:3006 (or cloudflared tunnel --url http://127.0.0.1:3006), then combine your domain with the auto-generated 43-char key in ./secret.key (or .runtime/secret.key when using Windows start.bat / scripts/start.ps1): https://<your-domain>/mcp/<key>.</> Developer Mode in the sidebar under Preferences.https://.../mcp/<key> URL, select Streamable HTTP, and save — confirm 8 tools appear by default (9 with --enable-shell-exec, 10 with --enable-delegate, 11 with both).@<Your App Name> once (not needed on follow-up turns in the same chat), and ask Gemini to inspect your repo with workspace_snapshot or code_outline. Mutating tools trigger Gemini's native Allow / Deny card.--enable-delegate, launch Chrome with --remote-debugging-port=9222 --user-data-dir=<dir> (signed in to Gemini), and run gemlatch delegate --task-file task.md --mention <AppName> --new-chat --format json.Troubleshooting: For Mode 1 (Local Coding Agent), run
gemlatch doctor --skip-cdpto check the local gateway (on Windows, run.\scripts\verify-public.ps1 -FullSmoketo verify the public HTTPS tunnel); for Mode 2 (--enable-delegate), rungemlatch doctorfor an end-to-end check.
Zero browser automation — pure official Streamable HTTP MCP. Exposes 8 sandboxed tools locked to --root (workspace_snapshot, code_outline, code_search, batch_read, git_diff, safe_patch with create: true, scoped_exec, rollback_last), with atomic snapshots and zero-restart gemlatch workspace set <dir> switching. Best when you want to chat directly with Gemini Web against a local repo. See docs/reference.md.
--enable-delegate)Adds get_pending_task and report_task_done plus a loopback-only Chrome CDP orchestrator so Claude Code, Cursor, or Antigravity can dispatch multi-file recon/edits in one command while spending 0 host tokens waiting and receiving a <= 3 KiB JSON report. Run gemlatch doctor to verify gateway, delegate mode, Chrome CDP, and Gemini Web readiness in one command. All tool calls still use official MCP; CDP never touches credentials and immediately exits with needs_human (code 4) on login, CAPTCHA, or Allow/Deny cards. See docs/delegate-guide.md.
| Document | Description |
|---|---|
| docs/setup.md | Prebuilt archives, source builds, Windows scripts, ngrok/cloudflared, Gemini Web connection, testing, and troubleshooting |
| docs/reference.md | Dual-mode architecture, all 11 built-in tools, allowlist.toml config, tool specs (batch_read/shell_exec/git_diff/TS outline), security, and compliance |
| docs/delegate-guide.md | Subagent delegate workflow, Chrome 136 CDP setup, --ui-mode/--web-model gates, --acceptance, --cross-review, batch queues, exit codes, and selectors.toml |
| docs/internal/cdp-findings.md | Internal developer reference: Chrome CDP contract and DOM selector baseline |
| examples/README.md | Multi-language allowlist variants, host-agent rules, and dispatch script templates |
| CHANGELOG.md | Release history and version-by-version changes |
MIT — see LICENSE.