invisible-playwright
它能做什么
这个工具使用一个像 Firefox 这样的浏览器,它会模拟真实用户来与网站互动。它可以打开、关闭和管理不同的浏览器“身份”,每个身份都有自己的登录状态和浏览记录,用来完成各种网络任务。
适用场景
- ✓当你需要访问一个需要登录的网站时。
- ✓当你需要在网站上重复执行某些操作时。
- ✓当你需要在同一个网站上分别使用不同账号时。
技能链接
https://github.com/feder-cr/invisible_dots/blob/main/invisible_engine_dots/skills/invisible-playwright/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“创建一个名为“vip_customer”的浏览器身份,并访问网站 example.com。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会管理相互隔离的浏览器配置文件。每个配置文件(即身份)都可以拥有自己的 Cookie 和登录信息,让 AI 在每次会话中扮演不同的用户。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
The browser identities
Your browser is invisible_playwright: a real Firefox that a site sees as a person at a computer. How to drive a page
(finding a page, the order to try things in, what a page can tell) is in the browser server's instructions, which your
system prompt carries. This file is about the identities. Use the browser when a task needs a website; for a plain
download or an API, exec with curl is simpler.
Identities
A browser identity is one person on the web: its own profile, cookies, logins and fingerprint, kept on disk between uses.
browser_identity_listshows the identities, which are open, and how many may be open at once.browser_identity_createmakes one, closed. Give it a name only: it then leaves through this computer's own network, which is right unless the person asked for this one identity to use a proxy of theirs.browser_identity_launchopens it on your desktop. The first launch of a new identity can take minutes.browser_identity_closecloses it; its profile, cookies and logins stay.- Every page tool takes the
identity_idof an open identity, and acts on that identity's one page. - Reuse the identity that is already logged in to a site instead of making a new one, and keep one identity per person or account you act as: two accounts in one identity are one person to anyone looking.
- A second identity is for what must not touch the first. The usual case: signing up somewhere and needing a mailbox for the verification. Open a throwaway-mail site in another identity, take the address, type it into the form in the first one, and go back to the other for the link.
Close an identity with browser_identity_close once the task no longer needs it, before you answer: an open browser
holds memory on your computer.
Your own skills
When you work out how to do something on a site that you will do again (where its login is, which steps a form needs, what blocks you), write it down as a skill of your own: /home/dot/skills/<name>/SKILL.md, the same shape as this file.
常见问题
什么是“浏览器身份”?
它就像浏览器里一个独立的用户配置,拥有自己的 Cookie、登录信息和浏览记录,让 AI 能够以不同的人的身份访问网站。
什么时候应该用浏览器,而不是直接下载?
当任务需要与网站互动,比如填写表单、点击按钮时,就用浏览器。如果只是直接下载文件或调用 API,更推荐使用 curl 这类更简单的方法。
AI 怎么在多次使用之间“记住”登录状态?
每个浏览器身份都会把自己的配置文件、Cookie 和登录信息保存到磁盘上。这样 AI 下次访问该网站时就已经处于登录状态,无需重新输入账号密码。
详情
作者的原始描述
Use the Dot's browser identities for any task on a website or search on the web: which identity to use, opening and closing one, and when a plain download is simpler than a browser.
repo: feder-cr/invisible_dots
热度
- GitHub 星标
- 32k
- 排名
- #9150
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …