This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Intercom plugin for Claude Code and Google Antigravity — a skill-based integration (not compiled code). Skills are pure Markdown files the agent reads at runtime to interact with Intercom workspaces via a remote MCP server. Both platforms load the same skills/ directory.
User → Claude Code CLI → Skill (SKILL.md) → MCP Server (https://mcp.intercom.com/mcp) → Intercom API
- No build step, no dependencies, no tests. The plugin is entirely declarative.
.claude-plugin/plugin.jsondeclares theintercomMCP server inline. Don't add a.mcp.json: Antigravity never loads it, andagy plugin validate --strictfails on it..claude-plugin/plugin.jsonis the plugin manifest for Claude Code's plugin registry..antigravity-plugin/plugin.jsonis the Antigravity Plugin Marketplace manifest. Antigravity reads MCP servers frommcp_config.jsonand the card logo fromassets/logo.svg, both at the repo root.- Keep
versionin both manifests in step, and bump it on every published change so installed clients pick up the update. - The company is Fin and Intercom is its helpdesk product: use Fin for the publisher (
author) and Intercom for the product and its features. .claude/settings.local.jsonmanages local permissions (currently allows WebFetch from raw.githubusercontent.com).
Three skills live under skills/, each in its own directory:
| Skill | Trigger | Key Files |
|---|---|---|
install-messenger |
Explicit: /intercom:install-messenger [framework] |
SKILL.md, references/framework-guides.md |
intercom-analysis |
Auto-triggered by keywords | SKILL.md, references/mcp-tools.md |
customer-360 |
Explicit: /intercom:customer-360 [email or company name] |
SKILL.md |
Each skill directory contains:
SKILL.md— Main skill file with YAML frontmatter (name,description, optionaldisable-model-invocation,argument-hint) followed by Markdown instructions Claude reads at runtime.references/— Supplementary docs loaded on demand for progressive disclosure (keeps SKILL.md concise).
- Auto-triggered: No
disable-model-invocationin frontmatter. Claude activates the skill when the user's intent matches thedescriptionfield. - Explicit:
disable-model-invocation: truein frontmatter. Only invoked via/intercom:<skill-name>.
- Security-first:
install-messengerdefaults to JWT-based identity verification (HS256). Insecure mode requires explicit user opt-in. Never default to insecure installation. - Progressive disclosure: Keep SKILL.md focused on workflow logic. Move API references, framework-specific code, and tool documentation into
references/subdirectories. - Read-only access: The MCP server only supports search and retrieval operations — no create, update, or delete.
- Regional awareness: Intercom supports US, EU (Ireland), and Australia data residency. Currently US-only; EU/AU planned.
- Edit SKILL.md files or reference documents
- Test by running skills in Claude Code CLI (e.g.,
/intercom:install-messenger react) - For auto-triggered skills, test by typing natural language that matches the skill's
descriptionfield - Push to GitHub — the plugin registry picks up changes from the repository