Skip to content
AgentR1Public

About

WebMind is a skill that enables near-fully automated browser operation and accumulates experience to significantly speed up recurring tasks while reducing token usage, supporting both Claude Code and Codex on Windows and macOS.

Topics

Resources

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

提示:切换 branch 可以切换不同操作系统版本,包括 macOS 或 Windows 下的 Claude Code 版和 Codex 版。

Tip: Switch branches to change between the Claude Code and Codex editions for macOS or Windows.

你现在看到的是 Windows 下的 Claude Code 版,版本号 WC 1.0.0。

You are viewing the Claude Code edition for Windows, version WC 1.0.0.

WebMind Windows / Claude Code

面向 Windows + Claude Code 的本地浏览器与桌面自动化插件。项目提供 CDP / DOM 网页控制、截图、鼠标、键盘、有界等待和外部 Mem;不包含浏览器、登录资料、账号凭据或用户数据。

A local browser and desktop automation plugin for Windows + Claude Code. It provides CDP/DOM web control, screenshots, mouse and keyboard input, bounded waits, and external Mem; it does not include a browser, sign-in data, account credentials, or user data.

Warning

本插件能够改变网页、账号和桌面状态。使用前请完整阅读使用教程和安全须知;英文版见 User Guide 和 Safety Instructions。请从低风险任务开始。不要公开上传 Mem、浏览器 Profile、Cookie、截图或 mem-location.json。

This plugin can change webpages, accounts, and desktop state. Read the User Guide and Safety Instructions in full before use. Start with low-risk tasks, and never publish Mem, browser profiles, cookies, screenshots, or mem-location.json.

环境要求 / Requirements

  • Windows 10/11,使用可见的本机桌面会话

    Windows 10/11 with a visible local desktop session.

  • Claude Code

    Claude Code.

  • Python 3.10 或更高版本

    Python 3.10 or later.

  • Chrome、Chromium 或 Edge

    Chrome, Chromium, or Edge.

  • 首次安装 Python 依赖时需要联网

    Network access for the initial Python dependency installation.

安装提示 / Installation Notice

麻烦请先阅读 安全须知,再阅读 使用教程;使用教程中包含了具体的安装方式。

Please read the Safety Instructions first, followed by the User Guide, which contains the detailed installation methods.

默认安装:把完整发行版解压到桌面后,可以直接告诉 Claude Code“帮我安装这个 WebMind”。Agent 应按安装流程运行安装器,将完整插件复制到 ~/.claude/skills/webmind-claudecode,再准备依赖。用户无需另选长期目录;新会话核验通过后,桌面下载副本可自行删除。不要把桌面目录注册成默认 marketplace 来源,也不要手动写入插件缓存。

Default installation: extract the complete distribution to the desktop and ask Claude Code to install it. Follow the installation workflow: the installer copies the whole plugin into ~/.claude/skills/webmind-claudecode and prepares dependencies. No separate permanent folder is needed. After verification in a new session, the downloaded copy may be removed by the user. Do not register the desktop source as the default marketplace or write plugin caches manually.

CLAUDE_CONFIG_DIR changes the Claude configuration root; installation and subsequent Claude sessions must use the same value. File copying and dependency diagnostics do not prove that Claude loaded the plugin: verify its six skills and actual root after restarting in a new conversation.

重要说明 / Important Notice

WebMind 提供用户自己浏览器模式、Agent 专用浏览器模式和不可见模式,默认使用不可见模式下的 Agent 专用 CDP 浏览器。

WebMind offers three modes: user's own browser mode, dedicated Agent browser mode, and invisible mode. By default, it uses the dedicated Agent CDP browser in invisible mode.

Important

首次登录建议先使用可见模式。 专用 CDP 浏览器使用与日常浏览器隔离的独立 Profile,可保存登录状态等浏览器数据。首次创建的 Profile 不包含你在日常浏览器中已有的登录状态。建议在安装并初始化 Mem 后,或首次执行需要登录的网站任务前,以可见模式(--visible-mode)打开专用浏览器,并由你本人完成所需网站的登录。

Use visible mode for the first sign-in. The dedicated CDP browser uses a separate profile from your everyday browser and can retain sign-in state and other browser data. A newly created profile does not inherit your everyday browser's sign-in state. After installing WebMind and initializing Mem, or before the first task on a site that requires sign-in, open the dedicated browser in visible mode (--visible-mode) and sign in to the required sites yourself.

登录状态通常会保留在同一个 Mem 绑定的 Profile 中。在登录状态仍有效时,后续任务一般无需每次先打开可见模式登录,可直接使用不可见模式;首次登录新网站或登录状态失效时,再使用可见模式完成登录。

Sign-in state usually persists in the profile bound to the same Mem. While it remains valid, later tasks can generally run in invisible mode without a visible sign-in step each time. Use visible mode again when signing in to a new site or when an existing session is no longer valid.

请先在本机安装 Google Chrome,再执行浏览器任务。 专用 CDP 浏览器由本机已安装的 Chrome 启动,并使用独立 Profile;WebMind 不包含 Chrome 本体。

Install Google Chrome on your computer before running browser tasks. The dedicated CDP browser runs using your locally installed Chrome with a separate profile; WebMind does not bundle Chrome.

每次任务的浏览器模式 / Browser Mode per Task

专用 CDP 浏览器默认使用不可见模式,不显示窗口。用户可为当前任务选择可见模式(--visible-mode);模式参数仅控制新浏览器启动。已有浏览器会告知实际模式及 ESC 停止提示后继续复用,不因模式不同报错。不可见模式通过 CDP 操作,不能用桌面鼠标键盘直接操作隐藏页面;需要人工登录或接管时应暂停并切换到可见模式。具体命令见使用教程。

The dedicated CDP browser defaults to invisible mode without a visible window. Users may choose visible mode for the current task with --visible-mode; previous launch choices are not saved. An existing verified browser keeps its actual mode; the Agent announces it with the ESC stop notice before continuing. Invisible pages use CDP, not desktop mouse/keyboard input. Pause for a transition to visible mode when manual authentication or takeover is needed. See the User Guide.

数据边界 / Data Boundaries

  • Python 虚拟环境默认位于 %LOCALAPPDATA%\WebMind\.venv,可用 WEBMIND_DATA_DIR 改变位置。

    The Python virtual environment defaults to %LOCALAPPDATA%\WebMind\.venv; use WEBMIND_DATA_DIR to change its location.

  • 活动 Mem 必须位于插件目录之外;浏览器 Profile 保存在对应 Mem 内。

    Active Mem must stay outside the plugin directory; the browser profile is stored inside its corresponding Mem.

  • 仓库只会保存被忽略的 Mem 位置指针 skills/webmind-mem/mem-location.json,不应提交任何运行时数据。

    The repository stores only the ignored Mem location pointer at skills/webmind-mem/mem-location.json; no runtime data should be committed.

  • CDP 调试地址仅允许本机回环接口;不要转发或公开调试端口。

    CDP debugging is restricted to local loopback interfaces; never forward or expose the debugging port.

项目结构 / Project Structure

  • .claude-plugin/:插件与 marketplace 清单

    .claude-plugin/: plugin and marketplace manifests.

  • scripts/:安装器、统一入口和共享运行时代码

    scripts/: installer, unified entry point, and shared runtime code.

  • skills/:六个 Claude Code Skills 及其实现

    skills/: six Claude Code Skills and their implementations.

  • 使用教程.md、安全须知.md:中文用户文档

    使用教程.md, 安全须知.md: Chinese user documentation.

  • USER_GUIDE.md、SAFETY_INSTRUCTIONS.md:英文用户文档

    USER_GUIDE.md, SAFETY_INSTRUCTIONS.md: English user documentation.

  • references/:宿主集成参考资料

    references/: host integration references.

参与和安全报告 / Contributing and Security Reports

提交改进前请阅读 CONTRIBUTING.md。安全漏洞请按 SECURITY.md 的方式报告,不要在公开 Issue 中包含凭据、Profile、截图或其他敏感数据。

Read CONTRIBUTING.md before submitting improvements. Report vulnerabilities according to SECURITY.md, and never include credentials, profiles, screenshots, or other sensitive data in public issues.

许可证 / License

MIT License

This project is licensed under the MIT License.

项目成员

  • 开发者(Developer):Zhengdao Li
  • 指导者(Supervisor):Mingyue Cheng

About

WebMind is a skill that enables near-fully automated browser operation and accumulates experience to significantly speed up recurring tasks while reducing token usage, supporting both Claude Code and Codex on Windows and macOS.

Topics

Resources

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages