返回市场
Free
xbrowser plugin install xbrowser-plugin-claude
命令
list
list列出所有历史会话
Examples
xbrowser claude list
列出所有会话
xbrowser claude list --json
JSON 格式输出
xbrowser claude list --help
new
new创建新的空白对话
Examples
xbrowser claude new
新建对话
xbrowser claude new --help
open
open通过标题打开指定会话(模糊匹配)
Parameters
| Name | Type | Req | Description |
|---|---|---|---|
| title | string | Yes | 会话标题(支持模糊匹配) |
Examples
xbrowser claude open "1加1等于2"
打开指定会话
xbrowser claude open "股票"
模糊匹配打开
xbrowser claude open --help
chat
chat发送消息并等待 AI 回复
Parameters
| Name | Type | Req | Description |
|---|---|---|---|
| message | string | Yes | 消息内容 |
| attach | string | No | 附件路径(图片或文件) |
| attachType | enum | No | 附件类型 |
| model | string | No | 模型名称 (如 Sonnet, Opus, Haiku) |
| think | boolean | No | 开启扩展思考 (Extended Thinking) |
| search | boolean | No | 开启联网搜索 |
| showSources | boolean | No | 显示联网搜索引用的来源 URL 和域名 |
Examples
xbrowser claude chat "你好"
发送消息
xbrowser claude chat "分析这张图" --attach /path/to/img.jpg
发送消息+图片
xbrowser claude chat "深度推理" --model Opus --think
Opus+扩展思考
xbrowser claude chat "最新新闻" --search --showSources
联网搜索+来源
xbrowser claude chat --help
attach
attach发送附件(图片/文件/URL)
Parameters
| Name | Type | Req | Description |
|---|---|---|---|
| type | enum | Yes | 附件类型 |
| path | string | Yes | 文件路径 或 URL 链接 |
Examples
xbrowser claude attach image ~/photo.jpg
上传图片
xbrowser claude attach url "https://example.com"
发送 URL 链接
xbrowser claude attach file ~/doc.pdf
上传文件
xbrowser claude attach --help