home / skills / codingheader / myskills / connect

connect skill

/skills/connect

This skill lets Claude perform real actions across apps like sending emails, creating issues, posting messages, and updating data.

npx playbooks add skill codingheader/myskills --skill connect

Review the files below or copy the command above to add this skill to your agents.

Files (1)
SKILL.md
3.9 KB
---
name: connect
description: Connect Claude to any app. Send emails, create issues, post messages, update databases - take real actions across Gmail, Slack, GitHub, Notion, and 1000+ services.
---

# 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 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. Get API Key

Get your free key at [platform.composio.dev](https://platform.composio.dev/?utm_source=Github&utm_content=AwesomeSkills)

### 2. Set Environment Variable

```bash
export COMPOSIO_API_KEY="your-key"
```

### 3. Install

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

Done. Claude can now connect to any app.

## Examples

### Send Email
```
Email [email protected] - 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

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

| Framework | Install |
|-----------|---------|
| Claude Agent SDK | `pip install composio claude-agent-sdk` |
| OpenAI Agents | `pip install composio openai-agents` |
| Vercel AI | `npm install @composio/core @composio/vercel` |
| LangChain | `pip install composio-langchain` |
| Any MCP Client | Use `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>

Overview

This skill connects Claude to real apps so the assistant can take actions instead of only suggesting them. It supports 1000+ integrations—Gmail, Slack, GitHub, Notion, databases, CRMs, storage, and more—so Claude can send emails, create issues, post messages, and update records across services.

How this skill works

You ask Claude to perform an action and the tool router picks the correct integration from the catalog. OAuth flows are handled automatically; once you authorize an app the connection persists and Claude executes the requested action and returns the result. A lightweight SDK and environment variable for the API key let you initialize sessions and route requests programmatically.

When to use it

  • You want Claude to actually send an email instead of drafting one.
  • You need an issue created on GitHub, Jira, or GitLab without manual steps.
  • You want messages posted to Slack, Discord, or Teams from a summary or alert.
  • You need records added or updated in Notion, Airtable, Google Sheets, or a database.
  • You want to chain actions: collect data, summarize, and post or create tickets.

Best practices

  • Authorize only the apps Claude needs and verify scopes before granting access.
  • Be specific about targets (e.g., "Slack #engineering" or "repo: my-org/repo") to avoid tool-matching errors.
  • Start with a dry-run phrasing when testing (e.g., "Prepare and confirm before sending") to avoid unintended changes.
  • Use role-based accounts or service integrations for automation to keep actions auditable.
  • Check action results and logs after first runs to confirm permissions and expected behavior.

Example use cases

  • Send a release announcement to a mailing list and post a deploy message to Slack in one command.
  • Create a GitHub issue with labels and assignees from a bug summary produced by Claude.
  • Query recent bugs from a repo, summarize them, and post the summary to a #bugs channel.
  • Add meeting notes to Notion and update a CRM contact record after a call.
  • Insert processed data into PostgreSQL or Airtable as part of an automated workflow.

FAQ

How do I get started?

Get an API key from the provider, set it as an environment variable, install the composio client, and initialize a session for Claude to use.

What happens when an app needs authorization?

An OAuth link is provided; authorize the app once and say 'connected' so the tool persists the connection for future actions.