/install composiocli
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 # OAuth; interactive org/project picker (use -y to skip)
composio whoami # verify org_id, project_id, user_id
For agents without direct browser access: composio login --no-wait | jq to get URL/key, share URL with user, then composio login --key \x3Ccli_key> --no-wait once they complete login.
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 "\x3Cquery>"— find tools by use casecomposio execute "\x3CTOOL_SLUG>" -d '{...\x3Cinput params>}'— execute a toolcomposio link [toolkit]— connect a user account to an app (agents: always use--no-waitfor non-interactive mode)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
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install composiocli - 安装完成后,直接呼叫该 Skill 的名称或使用
/composiocli触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
composio cli 是什么?
Use 1000+ external apps via Composio - either directly through the CLI or by building AI agents and apps with the SDK. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 137 次。
如何安装 composio cli?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install composiocli」即可一键安装,无需额外配置。
composio cli 是免费的吗?
是的,composio cli 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
composio cli 支持哪些平台?
composio cli 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 composio cli?
由 eladrave(@eladrave)开发并维护,当前版本 v1.0.0。