“Send to Claude”的产品徽标图片

Send to Claude

Send to Claude的项目媒体 1(屏幕截图)

概述

通过 URL 参数、右键菜单和自定义提示向 Claude 发送文本

【详细描述】 ■ 概述 Send to Claude 是一个 Chrome 扩展程序,可以使用 URL 参数自动填充 Claude 的提示输入框并发送文本。 ■ 主要功能 ✓ 从 URL 参数自动填充提示 ✓ 用于外部集成的 JavaScript API ✓ 右键菜单发送选定文本到 Claude ✓ 支持大容量提示发送 ■ 使用方法 【基本用法】 只需在 Claude URL 中添加 `?prompt=` 参数即可。 示例: https://claude.ai/new?prompt=告诉我今天的天气 访问此 URL 时,会自动输入并发送"告诉我今天的天气"这个提示。 【禁用自动发送】 要仅填充提示而不自动发送,请添加 `autosubmit=false`。 示例: https://claude.ai/new?prompt=解释人工智能&autosubmit=false 在这种情况下,提示会被填充,但不会按下发送按钮。 【通过 JavaScript API 使用】 您可以直接从网页调用此扩展程序。 ■ 基本用法: ```javascript const extensionId = "gcbomhdkipopmgjemnonhhmmfggffnno"; // 向 Claude 发送提示 chrome.runtime.sendMessage( extensionId, { type: "autofill", prompt: "告诉我今天的天气", autoSubmit: true // false: 不发送 }, (response) => { if (chrome.runtime.lastError) { console.error("发送失败:", chrome.runtime.lastError.message); } else if (response && response.success) { console.log("发送成功:", response); } } ); ``` ■ Promise 版本(支持 async/await): ```javascript function sendToClaude({ prompt, autoSubmit = true }) { return new Promise((resolve, reject) => { chrome.runtime.sendMessage( extensionId, { type: "autofill", prompt, autoSubmit }, (response) => { if (chrome.runtime.lastError) { reject(new Error(chrome.runtime.lastError.message)); } else if (response?.success) { resolve(response); } else { reject(new Error("请求失败")); } } ); }); } // 使用示例 async function askClaude() { try { await sendToClaude({ prompt: "解释人工智能", autoSubmit: true }); console.log("已发送到 Claude"); } catch (error) { console.error("错误:", error.message); } } ``` ■ 连接检查(ping): ```javascript // 检查扩展程序是否可用 chrome.runtime.sendMessage( extensionId, { type: "ping" }, (response) => { if (chrome.runtime.lastError) { console.log("未找到扩展程序"); } else { console.log("连接成功:", response); } } ); ``` ■ JavaScript API 的优势: - 支持大型提示(数千行数据) - 无 URL 长度限制 - 可从 Web 应用程序直接操作 Claude - 可通过用户操作(如点击)触发 ■ 注意事项: - 不支持 file:// 协议(需要 http:// 或 https://) 【右键菜单集成】 在任何网页上选择文本,右键单击可在上下文菜单中看到"发送到 Claude"。 ■ 基本功能: 直接将选定的文本发送到 Claude。 ■ 使用方法: 1. 在任何网页上选择文本 2. 右键单击并选择"发送到 Claude" 3. Claude 标签页打开并填充选定的文本 【自定义提示】 从设置页面将常用提示注册为自定义菜单项。 ■ 设置自定义提示: 1. 右键单击扩展程序图标 → 选择"选项" 或在任何地方右键单击并选择"⚙️ 配置自定义提示" 2. 点击"添加新提示" 3. 输入菜单标签(例如"翻译成英文")和提示模板(例如"请将以下文本翻译成英文:") 4. 选择启用/禁用自动发送(默认启用) 5. 点击保存 ■ 使用自定义提示: 1. 在任何网页上选择文本 2. 右键单击并选择您的自定义提示 3. 自定义提示和选定文本组合后发送到 Claude ■ 自定义提示的优势: - 一键执行常见任务 - 按任务组织提示(翻译、摘要、代码解释等) - 与团队共享标准化提示 - 按提示配置自动发送 【通过 URL 添加自定义提示】 您可以直接从外部 URL 添加自定义提示。在网站或博客上放置“添加此提示”链接,即可一键注册自定义提示。 ■ URL 格式: chrome-extension://gcbomhdkipopmgjemnonhhmmfggffnno/add_custom_prompt.html?label=菜单标签&prompt=提示模板&auto_submit=1 ■ 参数: - label:菜单标签(例如:翻译成英文) - prompt:提示模板(例如:请将以下文本翻译成英文:) - auto_submit:启用/禁用自动发送(可选,默认:true。设置 false 或 0 以禁用) ■ 使用方法: 1. 访问上述格式的 URL 2. 显示带有预填参数的注册表单 3. 根据需要编辑内容并点击保存 ■ 基于 URL 注册的使用案例: - 在网站或博客上放置“添加此提示”链接 - 分发 URL 以在团队内共享自定义提示 - 从提示集合页面一键添加 ■ 使用案例 【书签】 将常用提示保存为书签以便快速访问。 【Web 应用集成】 使用 JavaScript API 直接从 Web 应用程序调用 Claude。 例如:用 Claude 解释数据分析结果、与代码生成工具集成等 【处理大量数据】 通过 JavaScript API,您可以发送数千行数据或代码到 Claude,无需担心 URL 长度限制。 【团队共享】 将特定任务或问题转换为 URL,与团队共享。 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 【更新历史】 ■ 版本 1.0.0 ✓ 初始版本 ✓ 从 URL 参数自动填充提示 ✓ 通过 JavaScript API 进行外部集成 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

