connect
它能做什么
这个技能让 AI 智能体通过 Composio 命令行工具,在你的应用中执行真实操作。适合希望智能体真正完成发送消息等任务、而不只是提出建议的人。
适用场景
- ✓当你希望直接从终端发送邮件,而不只是起草邮件时。
- ✓当你需要发布 Slack 消息或创建 Notion 页面时。
- ✓当你希望通过已连接的应用更新数据库记录时。
技能链接
https://github.com/composio-community/awesome-codex-skills/blob/master/connect/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我在我们的 Slack 频道发布一条部署完成的通知。”
每周 5 个新技能,1 分钟读完。
工作原理
你需要安装 Composio 工具、登录,并连接你想使用的应用。之后,智能体会使用该工具在应用中执行你要求的操作。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Connect
Connect Codex to any app using the Composio CLI. Stop generating text about what you could do - actually do it from the shell.
When to Use This Skill
Use this skill when you need Codex 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. Install the Composio CLI
curl -fsSL https://composio.dev/install | bash
2. Log In
composio login
composio whoami
This opens a browser for authentication and lets you pick your default org and project. Use -y to skip prompts in automated flows.
3. Link the Toolkits You Need
composio link github
composio link gmail
composio link slack
Each command walks through OAuth once, then the connection persists.
Done. Codex can now drive any connected app from the shell.
Core Workflow
- Know the tool slug? →
composio execute - Don't know the slug? →
composio search - Need clarification on inputs? →
composio execute --get-schemaor--dry-run - Toolkit not connected? →
composio link <toolkit>and retry - Multiple steps needed? →
composio runfor workflows,composio proxyfor raw API calls
Examples
Discover a Tool
composio search "create a github issue"
composio search "send an email" --toolkits gmail
Inspect Inputs Before Calling
composio tools info GITHUB_CREATE_ISSUE
composio execute GITHUB_CREATE_ISSUE --get-schema
composio execute GITHUB_CREATE_ISSUE --dry-run -d '{"owner":"acme","repo":"app","title":"Bug"}'
Send an Email
composio execute GMAIL_SEND_EMAIL -d '{
"recipient_email": "sarah@acme.com",
"subject": "Shipped!",
"body": "v2.0 is live, let me know if issues"
}'
Create a GitHub Issue
composio execute GITHUB_CREATE_ISSUE -d '{
"owner": "my-org",
"repo": "repo",
"title": "Mobile timeout bug",
"labels": ["bug"]
}'
Post to Slack
composio execute SLACK_SEND_MESSAGE -d '{
"channel": "engineering",
"text": "Deploy complete - v2.4.0 live"
}'
Run Calls in Parallel
composio execute --parallel \
GMAIL_FETCH_EMAILS -d '{"max_results": 2}' \
GITHUB_GET_THE_AUTHENTICATED_USER -d '{}'
Chain Actions with composio run
composio run '
const issues = await search("github issues labeled bug this week");
const summary = issues.map(i => `- ${i.title}`).join("\n");
await execute("SLACK_SEND_MESSAGE", {
channel: "bugs",
text: `This week’s bugs:\n${summary}`
});
'
Load reusable workflows from a file:
composio run --file ./workflow.ts -- --repo composiohq/composio
Raw API Access (proxy)
When no dedicated tool exists, hit the authenticated API directly:
composio proxy https://gmail.googleapis.com/gmail/v1/users/me/profile \
--toolkit gmail
composio proxy https://gmail.googleapis.com/gmail/v1/users/me/drafts \
--toolkit gmail -X POST -H 'content-type: application/json' \
-d '{"message":{"raw":"..."}}'
How It Works
- You ask Codex to do something
- Codex picks a slug via
composio searchor prior knowledge - CLI checks connection, prompts
composio linkif missing - Action executes against the real API and returns JSON to stdout
Configuration
Global flags:
--log-level <all|trace|debug|info|warning|error|fatal|none>--helpfor per-command docs
Environment variables:
COMPOSIO_API_KEY- auth credential (set for non-interactive use)COMPOSIO_BASE_URL- custom API endpointCOMPOSIO_SESSION_DIR- override artifact storageCOMPOSIO_DISABLE_TELEMETRY=true- opt out of telemetry
Type-Safe SDK (Optional)
常见问题
支持哪些应用?
该技能列出了许多类别,包括邮件、聊天、开发者工具、文档、数据和 CRM 应用。
使用前需要先做设置吗?
需要。你需要安装工具、登录,并连接每个应用一次,之后才能使用这些连接。
可以在脚本中运行吗?
可以。登录步骤可以跳过提示,这在自动化运行中很有帮助。
详情
作者的原始描述
Connect Codex to any app via the Composio CLI. Send emails, create issues, post messages, update databases - take real actions across Gmail, Slack, GitHub, Notion, and 1000+ services from the terminal.
热度
- GitHub 星标
- 17k
- 排名
- #10749
- 许可证
- —
- 更新时间
- 2026/7/25
评论
- …
同一仓库的更多技能
agent-deep-links
17k帮你的智能体制作可点击的链接,直接在 Codex 或 Cursor 等应用中打开某个线程、文件、文件夹或设置。
brand-guidelines
17k帮你的智能体使用 OpenAI 风格的品牌颜色和字体来设计作品,使其与 Codex 的外观和感觉保持一致。
codebase-migrate
17k帮你的智能体规划并执行涉及数百个文件的大型代码迁移,例如框架升级或 API 重命名。
connect-apps
17k让你的智能体在 Gmail、Slack 和 GitHub 等应用中执行真实操作,例如发送邮件或创建问题单。