Community编程与开发github.com

Connect

将Claude连接到任何应用。发送邮件、创建问题、发布消息、更新数据库——在Gmail、Slack、GitHub、Notion及1000多个服务中执行真实操作。

Connect 是什么?

Connect技能允许Claude直接与1000多个外部应用程序交互,如Gmail、Slack、GitHub、Notion、PostgreSQL等。它不再是生成文本建议,而是实际执行操作,例如发送电子邮件、创建GitHub问题、发布Slack消息或更新数据库。该技能使用Composio工具路由器自动处理OAuth认证、工具选择和执行。支持Python、TypeScript以及多种AI框架,如Claude Agent SDK、OpenAI Agents、Vercel AI和LangChain。集成后,用户只需一条自然语言指令即可完成跨应用的链式操作,无需手动切换或授权。

兼容平台✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/ComposioHQ/awesome-claude-skills/tree/master/connect

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

预览

来自技能 README

Connect preview

文档

Connect 是做什么的?

将Claude连接到任何应用。别再仅仅生成文本描述你打算做什么——真正去执行它。

何时使用此技能

在需要Claude执行以下操作时使用此技能:

  • 发送那封邮件,而不是起草它
  • 创建那个问题,而不是描述它
  • 发布那条消息,而不是建议它
  • 更新那个数据库,而不是解释如何操作

变化对比

没有Connect有了Connect
“这是一封邮件草稿…”发送了邮件
“你应该创建一个问题…”创建了问题
“把这个发到Slack…”发布了它
“把这个添加到Notion…”添加了它

支持的应用

1000多个集成,包括:

  • 邮件: Gmail、Outlook、SendGrid
  • 聊天: Slack、Discord、Teams、Telegram
  • 开发: GitHub、GitLab、Jira、Linear
  • 文档: Notion、Google Docs、Confluence
  • 数据: Sheets、Airtable、PostgreSQL
  • CRM: HubSpot、Salesforce、Pipedrive
  • 存储: Drive、Dropbox、S3
  • 社交: Twitter、LinkedIn、Reddit

设置

1. 获取API密钥

在 platform.composio.dev 免费获取密钥

2. 设置环境变量

export COMPOSIO_API_KEY="your-key"

3. 安装

pip install composio          # Python
npm install @composio/core    # TypeScript

完成。Claude现在可以连接到任何应用了。

示例

发送邮件

给[email protected]发邮件 - 主题:“已发货!” 正文:“v2.0已上线,如有问题请告知”

创建GitHub问题

在my-org/repo中创建问题:“移动端超时错误” 标签:bug

发布到Slack

发布到#engineering:“部署完成 - v2.4.0已上线”

链式操作

查找本周标记为“bug”的GitHub问题,汇总,然后发布到Slack的#bugs频道

工作原理

使用Composio工具路由器:

  1. 你要求 Claude做某事
  2. 工具路由器找到合适的工具(1000多个选项)
  3. 自动处理 OAuth认证
  4. 执行操作并返回结果

代码

from composio import Composio
from claude_agent_sdk.client import ClaudeSDKClient
from claude_agent_sdk.types import ClaudeAgentOptions
import os

composio = Composio(api_key=os.environ["COMPOSIO_API_KEY"])
session = composio.create(user_id="user_123")

options = ClaudeAgentOptions(
    system_prompt="你可以在外部应用中执行操作。",
    mcp_servers={
        "composio": {
            "type": "http",
            "url": session.mcp.url,
            "headers": {"x-api-key": os.environ["COMPOSIO_API_KEY"]},
        }
    },
)

async with ClaudeSDKClient(options) as client:
    await client.query("发送Slack消息到#general:你好!")

认证流程

第一次使用某个应用时:

要发送邮件,我需要Gmail访问权限。
请在此授权:https://...
完成后回复“已连接”。

之后连接会持久保存。

框架支持

框架安装方式
Claude Agent SDKpip install composio claude-agent-sdk
OpenAI Agentspip install composio openai-agents
Vercel AInpm install @composio/core @composio/vercel
LangChainpip install composio-langchain
任意MCP客户端使用 session.mcp.url

故障排查

  • 需要认证 → 点击链接,授权,回复“已连接”
  • 操作失败 → 检查目标应用中的权限
  • 未找到工具 → 请具体说明:例如“Slack #general”而非“发送消息”

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

ably-automation

Automate Ably tasks via Rube MCP (Composio). Always search tools first for current schemas.

abstract-automation

Automate Abstract tasks via Rube MCP (Composio). Always search tools first for current schemas.

abuselpdb-automation

Automate Abuselpdb tasks via Rube MCP (Composio). Always search tools first for current schemas.

abyssale-automation

Automate Abyssale tasks via Rube MCP (Composio). Always search tools first for current schemas.

accelo-automation

Automate Accelo tasks via Rube MCP (Composio). Always search tools first for current schemas.

accredible-certificates-automation

Automate Accredible Certificates tasks via Rube MCP (Composio). Always search tools first for current schemas.

acculynx-automation

Automate Acculynx tasks via Rube MCP (Composio). Always search tools first for current schemas.

active-campaign-automation

Automate ActiveCampaign tasks via Rube MCP (Composio). Always search tools first for current schemas.

addresszen-automation

Automate Addresszen tasks via Rube MCP (Composio). Always search tools first for current schemas.

adobe-automation

Automate Adobe tasks via Rube MCP (Composio). Always search tools first for current schemas.

adrapid-automation

Automate Adrapid tasks via Rube MCP (Composio). Always search tools first for current schemas.

adyntel-automation

Automate Adyntel tasks via Rube MCP (Composio). Always search tools first for current schemas.

aeroleads-automation

Automate Aeroleads tasks via Rube MCP (Composio). Always search tools first for current schemas.

aero-workflow-automation

Automate Aero Workflow tasks via Rube MCP (Composio). Always search tools first for current schemas.

affinda-automation

Automate Affinda tasks via Rube MCP (Composio). Always search tools first for current schemas.

affinity-automation

Automate Affinity tasks via Rube MCP (Composio). Always search tools first for current schemas.

agencyzoom-automation

Automate Agencyzoom tasks via Rube MCP (Composio). Always search tools first for current schemas.

agent-mail-automation

Automate Agent Mail tasks via Rube MCP (Composio). Always search tools first for current schemas.

agentql-automation

Automate Agentql tasks via Rube MCP (Composio). Always search tools first for current schemas.

agenty-automation

Automate Agenty tasks via Rube MCP (Composio). Always search tools first for current schemas.

相关技能