0 星(5 星制)无评分

详细了解结果和评价。

详情

  • 版本
    1.0.0
  • 上次更新日期
    2026年6月14日
  • 提供方
    takoyaki
  • 大小
    55.78KiB
  • 语言
    8 种语言
  • 开发者
    邮箱
    takoyaki.jp@ymail.ne.jp
  • 非交易者
    该开发者尚未将自己标识为交易者。欧盟地区消费者须知:消费者权利可能不适用于您与该开发者达成的合约。

隐私权

管理扩展程序并了解它们在组织中的使用情况
该开发者已披露,此产品不会收集或使用您的数据。

该开发者已声明,您的数据:

  • 不会因未获批准的用途出售给第三方
  • 不会为实现与产品核心功能无关的目的而使用或转移
  • 不会为确定信用度或放贷目的而使用或转移

相关

Gemini Ultimate

5.0

Uses Gemini's ?q= URL parameter to automatically fill and send your prompts.

Claude QoL - Export, Fork, Search, and more

4.9

Collection of Claude enhancements: Exporting/Importing chats, Forking, Text Search, Bookmarks, TTS, and more.

Promptimize AI: Your Personal AI Prompt Engineer — Across All AI Platforms

3.9

Your Personal AI Prompt Engineer — Across All AI Platforms | ChatGPT, Claude, Gemini, DeepSeek & more

Claude Usage Tracker

4.8

Helps you track your claude.ai usage caps based on tokens sent.

Claude Code Preview

0.0

Live deployment preview panel for Claude Code — see your Netlify/Vercel site alongside your chat.

Claude Toolbox - Chat History Search, Bookmarks & Export

4.2

Search Claude AI chat history, bookmark key messages, and export conversations to TXT or JSON. Find any Claude chat in seconds.

Claude Fable 5 Limit & Usage Tracker - ClaudeKarma

4.9

Track your Claude AI usage limits at a glance: Fable 5, session and weekly limits with a beautiful toolbar icon.

Send to Gemini

3.0

通过 URL 参数、右键菜单和自定义提示向 Gemini Chat 发送文本

Superpower Multi-AI Chat: ChatGPT, Claude AI, Gemini, Grok, Deepseek...

3.0

Send prompts to multiple AI sites simultaneously

在新标签页中打开 Claude AI

5.0

将新标签页转换为 Claude AI - 您的工作、学习和创意智能助手

Claude to PDF

4.7

使用Claude to PDF扩展轻松将Claude对话保存为PDF。快速导出Claude对话到PDF。

Claude Exporter

5.0

Export conversations and artifacts from Claude.ai

Gemini Ultimate

5.0

Uses Gemini's ?q= URL parameter to automatically fill and send your prompts.

Claude QoL - Export, Fork, Search, and more

4.9

Collection of Claude enhancements: Exporting/Importing chats, Forking, Text Search, Bookmarks, TTS, and more.

Promptimize AI: Your Personal AI Prompt Engineer — Across All AI Platforms

3.9

Your Personal AI Prompt Engineer — Across All AI Platforms | ChatGPT, Claude, Gemini, DeepSeek & more

Claude Usage Tracker

4.8

Helps you track your claude.ai usage caps based on tokens sent.

Claude Code Preview

0.0

Live deployment preview panel for Claude Code — see your Netlify/Vercel site alongside your chat.

Claude Toolbox - Chat History Search, Bookmarks & Export

4.2

Search Claude AI chat history, bookmark key messages, and export conversations to TXT or JSON. Find any Claude chat in seconds.

Claude Fable 5 Limit & Usage Tracker - ClaudeKarma

4.9

Track your Claude AI usage limits at a glance: Fable 5, session and weekly limits with a beautiful toolbar icon.

Send to Gemini

3.0

通过 URL 参数、右键菜单和自定义提示向 Gemini Chat 发送文本

Google 应用