Auto-Pilot / 全自动
更新于 a month ago

connect

CComposioHQ
21.8k
ComposioHQ/awesome-claude-skills/connect
86
Agent 评分

💡 摘要

一项通过 API 集成,使 Claude 能够在 Gmail、Slack、GitHub 等 1000 多个应用程序中执行实际操作的技能。

🎯 适合人群

AI 智能体开发者生产力自动化工程师DevOps 工程师客户支持经理增长黑客

🤖 AI 吐槽:这是终极的'我来替你干'技能,把 Claude 从一个深思熟虑的顾问变成了一个能访问你所有账户的、过度热切的实习生。

安全分析中风险

该技能将操作执行委托给第三方服务(Composio),该服务获得用户账户(电子邮件、数据库、社交媒体)的广泛 OAuth 权限。这造成了高风险供应链和权限提升攻击面。缓解措施:严格审计并限制授予 Composio 连接的 OAuth 范围,并对敏感操作实施二次批准机制。


name: connect description: Connect Claude to any app. Send emails, create issues, post messages, update databases - take real actions across Gmail, Slack, GitHub, Notion, and 1000+ services.

Connect

Connect Claude to any app. Stop generating text about what you could do - actually do it.

When to Use This Skill

Use this skill when you need Claude to:

  • Send that email instead of drafting it
  • Create that issue instead of describing it
  • Post that message instead of suggesting it
  • Update that database instead of explaining how

What Changes

| Without Connect | With Connect | |-----------------|--------------| | "Here's a draft email..." | Sends the email | | "You should create an issue..." | Creates the issue | | "Post this to Slack..." | Posts it | | "Add this to Notion..." | Adds it |

Supported Apps

1000+ integrations including:

  • Email: Gmail, Outlook, SendGrid
  • Chat: Slack, Discord, Teams, Telegram
  • Dev: GitHub, GitLab, Jira, Linear
  • Docs: Notion, Google Docs, Confluence
  • Data: Sheets, Airtable, PostgreSQL
  • CRM: HubSpot, Salesforce, Pipedrive
  • Storage: Drive, Dropbox, S3
  • Social: Twitter, LinkedIn, Reddit

Setup

1. Get API Key

Get your free key at platform.composio.dev

2. Set Environment Variable

export COMPOSIO_API_KEY="your-key"

3. Install

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

Done. Claude can now connect to any app.

Examples

Send Email

Email sarah@acme.com - Subject: "Shipped!" Body: "v2.0 is live, let me know if issues"

Create GitHub Issue

Create issue in my-org/repo: "Mobile timeout bug" with label:bug

Post to Slack

Post to #engineering: "Deploy complete - v2.4.0 live"

Chain Actions

Find GitHub issues labeled "bug" from this week, summarize, post to #bugs on Slack

How It Works

Uses Composio Tool Router:

  1. You ask Claude to do something
  2. Tool Router finds the right tool (1000+ options)
  3. OAuth handled automatically
  4. Action executes and returns result

Code

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="You can take actions in external apps.", 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("Send Slack message to #general: Hello!")

Auth Flow

First time using an app:

To send emails, I need Gmail access.
Authorize here: https://...
Say "connected" when done.

Connection persists after that.

Framework Support

| Framework | Install | |-----------|---------| | Claude Agent SDK | pip install composio claude-agent-sdk | | OpenAI Agents | pip install composio openai-agents | | Vercel AI | npm install @composio/core @composio/vercel | | LangChain | pip install composio-langchain | | Any MCP Client | Use session.mcp.url |

Troubleshooting

  • Auth required → Click link, authorize, say "connected"
  • Action failed → Check permissions in target app
  • Tool not found → Be specific: "Slack #general" not "send message"

五维分析
清晰度9/10
创新性7/10
实用性10/10
完整性9/10
可维护性8/10
优缺点分析

优点

  • 庞大的集成库(1000+ 应用)
  • 清晰、以行动为导向的价值主张
  • 简化复杂的多步骤工作流
  • 支持多种 AI 智能体框架

缺点

  • 引入了巨大的安全和合规风险面
  • 依赖第三方服务(Composio)
  • 若提示词被误解可能导致意外操作
  • 需要管理众多服务的 OAuth 令牌

相关技能

mcp-builder

S
toolCode Lib / 代码库
90/ 100

“这份指南详尽到可能教会 AI 自己编写 MCP 服务器,从而让你失业。”

learn-claude-code

A
toolCode Lib / 代码库
88/ 100

“一个终于承认自己过去错误的教程比大多数都诚实,但仍然忍不住使用经典的'一个奇怪循环'过度简化。”

langsmith-fetch

A
toolCo-Pilot / 辅助式
86/ 100

“这是你 AI 智能体的绝佳调试器,前提是你的智能体犯的第一个错误不是忘了启用追踪。”

免责声明:本内容来源于 GitHub 开源项目,仅供展示和评分分析使用。

版权归原作者所有 ComposioHQ.