Get the FREE Ultimate OpenClaw Setup Guide →

connect

Use Caution
npx machina-cli add skill ECNU-ICALK/AutoSkill/connect --openclaw
Files (1)
SKILL.md
3.9 KB

Connect

Connect Claude to any app. Stop generating text about what you could do - actually do it.

When to Use This Skill

Use this skill when you need Claude 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 ConnectWith 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. Get API Key

Get your free key at platform.composio.dev

2. Set Environment Variable

export COMPOSIO_API_KEY="your-key"

3. Install

pip install composio          # Python
npm install @composio/core    # TypeScript

Done. Claude can now connect to any app.

Examples

Send Email

Email sarah@acme.com - Subject: "Shipped!" Body: "v2.0 is live, let me know if issues"

Create GitHub Issue

Create issue in my-org/repo: "Mobile timeout bug" with label:bug

Post to Slack

Post to #engineering: "Deploy complete - v2.4.0 live"

Chain Actions

Find GitHub issues labeled "bug" from this week, summarize, post to #bugs on Slack

How It Works

Uses Composio Tool Router:

  1. You ask Claude to do something
  2. Tool Router finds the right tool (1000+ options)
  3. OAuth handled automatically
  4. Action executes and returns result

Code

from composio import Composio
from claude_agent_sdk.client import ClaudeSDKClient
from claude_agent_sdk.types import ClaudeAgentOptions
import os

composio = Composio(api_key=os.environ["COMPOSIO_API_KEY"])
session = composio.create(user_id="user_123")

options = ClaudeAgentOptions(
    system_prompt="You can take actions in external apps.",
    mcp_servers={
        "composio": {
            "type": "http",
            "url": session.mcp.url,
            "headers": {"x-api-key": os.environ["COMPOSIO_API_KEY"]},
        }
    },
)

async with ClaudeSDKClient(options) as client:
    await client.query("Send Slack message to #general: Hello!")

Auth Flow

First time using an app:

To send emails, I need Gmail access.
Authorize here: https://...
Say "connected" when done.

Connection persists after that.

Framework Support

FrameworkInstall
Claude Agent SDKpip install composio claude-agent-sdk
OpenAI Agentspip install composio openai-agents
Vercel AInpm install @composio/core @composio/vercel
LangChainpip install composio-langchain
Any MCP ClientUse session.mcp.url

Troubleshooting

  • Auth required → Click link, authorize, say "connected"
  • Action failed → Check permissions in target app
  • Tool not found → Be specific: "Slack #general" not "send message"

<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>

Source

git clone https://github.com/ECNU-ICALK/AutoSkill/blob/main/SkillBank/Common/AwesomeClaudeSkills/connect/SKILL.mdView on GitHub

Overview

Connect Claude to Gmail, Slack, GitHub, Notion, and 1000+ services to take immediate actions. It moves beyond drafting and lets Claude perform tasks like sending emails, creating issues, posting messages, and updating databases. It uses a tool router and automatic OAuth to execute actions across apps.

How This Skill Works

Claude uses the Composio Tool Router to pick the right integration from 1000+ options, then handles OAuth automatically. After you request an action, the tool executes it and returns the result.

When to Use It

  • Send that email instead of drafting it
  • Create that GitHub issue instead of describing it
  • Post that message instead of suggesting it
  • Update a Notion database instead of explaining how
  • Chain actions across 1000+ services such as summarizing issues and posting results

Quick Start

  1. Step 1: Get API Key at platform.composio.dev
  2. Step 2: Set Environment Variable export COMPOSIO_API_KEY=your-key
  3. Step 3: Install client libraries: pip install composio; npm install @composio/core

Best Practices

  • Be explicit about the target app, resource, and action (for example Gmail to a specific recipient)
  • Use exact command syntax when possible (for example Create issue in org/repo: title with label: bug)
  • Verify OAuth scopes and permissions before running actions
  • Test with non destructive actions first
  • Review results and handle errors returned by the tool router

Example Use Cases

  • Send Email: Email sarah@acme.com - Subject: Shipped! Body: v2.0 is live, let me know if issues
  • Create GitHub Issue: Create issue in my-org/repo: Mobile timeout bug with label: bug
  • Post to Slack: Post to #engineering: Deploy complete - v2.4.0 live
  • Chain Actions: Find GitHub issues labeled bug from this week, summarize, post to Slack
  • Update Notion database: Add a row with Status Done and Release v2.4.0

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers