一键导入
intercom
Manage Intercom conversations, contacts, articles and help center via REST API
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Manage Intercom conversations, contacts, articles and help center via REST API
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Manage Cloudflare zones, DNS records, Workers, Pages and cache via API
Manage Cloudinary media assets, transformations and upload via REST API
Monitor infrastructure, query metrics, manage monitors and events via Datadog API
Manage DigitalOcean droplets, domains, databases, apps and volumes via API v2
Manage Firebase projects, Firestore, Auth users and Hosting via REST API
Manage MercadoPago payments, customers and account via API
| name | intercom |
| description | Manage Intercom conversations, contacts, articles and help center via REST API |
| user-invocable | true |
| argument-hint | ["conversation ID or contact email"] |
Connect to the Intercom REST API to manage conversations, contacts, articles and your help center. Pure Ruby, zero gems — stdlib only.
scripts/
├── auth.rb # Bearer token + intercom_request helper (required by all scripts)
├── check_setup.rb # Check if token exists (outputs OK or SETUP_NEEDED)
├── save_token.rb # Save and validate an API token
├── admins.rb # List admins/teammates
├── conversations.rb # List conversations
├── conversation.rb # Get conversation details
├── reply.rb # Reply to a conversation
├── contacts.rb # List or search contacts
├── contact.rb # Get contact details
├── articles.rb # List help center articles
└── article.rb # Get article details
ruby ~/.claude/skills/intercom/scripts/check_setup.rb
If the output is OK, proceed to the Flow section.
If the output is SETUP_NEEDED, guide the user step by step. Present ONE step at a time, wait for the user to confirm before moving to the next.
Step 1 — Ask the user to create an API token:
You need an Intercom API access token. Go to your Intercom Developer Hub:
- Navigate to Settings > Integrations > Developer Hub in your Intercom workspace
- Create or select an app, then go to Authentication
- Copy the Access Token
Or visit: https://app.intercom.com/a/apps/_/developer-hub
Copy the token and paste it here.
Step 2 — When the user pastes the token, save it:
ruby ~/.claude/skills/intercom/scripts/save_token.rb 'PASTED_TOKEN'
If the script outputs an error, the token is invalid. Ask the user to double-check and try again.
If setup is not complete, DO NOT proceed to the Flow. Complete all steps first.
The argument $ARGUMENTS may contain a conversation ID or contact email.
If $ARGUMENTS looks like a conversation ID (numeric), jump to Step 2b.
If $ARGUMENTS looks like an email address, jump to Step 3b.
Otherwise, ask the user what they want to do: conversations, contacts, or articles.
List recent conversations:
ruby ~/.claude/skills/intercom/scripts/conversations.rb
Present the conversations to the user and ask which one to view.
Get conversation details:
ruby ~/.claude/skills/intercom/scripts/conversation.rb CONVERSATION_ID
Present the conversation with its messages and ask if the user wants to reply.
Reply to a conversation (requires user confirmation):
First, list admins to get the admin ID:
ruby ~/.claude/skills/intercom/scripts/admins.rb
Then ask: "Do you want to reply to this conversation as ADMIN_NAME?" Show the reply body. Only execute after a "yes".
ruby ~/.claude/skills/intercom/scripts/reply.rb CONVERSATION_ID --admin_id ADMIN_ID --body "Reply text here"
List contacts:
ruby ~/.claude/skills/intercom/scripts/contacts.rb
Search contacts by email:
ruby ~/.claude/skills/intercom/scripts/contacts.rb --email user@example.com
Get contact details:
ruby ~/.claude/skills/intercom/scripts/contact.rb CONTACT_ID
List help center articles:
ruby ~/.claude/skills/intercom/scripts/articles.rb
Get article details:
ruby ~/.claude/skills/intercom/scripts/article.rb ARTICLE_ID
List admins/teammates:
ruby ~/.claude/skills/intercom/scripts/admins.rb
Intercom-Version: 2.11 header~/.config/intercom/token (outside the repo, never commit)https://api.intercom.io