论文安装
- 作者仓库星标 36
- 作者更新于 实时读取
- 作者仓库 10x-chat
- 领域
- 工程开发
- 兼容 Agent
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- 信任分
- 88 / 100 · 社区维护
- 作者 / 版本 / 许可
- @MikeChongCan · 未声明 license
- Token 消耗评级
- 低消耗
- 接入复杂程度
- 即装即用
- 是否需要外部 API Key
- 不需要
- 兼容的系统
- macOS · Linux · Windows
- 底层运行要求
- Node.js
- 文件与系统权限
-
- 只读
- 允许写入 / 修改
- 网络行为
- 仅限本地
- 安装命令数
- 26 条
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: 10x-chat
description: Chat with web AI agents (ChatGPT, Gemini, Claude, Grok, Perplexity, NotebookLM) via browser auto…
category: 工程开发
runtime: Node.js
---
# 10x-chat 输出预览
## PART A: 任务判断
- 适用问题:代码实现、重构、调试或代码审查。
- 输入要求:目标材料、限制条件、期望输出和验收方式。
- 证据边界:围绕“Architecture (v0.9.0+) / Installation / When to use”读取原文规则,不把推断写成作者承诺。
## PART B: 执行结果
- **01** 任务判断:确认你的需求是否属于代码实现、重构、调试或代码审查,并标出输入、限制和预期结果。
- **02** 执行计划:优先按“Architecture (v0.9.0+) / Installation / When to use”拆成步骤,说明每一步会读取什么、修改什么、产出什么。
- **03** 交付结果:给出可复制的命令、文件改动、检查清单或内容草稿,并说明如何继续迭代。
- **04** 风险边界:结合 读取文件、写入/修改文件、主要在本地完成、通常不需要额外 API Key 给出执行前确认项。
## Running Rules
- 读取文件、写入/修改文件;主要在本地完成;通常不需要额外 API Key。
- 先小样例验证,再放大到真实任务。
- 交付时同时给结果、检查口径和下一步迭代建议。 原文没有稳定的斜杠命令要求。安装验证后通常全局生效,直接在对话里点名这个 Skill 并描述任务即可。
告诉 Agent 目标文件或材料、期望结果、不可改范围、是否允许联网或执行命令。本 Skill 的权限画像是:读取文件、写入/修改文件。
先用一个小任务确认它会围绕“Architecture (v0.9.0+) / Installation / When to use”工作;涉及文件或命令时,先看 diff、日志、预览或测试结果。
检查最终产物是否包含明确结果、必要证据和下一步动作;如果输出泛泛而谈,就补充输入、边界和验收标准后重跑。
---
name: 10x-chat
description: Chat with web AI agents (ChatGPT, Gemini, Claude, Grok, Perplexity, NotebookLM) via browser auto…
category: 工程开发
source: MikeChongCan/10x-chat
---
# 10x-chat
## 什么时候使用
- 用于让 Agent 打开、操作和验证浏览器页面 适合处理工程开发场景下的代码实现、调试、重构、测试或代码审查,核心价值是把输入、判断、执行、验证和交付边界固定下来,避免 Agent 泛泛回答。 把任务拆成可执行、可检查、可继续迭代的步骤…
- 面向代码实现、重构、调试或代码审查,优先处理能明确输入、步骤和验收标准的工作。
## 需要提供什么
- 目标材料、目录范围、期望结果和不可改动内容。
- 是否允许联网、执行命令、读写文件或调用外部服务。
## 执行规则
- 围绕「Architecture (v0.9.0+) / Installation / When to use」组织步骤,不把推断写成作者事实。
- 读取文件、写入/修改文件;主要在本地完成;通常不需要额外 API Key。
- 先跑小样例,确认结果可检查后再扩大任务范围。
## 输出要求
- 给出最终产物、关键证据、验证方式和下一步动作。
- 信息不足时标记 unknown,不编造命令、平台或依赖。 作者原文负责流程事实;仓库文件负责来源和命令;流狐只补充适用场景、限制和质量判断。
skill "10x-chat" {
输入层 -> 用户目标 + 目标文件 + 禁止范围 + 验收标准
上下文层 -> Architecture (v0.9.0+) / Installation / When to use
规则层 -> SKILL.md 触发条件 / 执行顺序 / 输出格式
运行层 -> Node.js | 读取文件、写入/修改文件 | 主要在本地完成
安全层 -> 通常不需要额外 API Key + 小任务验证 + diff / 日志复核
输出层 -> 可复制结果 + 检查清单 + 下一步迭代
} 10x-chat — AI Agent Skill
Use 10x-chat to send prompts to web-based AI agents via automated browser sessions. Supports chat, image generation, deep research, and video generation. Sessions use a shared persisted profile by default.
Architecture (v0.9.0+)
10x-chat uses an HTTP browser daemon — a persistent local Node.js server wrapping Playwright:
- One daemon, multiple sessions: parallel CLI runs share a single Chrome instance via HTTP RPC
- Auto-start/stop: daemon launches on first use, shuts down after 30 min idle
- Crash recovery: if daemon dies, next CLI run auto-restarts it
- No zombie Chrome: proper tab ref-counting and graceful shutdown
- State file:
~/.10x-chat/browser-daemon.json(port, PID, bearer token, chmod 600)
Installation
No install needed. Always use @latest:
npx 10x-chat@latest --version
Use npx (not bunx — symlink conflicts in parallel).
When to use
- Stuck on a bug: ask another model for a fresh perspective
- Code review: send PR diff to GPT / Claude / Gemini for cross-review
- Cross-validation: compare answers from multiple models
- Knowledge gaps: leverage a model with different training data
- Image generation: DALL-E via ChatGPT or Imagen via Gemini
- Deep research: long-form analysis via Perplexity, ChatGPT, or Gemini
- Video generation: text/image-to-video via Google Flow (Veo) or Dreamina (Seedance)
Providers
| Provider | Chat | Image | Research | Video | Models | Notes |
|---|---|---|---|---|---|---|
| chatgpt | ✅ | ✅ (DALL-E) | ✅ | ❌ | — | Runs headed by default (anti-bot) |
| gemini | ✅ | ✅ (Imagen) | ✅ | ❌ | Fast, Thinking (default), Deep Think (Ultra tool), Pro | --model switches mode |
| claude | ✅ | ❌ | ❌ | ❌ | — | Runs headed by default |
| grok | ✅ | ✅ | ❌ | ❌ | — | UI changes often, use @latest |
| perplexity | ✅ | ❌ | ✅ | ❌ | — | Best for research with citations |
| notebooklm | ✅ | ❌ | ❌ | ❌ | — | Add sources first, then chat |
| flow | ❌ | ❌ | ❌ | ✅ (Veo) | Veo 3.1 Fast/Quality, Veo 2 Fast/Quality | Google login (shared with Gemini) |
| dreamina | ❌ | ❌ | ❌ | ✅ (Seedance) | Seedance 2.0 Fast (default)/2.0; 1.x often plan-locked | login dreamina (CapCut); text + image-to-video |
Commands
# Login (one-time per provider — opens browser for auth)
npx 10x-chat@latest login chatgpt
npx 10x-chat@latest login gemini
npx 10x-chat@latest login claude
npx 10x-chat@latest login grok
npx 10x-chat@latest login perplexity
npx 10x-chat@latest login notebooklm
# Chat
npx 10x-chat@latest chat -p "Review this code for bugs" --provider chatgpt --file "src/**/*.ts"
npx 10x-chat@latest chat --provider gemini --file "path/to/prompt.md" -p "Complete this task"
npx 10x-chat@latest chat --provider gemini --model Pro -p "Solve this math problem"
npx 10x-chat@latest chat --provider gemini --model "Deep Think" -p "Solve this hard problem"
# Image generation
npx 10x-chat@latest image -p "A fox astronaut in space" --provider chatgpt
npx 10x-chat@latest image -p "Watercolor landscape" --provider gemini --save-dir ./images
# Deep research (long-form, 5-10 min)
npx 10x-chat@latest research -p "Latest breakthroughs in quantum computing" --provider perplexity
npx 10x-chat@latest research -p "Hard technical research" --provider gemini --model "Deep Think"
npx 10x-chat@latest research -p "Market analysis of EVs" --provider chatgpt --timeout 600000
# Video generation (Flow / Veo default, or Dreamina / Seedance)
npx 10x-chat@latest video -p "Drone shot over snowy peaks at sunrise" --provider flow
npx 10x-chat@latest video -p "Neon street, rain" --provider flow --model "Veo 3.1 - Quality" --orientation portrait
npx 10x-chat@latest login dreamina # one-time CapCut login for Dreamina
npx 10x-chat@latest video -p "A paper boat in a rain gutter, macro" --provider dreamina --aspect 9:16 --duration 4
npx 10x-chat@latest video -p "The glowing orb floats up" --provider dreamina --image ref.png --ref-mode omni
# Dry run / clipboard
npx 10x-chat@latest chat --dry-run -p "Debug this error" --file src/
npx 10x-chat@latest chat --copy -p "Explain this" --file "src/**"
# Provider chat history + local session management
npx 10x-chat@latest history --provider gemini
npx 10x-chat@latest history --provider all --limit 10
npx 10x-chat@latest status
npx 10x-chat@latest session <id> --render
# NotebookLM
npx 10x-chat@latest notebooklm list
npx 10x-chat@latest notebooklm create "My Research"
npx 10x-chat@latest notebooklm add-url <id> https://...
npx 10x-chat@latest notebooklm add-file <id> ./paper.pdf
npx 10x-chat@latest notebooklm sources <id>
npx 10x-chat@latest notebooklm summarize <id>
# Install bundled skill to coding agent
npx 10x-chat@latest skill install
Parallel sessions (v0.9.0+)
HTTP daemon makes parallel runs stable. All providers share one Chrome:
# Login all once
npx 10x-chat@latest login gemini
npx 10x-chat@latest login claude
npx 10x-chat@latest login chatgpt
# Run concurrently — each opens a tab in the shared daemon
npx 10x-chat@latest chat --provider gemini -p "Your prompt" --file context.md &
npx 10x-chat@latest chat --provider claude -p "Your prompt" --file context.md &
npx 10x-chat@latest chat --provider chatgpt -p "Your prompt" --file context.md &
wait
Browser mode
- Headless (default for gemini, grok, perplexity): no visible window
- Headed (default for chatgpt, claude): visible Chrome window (anti-bot protection)
- Force headed:
--headedflag on any provider
The daemon stores the headless/headed mode in its state file. If you switch modes, the daemon restarts automatically.
Profile modes
Shared (default): One browser profile, all providers share cookies. Login once per Google account covers Gemini + NotebookLM.
Isolated: Separate profile per provider (backward compat): --isolated-profile
# Migrate from isolated to shared
npx 10x-chat@latest migrate
Daemon management
# Check daemon state
cat ~/.10x-chat/browser-daemon.json
# Force stop daemon
# (CLI calls stopDaemon() on Ctrl+C automatically)
kill $(cat ~/.10x-chat/browser-daemon.json | python3 -c "import sys,json; print(json.load(sys.stdin)['pid'])")
Tips
- Always use
@latest: ensures newest fixes - Login first:
login <provider>once per provider. Sessions persist in~/.10x-chat/profiles/ - Use
--headedif a provider is flaky (Grok especially) - Keep file sets small: fewer files + focused prompt = better answers
- Research needs longer timeouts:
--timeout 600000for 10-min research jobs - Image gen can take 1-2 min: use
--timeout 120000when needed - Video gen can take 1-5 min: Dreamina queues generations; keep the default 10-min timeout. For image-to-video, pass
--image(Dreamina) or--start-frame/--end-framewith--mode frames(Flow) - Dreamina models are plan-gated:
Seedance 2.0 Fast(cheapest) and2.0are generally available; the CLI errors clearly if a requested model is locked - Use
--dry-runto preview what will be sent
Known issues
- Grok: UI changes frequently. Always use
@latest. Use--headedfor best reliability - ChatGPT/Grok sessions expire quickly: login again if you get "Not logged in" errors
- Some provider UIs are flaky under automation: retry with
--headedbefore assuming a hard failure
Safety
- Never include credentials, API keys, or tokens in the bundled files
- The tool opens a real browser with real login state. Treat it like your own browser session
先判断是否适合
作者设计意图
作者的方法与取舍
边界和复核