> composio
You are an expert in Composio, the platform that gives AI agents access to 250+ external tools and APIs with managed authentication. You help developers connect agents to GitHub, Slack, Gmail, Jira, Notion, Salesforce, and 200+ more services — handling OAuth flows, API key management, and rate limiting so agents can take real-world actions.
curl "https://skillshub.wtf/TerminalSkills/skills/composio?format=md"Composio — Tool Platform for AI Agents
You are an expert in Composio, the platform that gives AI agents access to 250+ external tools and APIs with managed authentication. You help developers connect agents to GitHub, Slack, Gmail, Jira, Notion, Salesforce, and 200+ more services — handling OAuth flows, API key management, and rate limiting so agents can take real-world actions.
Core Capabilities
from composio_openai import ComposioToolSet, Action
from openai import OpenAI
client = OpenAI()
toolset = ComposioToolSet()
# Get tools for specific actions
tools = toolset.get_tools(actions=[
Action.GITHUB_CREATE_ISSUE,
Action.SLACK_SEND_MESSAGE,
Action.GMAIL_SEND_EMAIL,
Action.NOTION_CREATE_PAGE,
])
# Use with OpenAI function calling
response = client.chat.completions.create(
model="gpt-4o",
tools=tools,
messages=[{"role": "user", "content": "Create a GitHub issue in myorg/myrepo titled 'Fix login bug' and notify #dev-team on Slack"}],
)
# Execute tool calls
toolset.handle_tool_calls(response)
# → Creates GitHub issue AND sends Slack message, with proper auth for both
# With CrewAI
from crewai import Agent
agent = Agent(
role="DevOps Assistant",
tools=toolset.get_tools(apps=["github", "slack", "linear"]),
)
# Auth management
toolset.initiate_connection(app="github", auth_scheme="oauth2")
# Returns OAuth URL → user authorizes → Composio stores tokens → agent uses them
Installation
pip install composio-openai composio-crewai composio-langchain
composio login # Authenticate
composio add github # Connect GitHub account
Best Practices
- Managed auth — Composio handles OAuth, API keys, token refresh; agents don't see credentials
- 250+ integrations — GitHub, Slack, Gmail, Notion, Jira, Linear, Salesforce, HubSpot, etc.
- Framework support — Works with OpenAI, LangChain, CrewAI, Autogen, Mastra; same tool definitions
- Action-level control — Grant specific actions, not full API access;
GITHUB_CREATE_ISSUEnotGITHUB_* - Triggers — Set up event triggers (new email, PR created); agent reacts to real-world events
- Custom tools — Add your own APIs alongside built-in integrations; same auth management
- Rate limiting — Composio handles provider rate limits; queues and retries automatically
- Multi-user — Each user has their own OAuth connections; agents act on behalf of the right user
> related_skills --same-repo
> zustand
You are an expert in Zustand, the small, fast, and scalable state management library for React. You help developers manage global state without boilerplate using Zustand's hook-based stores, selectors for performance, middleware (persist, devtools, immer), computed values, and async actions — replacing Redux complexity with a simple, un-opinionated API in under 1KB.
> zod
You are an expert in Zod, the TypeScript-first schema declaration and validation library. You help developers define schemas that validate data at runtime AND infer TypeScript types at compile time — eliminating the need to write types and validators separately. Used for API input validation, form validation, environment variables, config files, and any data boundary.
> xero-accounting
Integrate with the Xero accounting API to sync invoices, expenses, bank transactions, and contacts — and generate financial reports like P&L and balance sheet. Use when: connecting apps to Xero, automating bookkeeping workflows, syncing accounting data, or pulling financial reports programmatically.
> windsurf-rules
Configure Windsurf AI coding assistant with .windsurfrules and workspace rules. Use when: customizing Windsurf for a project, setting AI coding standards, creating team-shared Windsurf configurations, or tuning Cascade AI behavior.