| name | composio |
| description | 第三方应用集成技能。通过 Composio 连接1000+外部应用(Gmail、Slack、GitHub等)。当用户说"连接外部应用"、"集成API"、"第三方服务"时使用。 |
| tags | ["composio","tool-router","agents","mcp","tools","api","automation","cli"] |
| triggers | ["composio","外部应用","第三方集成","API集成","连接Gmail","连接Slack"] |
When to Apply
- User wants to access or interact with external apps (Gmail, Slack, GitHub, Notion, etc.)
- User wants to automate a task using an external service (send email, create issue, post message)
- Building an AI agent or app that integrates with external tools
- Multi-user apps that need per-user connections to external services
Setup
Check if the CLI is installed; if not, install it:
curl -fsSL https://composio.dev/install | bash
After installation, restart your terminal or source your shell config, then authenticate:
composio login
composio whoami
1. Use Apps via Composio CLI
Use this when: The user wants to take action on an external app directly — no code writing needed. The agent uses the CLI to search, connect, and execute tools on behalf of the user.
Key commands (new top-level aliases):
composio search "<query>" — find tools by use case
composio execute "<TOOL_SLUG>" -d '{...<input params>}' — execute a tool
composio link [toolkit] — connect a user account to an app
composio listen — listen for real-time trigger events
Typical workflow: search → link (if needed) → execute
Full reference: Composio CLI Guide
2. Building Apps and Agents with Composio
Use this when: Writing code — an AI agent, app, or backend service that integrates with external tools via the Composio SDK.
Run this first inside the project directory to set up the API key:
composio init
Full reference: Building with Composio