Skip to main content

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 install-skill https://github.com/getdex/agent-skills/tree/main/dex-skill
The skill auto-detects whether MCP tools or the CLI are available and uses the best option.

Setup

On first use, the skill runs a setup script that automatically picks the best connection method for your environment:
1

MCP tools detected

If dex_* tools are already available (e.g., via the MCP Server), the skill uses them directly. No additional setup needed.
2

CLI installed

If ~/.dex/bin/dex exists and is authenticated, the skill uses CLI commands.
3

Neither available β€” run setup

The skill runs bash scripts/setup.sh which auto-detects your environment and picks the best path:
EnvironmentMethodRequires
Desktop with Go installedGenerates CLI binary via CLIHub + OAuthGo 1.26+, browser
Desktop with Node.jsConfigures hosted MCP server via add-mcpNode.js, browser
SSH / headless with TTYDevice code flow (enter code on any device)Internet access
CI / automationPre-built binary + API keyDEX_API_KEY env var
The setup script is idempotent β€” safe to run multiple times. It skips steps that are already completed.

Headless & CI Setup

For servers and CI pipelines where no browser is available:
If you have terminal access (SSH), the setup script automatically starts a device code flow:
  1. 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
bash scripts/setup.sh

Platform Support

Pre-built CLI binaries are available for:
OSArchitecture
macOSApple Silicon (arm64), Intel (amd64)
Linuxamd64, arm64
Windowsamd64, arm64
Binaries are published on GitHub Releases.

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 history

6. 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.
Merging contacts is irreversible. The agent will always ask for confirmation before proceeding.

CLI Reference

When using the CLI fallback, every MCP tool maps to a CLI subcommand:
MCP ToolCLI Command
dex_search_contactsdex dex-search-contacts --query "..."
dex_get_contactdex dex-get-contact --id "..."
dex_create_contactdex dex-create-contact --first-name "..." --last-name "..."
dex_update_contactdex dex-update-contact --id "..." --company "..."
dex_delete_contactsdex dex-delete-contacts --from-json '{"contact_ids":["..."]}'
dex_merge_contactsdex dex-merge-contacts --from-json '{"contact_id_groups":[["id1","id2"]]}'
dex_manage_tagsdex dex-manage-tags --action list
dex_manage_groupsdex dex-manage-groups --action list
dex_manage_notesdex dex-manage-notes --action list --contact-id "..."
dex_manage_remindersdex dex-manage-reminders --action list
dex_manage_custom_fieldsdex dex-manage-custom-fields --action list
For complex inputs, use --from-json:
dex dex-manage-tags --from-json '{"action":"add_to_contacts","tag_ids":["id1"],"contact_ids":["c1","c2"]}'

Use --output json for machine-readable output or --output text (default) for human-readable. Run dex [command] --help for full documentation.

---
Best Practices

The skill includes built-in CRM expertise. Here are the key patterns it follows:

Organization Strategy

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Mechanism   β”‚         Use For          β”‚                       Examples                       β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Tags          β”‚ Attributes and contexts  β”‚ "Investor", "Met at Conference", "Needs Follow-up"   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Groups        β”‚ Relationship clusters    β”‚ "Startup Advisors", "Book Club", "Acme Corp Team"    β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Custom Fields β”‚ Structured data tracking β”‚ "Deal Stage", "Expertise Area", "Last Contract Date" β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Follow-Up Cadences

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚       Relationship Type        β”‚ Suggested Cadence β”‚     Recurrence      β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Close professional contacts    β”‚ Every 2-4 weeks   β”‚ biweekly or monthly β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Active networking contacts     β”‚ Monthly           β”‚ monthly             β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Investors / Board members      β”‚ Monthly           β”‚ monthly             β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Dormant but valuable           β”‚ Quarterly         β”‚ quarterly           β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Seasonal (holidays, birthdays) β”‚ Yearly            β”‚ yearly              β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Note-Taking

Effective notes capture:
- Action items with clear ownership
- Decisions made during the interaction
- Personal context worth remembering (kids' names, vacation plans)
- Next steps and timing

---
Source Code

The Dex Skill is open source:

---
These two pages cover:

1. Dex MCP Server β€” focused on connecting AI clients to Dex, the hosted server setup, and available tools
2. Dex Skill for AI Agents β€” focused on installation, environment-specific setup (including headless/CI), CRM workflows, CLI reference, and best practices

Both use Mintlify components (Cards, Tabs, Steps, Accordions, Notes, Tips, Warnings, Info boxes) consistent with your existing docs site. Let me know if you'd
like any changes to the structure, tone, or content.