- John2026-07-188762
开发网页,遇到数据不出来、不正常显示等,还是用 devtools mcp 又快又好地定位。但是太费 token 了吧。有啥别的好建议?playwright 会好点吗?
主楼 - XiaoQ12026-07-185730
playwright CLI + SKILL
- unsalted2026-07-1824782
之前是用Agent browser,现在不知道有没有什么新的,或者codex自带的那个
- Linus_Torvalds2026-07-184551
全部可以skills+cli

skills.sh

playwright-cli — microsoft/playwright-cli
Automate browser interactions, test web pages and work with Playwright tests.

skills.sh

chrome-devtools-cli — chromedevtools/chrome-devtools-mcp
Use this skill to write shell scripts or run shell commands to automate tasks in the browser or otherwise use Chrome DevTools via CLI.

skills.sh

agent-browser — vercel-labs/agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking…
- John2026-07-188762
- Linus_Torvalds2026-07-184551
- kkkqkx2026-07-186165
准确的说,应该是cli+skill比mcp省一点。因为mcp需要加载完整说明,工具schema也要放到系统提示词里。
cli+skill在不需要获取skill时只加载一段描述,ai需要时才主动调用skill工具获取完整内容,而且也不需要工具schema(直接复用命令执行工具)
- LiuMang2026-07-1910901
日常页面操作建议用 Playwright CLI + Skill,基础导航和截图可再换更轻的 Agent Browser;只有查 Network、Console、性能时才启用 DevTools MCP。CLI + Skill 不必每轮携带完整工具 schema,再配合少取全量 snapshot,token 会明显低一些。
