connect-apps
它能做什么
这个技能通过 Composio 命令行工具,将 AI 智能体连接到一千多个应用。适合希望智能体真正在应用中完成任务、而不只是描述任务的人。
适用场景
- ✓当你希望智能体直接发送邮件,而不只是起草邮件时。
- ✓当你需要创建问题单,或在团队聊天中发布消息时。
- ✓当你想在 Notion 等文档工具中添加笔记时。
技能链接
https://github.com/composio-community/awesome-codex-skills/blob/master/connect-apps/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请给 sarah@acme.com 发一封邮件,内容是发布详情,并在发送后告诉我。”
每周 5 个新技能,1 分钟读完。
工作原理
你需要安装 Composio 工具并登录一次。然后,你需要连接所需的每个应用,这一步会要求你批准访问权限。之后,智能体会针对每个请求执行相应的操作。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Connect Apps
Connect Claude to 1000+ apps using the Composio CLI. Actually send emails, create issues, post messages - not just generate text about it.
Quick Start
Step 1: Install the Composio CLI
curl -fsSL https://composio.dev/install | bash
Step 2: Log In
composio login
composio whoami
Opens a browser for auth, then prompts you to pick a default org and project. Use -y to skip prompts in scripts.
Step 3: Link the Apps You Need
composio link gmail
composio link slack
composio link github
Each command walks OAuth once; the connection then persists.
Step 4: Try It
composio execute GMAIL_SEND_EMAIL -d '{
"recipient_email": "YOUR_EMAIL@example.com",
"subject": "Composio test",
"body": "Hello from the CLI"
}'
If the email arrives, you're connected.
What You Can Do
| Ask Claude to... | Claude runs |
|---|---|
| "Send email to sarah@acme.com about the launch" | composio execute GMAIL_SEND_EMAIL -d '{...}' |
| "Create GitHub issue: fix login bug" | composio execute GITHUB_CREATE_ISSUE -d '{...}' |
| "Post to Slack #general: deploy complete" | composio execute SLACK_SEND_MESSAGE -d '{...}' |
| "Add meeting notes to Notion" | composio execute NOTION_CREATE_PAGE -d '{...}' |
Core Workflow
- Know the tool slug? →
composio execute <SLUG> -d '{...}' - Don't know it? →
composio search "what you want" - Need inputs? →
composio execute <SLUG> --get-schemaor--dry-run - Not connected? →
composio link <toolkit>and retry - Multi-step? →
composio runfor JS/TS workflows,composio proxyfor raw API
Supported Apps
Email: Gmail, Outlook, SendGrid Chat: Slack, Discord, Teams, Telegram Dev: GitHub, GitLab, Jira, Linear Docs: Notion, Google Docs, Confluence Data: Sheets, Airtable, PostgreSQL And 1000+ more...
Handy Commands
# Discover tools
composio search "create a github issue"
composio tools list gmail
composio tools info GITHUB_CREATE_ISSUE
# Inspect / dry-run before executing
composio execute GITHUB_CREATE_ISSUE --get-schema
composio execute GITHUB_CREATE_ISSUE --dry-run -d '{"owner":"acme","repo":"app","title":"Bug"}'
# Execute in parallel
composio execute --parallel \
GMAIL_FETCH_EMAILS -d '{"max_results": 2}' \
GITHUB_GET_THE_AUTHENTICATED_USER -d '{}'
# Multi-step workflow
composio run '
const issue = await execute("GITHUB_CREATE_ISSUE", {
owner: "acme", repo: "app", title: "Bug", body: "..."
});
console.log(issue);
'
# Raw API call when no dedicated tool exists
composio proxy https://gmail.googleapis.com/gmail/v1/users/me/profile --toolkit gmail
Configuration
Environment variables:
COMPOSIO_API_KEY- auth credential for non-interactive useCOMPOSIO_BASE_URL- custom API endpointCOMPOSIO_SESSION_DIR- override artifact storageCOMPOSIO_DISABLE_TELEMETRY=true- opt out
Global flags: --log-level <all|trace|debug|info|warning|error|fatal|none>, --help.
Troubleshooting
Not logged in→ runcomposio loginConnection required for <toolkit>→ runcomposio link <toolkit>- Unknown slug →
composio search "<goal>"orcomposio tools list <toolkit> - Bad inputs →
composio execute <SLUG> --get-schemathen--dry-run - Action failed → check permissions in the target app
Full reference: docs.composio.dev/docs/cli
<p align="center"> <b>Join 20,000+ developers building agents that ship</b> </p> <p align="center"> <a href="https://platform.composio.dev/?utm_source=Github&utm_content=AwesomeSkills"> <img src="https://img.shields.io/badge/Get_Started_Free-4F46E5?style=for-the-badge" alt="Get Started"/> </a> </p>
常见问题
我需要为每个应用分别登录吗?
需要。你需要通过登录步骤为每个应用批准一次访问权限,之后连接会保持有效。
它可以使用哪些应用?
它支持一千多种服务,包括 Gmail、Slack、GitHub 和 Notion。
我怎样知道操作是否成功?
该技能建议进行简短测试,例如给自己发送一封测试邮件,以确认连接正常。
详情
作者的原始描述
Connect Claude to external apps via the Composio CLI. Use this skill when the user wants to send emails, create issues, post messages, or take actions across Gmail, Slack, GitHub, Notion, and 1000+ services from the terminal.
热度
- GitHub 星标
- 17k
- 排名
- #10748
- 许可证
- —
- 更新时间
- 2026/7/25
评论
- …