kimi-webbridge
它能做什么
这项技能让你的 AI 通过 Kimi 浏览器扩展,在你已登录的真实 Chrome 类浏览器中工作。适合希望 AI 替自己浏览网页、填写表单或阅读网页的人。
适用场景
- ✓当你希望 AI 打开某个网站,并替你完成其中的任务的时候。
- ✓当任务需要你已登录的会话,例如你常用的某个网站的时候。
- ✓当你想在自己的浏览器中阅读、抓取网页内容或为网页截图的时候。
技能链接
https://github.com/MoonshotAI/kimi-code/blob/main/plugins/official/kimi-webbridge/skills/kimi-webbridge/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请打开我的网上银行对账单页面,告诉我上个月的总额。我已经登录了。”
每周 5 个新技能,1 分钟读完。
工作原理
技能与你电脑上运行的一个小型本地辅助程序通信,由它控制浏览器扩展。AI 可以导航、以大纲形式读取页面、点击、输入和截图。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Kimi Browser Extension (formerly Kimi WebBridge)
Control the user's real browser (with their login sessions) via a local daemon at http://127.0.0.1:10086 (the default address — see If a tool call fails for when it differs).
Tools
| Tool | Args | Returns | Note |
|---|---|---|---|
navigate |
url, newTab(bool), group_title |
{success, url, tabId} |
First call opens a tab — see Tabs. group_title sets the group's visible label |
find_tab |
url, active(bool) |
{success, url, tabId, borrowed} |
Re-select a tab this session opened; active:true borrows the tab the user is viewing — see Tabs |
snapshot |
— | {url, title, tree} with @e refs |
Accessibility tree (text) — use this to read page content and locate elements |
click |
selector (@e ref or CSS) |
{success, tag, text} |
Synthetic el.click() |
fill |
selector, value |
{success, tag, mode} |
Works on <input>/<textarea> AND [contenteditable] (ProseMirror/Lexical/Slate). mode is "value" or "contenteditable" |
evaluate |
code (supports async/await) |
{type, value} |
|
cdp |
method, params |
raw CDP response | Raw chrome.debugger passthrough — what evaluate is to JS, cdp is to CDP. Low-level escape hatch for cases the tools above don't cover |
screenshot |
format(png|jpeg), quality(0-100), optional selector (@e/CSS), optional path |
{format, path, sizeBytes, mimeType} |
Returns a file path, not base64 — see Screenshots |
network |
cmd(start|stop|list|detail), filter, requestId |
request/response data | |
upload |
selector, files(string[]) |
{success, fileCount} |
|
save_as_pdf |
paper_format, landscape, scale, print_background, optional path |
{path, sizeBytes, mimeType, pageTitle} |
Render current page → PDF, returns a file path — see Save as PDF |
list_tabs |
— | {success, tabs:[{tabId, url, title, active, groupTitle}]} |
Inspect tabs in the current session |
close_tab |
— | {success, closed: bool} |
Close the current tab in the session |
close_session |
— | {success, closed: int} |
Close all tabs in the session — closed is the count. See Sessions for when to call |
Tabs and the current tab
Single-tab tools (snapshot, click, fill, screenshot, save_as_pdf) act on the current tab — the one you most recently opened with navigate or selected with find_tab.
- Opening pages: use
newTab:truewhen pages should coexist (comparing, cross-referencing); omit it to send the current tab to a new URL. - Going back to an earlier tab: call
find_tabto make a tab you opened earlier in this session the current one again. Pass the tab's full URL — take it fromlist_tabsor the earliernavigateresult. A bare root domain (kimi.com) may miss awww.kimi.comtab, so prefer the exact URL. By defaultfind_tabsearches only this session's own tabs — it never reaches into the user's other tabs or windows. - Acting on a page the user already has open: pass
active:true("use my open X tab" / "the X page I'm viewing"). It borrows the tab the user is currently viewing (returnsborrowed:true); the borrowed tab is operated in place — it is not pulled into the session's tab group. - If
find_taberrors with "no tab matching … in this session", the page isn't open in this session —navigatewithnewTab:trueinstead.
curl -s -X POST http://127.0.0.1:10086/command \
-d '{"action":"find_tab","args":{"url":"https://www.kimi.com","active":true},"session":"k26-research"}'
Call Format
Every command carries a top-level session naming the current task — see Sessions below. The examples in later sections omit it only for brevity; in real calls always include it. Every reply is an envelope: {"ok":true,"data":…} on success (the Returns column above describes data) or {"ok":false,"error":{"code","message"}} on failure. The command format depends on the user's OS.
macOS / Linux — inline JSON is fine:
curl -s -X POST http://127.0.0.1:10086/command \
-H 'Content-Type: application/json' \
-d '{"action":"navigate","args":{"url":"https://example.com","newTab":true,"group_title":"My task"},"session":"my-task"}'
If the
常见问题
AI 会使用我真实的登录会话吗?
会。它在你的浏览器中,使用你自己已登录的账户工作,这正是这项技能的用途。
要让它工作,需要运行什么?
你的电脑上必须同时运行本地辅助守护进程和浏览器扩展。
它能看到我没有在浏览器中打开的页面吗?
它只通过自己打开的标签页或你正在查看的标签页工作,因此只在你的浏览器会话中行动。
详情
作者的原始描述
Kimi Browser Extension(Kimi 浏览器扩展,原 Kimi WebBridge)lets AI control the user's real browser — navigate, click, type, read, screenshot, and interact with any website using the user's actual login sessions. Use this skill whenever the user wants to interact with websites, automate browser tasks, scrape web content, or perform any action requiring a real browser. Also use when the user mentions "browser", "webpage", "open URL", "screenshot", or asks to read/interact with any website. Use even for simple-sounding browser requests — the daemon handles all complexity.
repo: MoonshotAI/kimi-code
热度
- GitHub 星标
- 8.1k
- 排名
- #12563
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …