by ysunyang4
Nexus 的浏览器插件:让 DeepSeek、Gemini、ChatGPT、Kimi 等网页版 AI 通过 MCP 调用本地工具,需配合 Nexus 使用
# Add to your Claude Code skills
git clone https://github.com/ysunyang4/webagentGuides for using ai agents skills like webagent.
See how webagent compares with popular alternatives.
webagent is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by ysunyang4. Nexus 的浏览器插件:让 DeepSeek、Gemini、ChatGPT、Kimi 等网页版 AI 通过 MCP 调用本地工具,需配合 Nexus 使用. It has 143 GitHub stars.
webagent'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/ysunyang4/webagent" and add it to your Claude Code skills directory (see the Installation section above).
webagent is primarily written in JavaScript. It is open-source under ysunyang4 on GitHub, so you can review or fork the full source.
Yes. SkillsLLM 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 webagent against similar tools.
No comments yet. Be the first to share your thoughts!
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
当前版本:1.3.3
WebAgent 是一个专为网页端大模型(DeepSeek、Gemini、智谱 BigModel/清言/Z.ai、Google AI Studio、ChatGPT、Kimi、通义千问、豆包、Duck.ai、Dola 等)打造的浏览器扩展,提供原生浮动交互面板与本地 MCP 工具调度桥接。
本项目由 LINUX DO 社区认可。
aistudio.google.com,含 prompts/new_chat 新对话页)网页端适配:专属主题、输入框、Run/Stop 按钮识别与模型回复代码块解析。zchat.z.ai、chat.z.ai)网页端适配:专属主题、输入框、发送/停止按钮识别与回复解析。bigmodel.cn GLM-5.3)、智谱清言(chatglm.cn)与 Z.ai(z.ai/chat) 网页端深度适配及专属主题。aistudio.google.com) 原生适配,覆盖 Chat Prompt 与 Freeform 运行、中断与代码块解析。本次更新新增 Gemini 网页端适配,并修复工具结果不自动发送、长代码 MCP 调用无法识别和项目权限提示不准确的问题。
gemini.google.com 的多行输入、发送按钮、最新回复“重做”和新会话首条回复。更新扩展后,请先保存草稿,再重新加载扩展并刷新 AI 网页。只替换文件或只刷新扩展不会更新已经打开的网页脚本。
chrome://extensions/(Edge 为 edge://extensions/);默认服务基址为 http://127.0.0.1:8787,请求使用 /mcp;也支持配置允许的本机 18080 / 21888 端口。先运行 Nexus 并注册项目,在弹窗填写实际项目 ID,再检测连接。网页端账号由用户自行登录,不需要 DeepSeek / Gemini API Key;Gemini 指 gemini.google.com,不包括 Google AI Studio。
| 自动执行 | 自动发送 | 行为 |
|---|---|---|
| 关闭 | 关闭 | 逐次轻量角落确认,结果直填,手动发送 |
| 开启 | 关闭 | 自动调用已提议工具,结果直填,手动发送 |
| 关闭 | 开启 | 逐次确认工具,结果随后自动发送 |
| 开启 | 开启 | 自动调用工具并自动发送工具反馈 |
扩展弹窗可查询实时 accessMode(文件读写)和 executionMode(命令执行),不能从命令关闭推断文件只读。权限修改需要独立的 Nexus 管理令牌,在本机扩展密码框填写或导入本机令牌文件;它不是 Bridge Token,也不是网页 AI API Key。
点击“复制增强协作协议”(或页面面板填入协议),自行发送给 AI。协议约束每次只输出一个 nexus 代码块、一个完整 JSON 对象,工具名与参数类型遵守真实 schema。长源码必须完整,字符串里的换行、引号和反斜杠按 JSON 规则转义;不接受半截调用、源码省略号或 JSON 注释。
Gemini 适配支持 Quill 多行输入的逻辑段落回读、最新回复的“重做”,以及新建会话分配 ID 时保留待响应状态。首次回复迁移须与实际提交的第一条用户消息匹配;刷新、切换历史、上一/下一版本不会重放旧工具调用。
扩展弹窗显示页面版本、MCP 连接与最近解析/自动发送状态。输入框重建、草稿变化、AI 仍在生成或发送按钮未就绪会显示具体原因,不收集草稿正文或令牌。
当前包含 136 项测试;CI 在 Windows/Linux × Node 22/24 上运行。
需要 Node.js 22+,无第三方测试依赖:
npm test
测试覆盖 MCP initialize/session/SSE/分页/超时、只允许本地端点、权限来源校验与令牌隔离、独立自动化开关、草稿保留与取消、防历史重放、新会话路由迁移和超长 JSON。普通测试完全使用本地 fixtures/mock,不连接真实账号或执行用户工具。
真实 Gemini 对话已另外验证项目查询和长文件创建的“模型输出 → MCP 执行 → 反馈自动发送 → 模型确认”闭环;46,299 字符、48,919 UTF-8 字节的文件与模型 content 逐字符一致。个人对话链接、截图、项目配置与实测文件不随代码发布。
本项目的原创源代码依据 GNU General Public License v3.0 only(GPL-3.0-only) 发布。
注意: GPL-3.0 允许符合许可条件的商业使用;它不是“禁止商用”许可证。