title: βDex Skill for AI Agentsβ description: βInstall the Dex skill to give any AI agent full CRM capabilitiesβ
Dex Skill for AI Agents
The Dex Skill is an installable package that gives AI agents (like Claude Code) the knowledge and tools to manage your personal CRM. It combines tool access with CRM best practices β so your AI assistant doesnβt just execute commands, it understands how to be an effective relationship manager.MCP Server vs. Skill: The MCP Server provides the raw tools. The Skill wraps those tools with CRM expertise β meeting prep workflows, follow-up cadences, organizational strategies, and more. For the best experience, use both together.
Installation
- Claude Code
- Other AI Agents
Setup
On first use, the skill runs a setup script that automatically picks the best connection method for your environment:MCP tools detected
If
dex_* tools are already available (e.g., via the MCP Server), the skill uses them directly. No additional setup needed.Neither available β run setup
The skill runs
bash scripts/setup.sh which auto-detects your environment and picks the best path:| Environment | Method | Requires |
|---|---|---|
| Desktop with Go installed | Generates CLI binary via CLIHub + OAuth | Go 1.26+, browser |
| Desktop with Node.js | Configures hosted MCP server via add-mcp | Node.js, browser |
| SSH / headless with TTY | Device code flow (enter code on any device) | Internet access |
| CI / automation | Pre-built binary + API key | DEX_API_KEY env var |
Headless & CI Setup
For servers and CI pipelines where no browser is available:- Device Code Flow (Interactive)
- API Key (Non-Interactive)
If you have terminal access (SSH), the setup script automatically starts a device code flow:
- Downloads the CLI binary for your platform 2. Displays a short code (e.g.,
ABCD-1234) and a URL 3. Open the URL on any device, log into Dex, and enter the code 4. The CLI receives an API key and completes setup
Platform Support
Pre-built CLI binaries are available for:| OS | Architecture |
|---|---|
| macOS | Apple Silicon (arm64), Intel (amd64) |
| Linux | amd64, arm64 |
| Windows | amd64, arm64 |
Core Workflows
The skill teaches your AI assistant these CRM workflows:1. Find a Contact
Ask your agent to look up anyone by name, email, company, or any keyword. βLook up John from Acme Corpβ βWho do I know at Google?β βFind my contacts tagged as Investorβ The agent searches your contacts and retrieves full details including interaction history when needed.2. Add a New Contact
βAdd Jane Doe β sheβs VP Engineering at Acme Corp, email jane@acme.comβ The agent creates the contact and can immediately organize them with tags, groups, and reminders.3. Log an Interaction
βLog that I had a coffee meeting with Jake today. We discussed the Series A and heβs targeting Q3.β The agent creates a timestamped note on the contactβs timeline with the appropriate note type (Meeting, Call, Coffee, etc.).4. Set a Reminder
βRemind me to follow up with Maria in two weeks about the proposalβ The agent creates a reminder linked to the contact with the right due date. Supports recurring reminders:weekly, biweekly, monthly, quarterly, biannually, yearly.
5. Prep for a Meeting
βI have a meeting with Sarah Chen tomorrow β prep meβ The agent generates a meeting brief with: - Who they are (role, company, relationship context) - Last interaction (when, what was discussed) - Pending items (open reminders, action items) - Suggested talking points based on your history6. Organize Your Network
βTag everyone I met at the TechCrunch conference as βTC Disrupt 2026ββ βCreate a group called βAdvisory Boardβ and add Marcus and Lisaβ Tags are flat labels for cross-cutting categories (e.g., βInvestorβ, βCollege Friendβ). Groups are named collections with emoji and description (e.g., βπ Startup Advisorsβ).7. Track Custom Data
βCreate a custom field called βDeal Stageβ with options: Prospect, Qualified, Negotiation, Closedβ βSet Jakeβs deal stage to Qualifiedβ Three field types: free text (input), dropdown (autocomplete), and date (datepicker).
8. Merge Duplicates
βI think I have duplicate entries for Michael Johnson β can you check?β The agent searches for potential duplicates, shows you the differences, and merges them with your confirmation.CLI Reference
When using the CLI fallback, every MCP tool maps to a CLI subcommand:| MCP Tool | CLI Command |
|---|---|
dex_search_contacts | dex dex-search-contacts --query "..." |
dex_get_contact | dex dex-get-contact --id "..." |
dex_create_contact | dex dex-create-contact --first-name "..." --last-name "..." |
dex_update_contact | dex dex-update-contact --id "..." --company "..." |
dex_delete_contacts | dex dex-delete-contacts --from-json '{"contact_ids":["..."]}' |
dex_merge_contacts | dex dex-merge-contacts --from-json '{"contact_id_groups":[["id1","id2"]]}' |
dex_manage_tags | dex dex-manage-tags --action list |
dex_manage_groups | dex dex-manage-groups --action list |
dex_manage_notes | dex dex-manage-notes --action list --contact-id "..." |
dex_manage_reminders | dex dex-manage-reminders --action list |
dex_manage_custom_fields | dex dex-manage-custom-fields --action list |
--from-json:

