$git clone https://github.com/WJZ-P/gemini-skill</div>
| 1 | ## 通过 CDP 操控 Gemini 网页版,实现 AI 生图、对话、图片提取等自动化操作。 |
| 2 | <!-- PROJECT SHIELDS --> |
| 3 | |
| 4 | <div align="center"> |
| 5 | |
| 6 | <a href="https://github.com/WJZ-P/gemini-skill/graphs/contributors"> |
| 7 | <img src="https://img.shields.io/github/contributors/WJZ-P/gemini-skill.svg?style=flat-square" alt="Contributors" style="height: 30px"> |
| 8 | </a> |
| 9 | |
| 10 | <a href="https://github.com/WJZ-P/gemini-skill/network/members"> |
| 11 | <img src="https://img.shields.io/github/forks/WJZ-P/gemini-skill.svg?style=flat-square" alt="Forks" style="height: 30px"> |
| 12 | </a> |
| 13 | |
| 14 | <a href="https://github.com/WJZ-P/gemini-skill/stargazers"> |
| 15 | <img src="https://img.shields.io/github/stars/WJZ-P/gemini-skill.svg?style=flat-square" alt="Stargazers" style="height: 30px"> |
| 16 | </a> |
| 17 | |
| 18 | <a href="https://github.com/WJZ-P/gemini-skill/issues"> |
| 19 | <img src="https://img.shields.io/github/issues/WJZ-P/gemini-skill.svg?style=flat-square" alt="Issues" style="height: 30px"> |
| 20 | </a> |
| 21 | |
| 22 | <a href="https://github.com/WJZ-P/gemini-skill/blob/main/LICENSE"> |
| 23 | <img src="https://img.shields.io/github/license/WJZ-P/gemini-skill.svg?style=flat-square" alt="License" style="height: 30px"> |
| 24 | </a> |
| 25 | |
| 26 | </div> |
| 27 | |
| 28 | <br> |
| 29 | |
| 30 | <!-- PROJECT LOGO --> |
| 31 | |
| 32 | <p align="center"> |
| 33 | <a href="https://github.com/WJZ-P/gemini-skill/"> |
| 34 | <img src="markdown/gemini-color.svg" alt="Logo" width="96" height="96"> |
| 35 | </a> |
| 36 | </p> |
| 37 | |
| 38 | <h1 align="center">Gemini Skill</h1> |
| 39 | |
| 40 | <p align="center"> |
| 41 | <a href="#-使用">快速开始</a> |
| 42 | · |
| 43 | <a href="https://github.com/WJZ-P/gemini-skill/issues">报告 Bug</a> |
| 44 | · |
| 45 | <a href="https://github.com/WJZ-P/gemini-skill/issues">提出新特性</a> |
| 46 | </p> |
| 47 | |
| 48 | <p align="center"> |
| 49 | <a href="./README.en.md">English</a> | 中文 |
| 50 | </p> |
| 51 | |
| 52 | <br> |
| 53 | |
| 54 | |
| 55 | <p align="center"> |
| 56 | <a href="https://www.bilibili.com/video/BV1e54y1z7XM"> |
| 57 | <img src="markdown/home.png" alt="纯蓝"> |
| 58 | </a> |
| 59 | </p> |
| 60 | <h2 align="center"> |
| 61 | |
| 62 | 「剥开了尖刺 却正如你曾经说 |
| 63 | |
| 64 | 赖以生存的温柔只是白纸 |
| 65 | |
| 66 | 盛着破碎的梦和我们的故事」 |
| 67 | |
| 68 | </h2> |
| 69 | |
| 70 | ## 目录 |
| 71 | |
| 72 | - [功能特性](#-功能特性) |
| 73 | - [架构](#️-架构) |
| 74 | - [安装](#-安装) |
| 75 | - [配置](#️-配置) |
| 76 | - [Atlas Cloud Provider](#-atlas-cloud-provider) |
| 77 | - [Bloome](#-懒得配环境让-gemini-skill-跑在云上) |
| 78 | - [使用](#-使用) |
| 79 | - [MCP 工具列表](#-mcp-工具列表) |
| 80 | - [Daemon 生命周期](#-daemon-生命周期) |
| 81 | - [项目结构](#-项目结构) |
| 82 | - [注意事项](#️-注意事项) |
| 83 | - [To Do List](#-to-do-list) |
| 84 | - [License](#-license) |
| 85 | |
| 86 | <br> |
| 87 | |
| 88 | <!-- EXAMPLE --> |
| 89 | |
| 90 | <p align="center"> |
| 91 | <img src="./markdown/example.png" alt="Gemini 生图示例" width="100%"> |
| 92 | </p> |
| 93 | |
| 94 | <p align="center"><em>▲ 通过 AI 对话自动生成表情包</em></p> |
| 95 | |
| 96 | <br> |
| 97 | |
| 98 | ## 🆕 最新更新 |
| 99 | |
| 100 | **v1.1.1**(2026-05)— 适配新版模型菜单 UI: |
| 101 | |
| 102 | - ✅ 模型枚举更新:`pro` / `flash` / `flash-lite`(替换旧的 `pro` / `quick` / `think`) |
| 103 | - ✅ 当前模型读取改为 `.picker-primary-text` innerText |
| 104 | - ✅ 模型切换改为遍历菜单项 + label 文本匹配(i18n 安全) |
| 105 | - 🆕 新增思考深度切换:`getThinkingDepth()` / `setThinkingDepth('standard'|'extended')` |
| 106 | - 🆕 新增 MCP 工具 `gemini_set_thinking_depth` |
| 107 | |
| 108 | **v1.1.0**(2026-05)— 已适配 Gemini **2026 年 5 月最新版 UI**: |
| 109 | |
| 110 | - ✅ 加号面板按钮(`gem-icon-button[arialabel="上传和工具"]`) |
| 111 | - ✅ 发送按钮(`gem-icon-button.send-button`) |
| 112 | - ✅ 下载完整尺寸按钮(`download-generated-image-button` 自定义元素) |
| 113 | - ✅ 图片上传完成检测(`.gem-attachment-content.loading`) |
| 114 | - ✅ 状态判断兼容新 UI 的 `gem-icon-button` 包装层 |
| 115 | - ♻️ 全部选择器保留旧 UI 兜底,新旧版本均可工作 |
| 116 | |
| 117 | <br> |
| 118 | |
| 119 | ## ☁️ Atlas Cloud Provider |
| 120 | |
| 121 | <p align="center"> |
| 122 | <img src="./markdown/atlas-cloud-provider.png" alt="Atlas Cloud Logo" width="100%"> |
| 123 | </p> |
| 124 | |
| 125 | > Atlas Cloud 是一个 full-modal AI inference platform,为开发者提供统一 AI API,可一站式访问视频生成、图像生成和 LLM API。接入一次,即可统一访问跨模态的 300+ 精选模型。 |
| 126 | > |
| 127 | > 官方链接:[https://www.atlascloud.ai/?utm_source=github&utm_medium=link&utm_campaign=gemini-skill](https://www.atlascloud.ai/?utm_source=github&utm_medium=link&utm_campaign=gemini-skill) |
| 128 | > |
| 129 | > Atlas Cloud 现提供新的 coding plan 优惠入口,便于更低成本接入 API: |
| 130 | > `https://www.atlascloud.ai/console/coding-plan` |
| 131 | |
| 132 | 本仓库现在内置了一个**最小侵入**的 Atlas Cloud provider 方案: |
| 133 | |
| 134 | - 不改动原有 Gemini 浏览器自动化主链路 |
| 135 | - 新增 OpenAI 兼容的 Atlas Cloud API provider |
| 136 | - 支持模型枚举、普通对话、Streaming 对话验证 |
| 137 | - 适合把本项目同时作为 Gemini 自动化 skill + MaaS provider 接入样例 |
| 138 | |
| 139 | ## ☁️ 懒得配环境?让 gemini-skill 跑在云上 |
| 140 | |
| 141 | <p align="center"> |
| 142 | <a href="https://bloome.im/app?ref=bvsEWoFx&utm_medium=github&utm_source=WJZ-P-gemini-skill-ivor-202606"> |
| 143 | <img src="./markdown/bloome-home.png" alt="Bloome" width="100%"> |
| 144 | </a> |
| 145 | </p> |
| 146 | |
| 147 | 不用装 Node、不用搭环境——在 [B |