跳到正文
FunCoding

integrations

Use BEFORE recommending or installing any third-party SaaS SDK for email (Resend, SendGrid, Postmark, Mailgun), SMS (Twilio), messaging (Slack), calendar (Google Calendar), CRM (HubSpot, Salesforce), docs (Notion), or project management (Linear, GitHub). Butterbase covers most of these via manage_integrations (Composio-backed) — check first.

Star
537
许可证
MIT
最近提交
2026年10月31日

skills/integrations/SKILL.md

在 GitHub 上查看

Butterbase Integrations (Composio)

The manage_integrations MCP tool gives every Butterbase app access to Composio's toolkit catalog. Before installing a third-party SDK for any of the use cases below, check whether Composio covers it.

Decision rule

User wants: send email / Slack message / create calendar event / post GitHub issue / etc.

Step 1: manage_integrations(app_id, action: "list_available", search: "<keyword>")
Step 2: If a toolkit covers it → use the Composio path (configure → list_tools → execute_action)
Step 3: If no toolkit covers it OR latency is critical → fall back to a direct API call in a function

Common toolkit map

Use caseComposio toolkitReplaces
Send emailgmailResend, SendGrid, Postmark, Mailgun
Read inbox / searchgmailCustom IMAP, Nylas
Create calendar eventgoogle_calendarCal.com API, custom OAuth
Post Slack messageslackSlack Web API
Create GitHub issue / PRgithubOctokit
Notion page / database rownotionNotion API
Linear ticketlinearLinear SDK
HubSpot contact / dealhubspotHubSpot API
Salesforce recordsalesforceSalesforce REST

Always call list_available first — the catalog grows.

Flow

1. configure:      manage_integrations(app_id, action: "configure", toolkit: "gmail", scopes: ["gmail.send"])
2. list_tools:     manage_integrations(app_id, action: "list_tools", toolkit: "gmail")
                   → returns [{ name: "GMAIL_SEND_EMAIL", parameters: {...} }, ...]
3. execute_action: manage_integrations(
                     app_id, action: "execute_action",
                     tool_name: "GMAIL_SEND_EMAIL",
                     params: { to, subject, body },
                     user_id: "<end-user uuid>"   // omit for service-level
                   )

Per-user OAuth vs. service-level

  • Service-level (omit user_id): the integration runs as the app owner. Use for system notifications, internal automation.
  • Per-user (set user_id): the integration runs as the specified end-user. The user must have completed Composio's OAuth flow. Use for "send on behalf of user."

When NOT to use Composio

  • ❌ Latency-critical hot path (Composio adds a round-trip). Use a direct API call from a function.
  • ❌ Toolkit doesn't exist yet (check list_available). Fall back to a direct API call.
  • ❌ The user needs a custom auth flow that Composio doesn't support.

Documentation

For the catalog and per-toolkit scope reference, WebFetch https://docs.butterbase.ai/integrations or call butterbase_docs with topic: "integrations".

Anti-patterns

  • ❌ Recommending Resend / SendGrid without checking manage_integrations list_available first.
  • ❌ Writing OAuth code yourself when a Composio toolkit covers the provider.
  • ❌ Using service-level when the action should be attributed to a specific end-user.

相似的 Skill

rea-ci-tests-audit

MOmorluto/rea486k近 7 天新增 8,943 个 star

rea-changelog-update

MOmorluto/rea486k近 7 天新增 8,943 个 star

wizard

MAmattpocock/skills337k近 7 天新增 4,978 个 star

pr

MAmattpocock/skills337k近 7 天新增 4,978 个 star

triage

MAmattpocock/skills337k近 7 天新增 4,978 个 star

精选

git-guardrails-claude-code

阻止危险的 git 命令,避免误推、误删分支。

MAmattpocock/skills337k近 7 天新增 4,978 个 star