10x-chat

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

10x-chat — AI Agent Skill

10x-chat — AI Agent 技能工具

Use 10x-chat to send prompts to web-based AI agents (ChatGPT, Gemini, Claude, Grok, NotebookLM) via automated browser sessions. The browser uses a persisted Chrome profile, so the user only needs to login once.
使用10x-chat通过自动化浏览器会话,向网页版AI Agent(ChatGPT、Gemini、Claude、Grok、NotebookLM)发送提示词。浏览器会使用持久化的Chrome配置文件,因此用户只需登录一次即可。

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 / reasoning.
  • 遇到代码Bug卡壳时:向其他模型寻求全新思路。
  • 代码复核:将PR差异发送给GPT / Claude / Gemini进行交叉审核。
  • 交叉验证:对比多个模型的回答结果。
  • 知识补全:借助拥有不同训练数据与推理逻辑的模型解决问题。

Commands

命令说明

use
bunx
(bun.sh) instead
npx
if you prefer speed.
bash
undefined
如果追求速度,可以使用
bunx
(bun.sh)替代
npx
bash
undefined

Login (one-time per provider — opens browser for user to authenticate)

登录(每个服务商仅需一次操作 — 打开浏览器供用户完成身份验证)

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 notebooklm
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 notebooklm

Chat with a single provider

与单个服务商的AI对话

npx 10x-chat@latest chat -p "Review this code for bugs" --provider chatgpt --file "src/**/*.ts"
npx 10x-chat@latest chat -p "Review this code for bugs" --provider chatgpt --file "src/**/*.ts"

Multi-provider fan-out (coming v0.2)

多服务商并行请求(将于v0.2版本推出)

npx 10x-chat@latest chat -p "Review this PR" --providers chatgpt,gemini,claude --file "src/**"

npx 10x-chat@latest chat -p "Review this PR" --providers chatgpt,gemini,claude --file "src/**"

Dry run (preview the prompt bundle without sending)

试运行(预览将发送的提示词内容,实际不发送)

npx 10x-chat@latest chat --dry-run -p "Debug this error" --file src/
npx 10x-chat@latest chat --dry-run -p "Debug this error" --file src/

Copy bundle to clipboard (manual paste fallback)

将提示词包复制到剪贴板(手动粘贴备用方案)

npx 10x-chat@latest chat --copy -p "Explain this" --file "src/**"
npx 10x-chat@latest chat --copy -p "Explain this" --file "src/**"

Check recent sessions

查看最近会话

npx 10x-chat@latest status
npx 10x-chat@latest status

View a session's response

查看某会话的回复内容

npx 10x-chat@latest session <id> --render
npx 10x-chat@latest session <id> --render

NotebookLM — manage notebooks & sources

NotebookLM 相关操作 — 管理笔记本与数据源

npx 10x-chat@latest notebooklm list # List notebooks npx 10x-chat@latest notebooklm create "My Research" # Create notebook npx 10x-chat@latest notebooklm add-url <id> https://... # Add URL source npx 10x-chat@latest notebooklm add-file <id> ./paper.pdf # Upload file source npx 10x-chat@latest notebooklm sources <id> # List sources npx 10x-chat@latest notebooklm summarize <id> # AI summary npx 10x-chat@latest chat -p "Summarize" --provider notebooklm # Chat with NotebookLM
undefined
npx 10x-chat@latest notebooklm list # 列出所有笔记本 npx 10x-chat@latest notebooklm create "My Research" # 创建笔记本 npx 10x-chat@latest notebooklm add-url <id> https://... # 添加URL数据源 npx 10x-chat@latest notebooklm add-file <id> ./paper.pdf # 上传文件数据源 npx 10x-chat@latest notebooklm sources <id> # 列出数据源 npx 10x-chat@latest notebooklm summarize <id> # AI生成摘要 npx 10x-chat@latest chat -p "Summarize" --provider notebooklm # 与NotebookLM对话
undefined

Tips

使用技巧

  • Login first: Run
    npx 10x-chat@latest login <provider>
    once per provider. The session persists.
  • Keep file sets small: fewer files + a focused prompt = better answers.
  • Don't send secrets: exclude
    .env
    , key files, auth tokens from
    --file
    patterns.
  • Use
    --dry-run
    to preview what will be sent before committing to a run.
  • Timeouts: Default is 5 minutes. Use
    --timeout <ms>
    for long-thinking models.
  • NotebookLM: Add sources first (
    notebooklm add-url
    /
    add-file
    ), then chat with
    --provider notebooklm
    .
  • 先完成登录:针对每个服务商运行一次
    npx 10x-chat@latest login <provider>
    ,会话状态会被持久化保存。
  • 控制文件范围:文件数量越少+提示词越聚焦,得到的回答质量越高。
  • 切勿包含敏感信息:在
    --file
    的匹配规则中排除
    .env
    、密钥文件、认证令牌等。
  • 使用
    --dry-run
    参数
    :在正式发送前预览将要提交的内容。
  • 超时设置:默认超时时间为5分钟。对于需要长时间思考的模型,可使用
    --timeout <ms>
    参数调整。
  • NotebookLM 使用步骤:先添加数据源(
    notebooklm add-url
    /
    add-file
    ),再通过
    --provider notebooklm
    参数与之对话。

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.
  • 切勿在打包文件中包含凭证、API密钥或令牌。
  • 本工具会打开带有真实登录状态的浏览器窗口,请像对待自己的浏览器会话一样妥善使用。