intercom
Skill38 starsChanged 8 months agoMITView on GitHub
Manage Intercom conversations, contacts, articles and help center via REST API
4 other projects use a version of this.
Adopted by
Most recently taken up by
- Trac-Systems/intercomtheir own version, first seen Oct 23, 2026
- apideck-libraries/api-skillstheir own version, first seen Aug 13, 2026
- sanztheo/claude-intercomtheir own version, first seen Mar 18, 2026
- presmihaylov/skillstheir own version, first seen Mar 5, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- Trac-Systems/intercom★ 21same name
- apideck-libraries/api-skills★ 4same name
- presmihaylov/skills★ 2same name
- sanztheo/claude-intercom★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository36 other files it gives its agents.
- abacatepaySkill
- appsignalSkill
- clickupSkill
- cloudflareSkill
- cloudinarySkill
- datadogSkill
- digitaloceanSkill
- discordSkill
- firebaseSkill
- flyioSkill
- google-sheetsSkill
- herokuSkill
- honeybadgerSkill
- hostingerSkill
- hubspotSkill
- jiraSkill
- linearSkill
- mercadopagoSkill
- n8nSkill
- notionSkill
- openaiSkill
- planetscaleSkill
- posthogSkill
- railwaySkill
- resendSkill
- rewriteSkill
- sentrySkill
- shopifySkill
- slackSkill
- stripeSkill
- supabaseSkill
- trelloSkill
- twilioSkill
- vercelSkill
- xSkill
- zendeskSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 35
If the output is OK, proceed to the Flow section.
- Very specific: line 37
If the output is SETUP_NEEDED, guide the user step by step.
- Distinctive: line 57
If the script outputs an error, the token is invalid.
- Very specific: line 67
If $ARGUMENTS looks like a conversation ID (numeric), jump to Step 2b.
- Very specific: line 68
If $ARGUMENTS looks like an email address, jump to Step 3b.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/intercom
Connect to the Intercom REST API to manage conversations, contacts, articles and your help center. Pure Ruby, zero gems — stdlib only.
Structure
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 detailsSetup (check before using)
ruby ~/.claude/skills/intercom/scripts/check_setup.rbIf 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.
Flow
The argument $ARGUMENTS may contain a conversation ID or contact email.
Step 1: Overview
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.
Step 2: Conversations
List recent conversations:
ruby ~/.claude/skills/intercom/scripts/conversations.rbPresent the conversations to the user and ask which one to view.
Get conversation details:
ruby ~/.claude/skills/intercom/scripts/conversation.rb CONVERSATION_IDPresent 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.rbThen 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"Step 3: Contacts
List contacts:
ruby ~/.claude/skills/intercom/scripts/contacts.rbSearch contacts by email:
ruby ~/.claude/skills/intercom/scripts/contacts.rb --email user@example.comGet contact details:
ruby ~/.claude/skills/intercom/scripts/contact.rb CONTACT_IDStep 4: Articles
List help center articles:
ruby ~/.claude/skills/intercom/scripts/articles.rbGet article details:
ruby ~/.claude/skills/intercom/scripts/article.rb ARTICLE_IDStep 5: Admins
List admins/teammates:
ruby ~/.claude/skills/intercom/scripts/admins.rbNotes
- Pure Ruby, zero gems — stdlib only (json, net/http, uri, fileutils)
- Auth via Bearer token with
Intercom-Version: 2.11header - Token file:
~/.config/intercom/token(outside the repo, never commit) - Replying to conversations requires explicit user confirmation
- Base URL:
https://api.intercom.io
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

