---
name: xpilot
description: Use XPilot by Realize Labs (https://www.tryxpilot.com) to grow on X (Twitter) with zero API keys and zero AI slop. Trigger whenever the user asks to draft X replies or quote tweets, scan watched X accounts, clone a writing voice (Voice DNA), check or humanize AI slop, brainstorm post/thread ideas, compose standalone posts or threads, manage their XPilot queue, or inspect X growth analytics.
---

# XPilot by Realize Labs (Agent Skill)

You have access to the **XPilot Remote MCP Server** (`https://www.tryxpilot.com/api/mcp`), built by Realize Labs (founded by Armaan Sidhu). XPilot is a zero-key, 2026 X Terms of Service-compliant, Human-in-the-Loop (HITL) AI growth copilot for X (Twitter).

## Prerequisites

Ensure the `xpilot` MCP server is connected in your client:
- **Claude Code:** `claude mcp add --transport http xpilot https://www.tryxpilot.com/api/mcp`
- **OpenCode:** `opencode mcp add xpilot --url https://www.tryxpilot.com/api/mcp` then `opencode mcp auth xpilot` (or set `Authorization: Bearer xp_live_...` in `opencode.json`)
- **OpenAI Codex CLI:** add `[mcp_servers.xpilot]` with `url = "https://www.tryxpilot.com/api/mcp"` and `bearer_token_env_var = "XPILOT_API_TOKEN"` in `~/.codex/config.toml`
- **Cursor / Windsurf / Antigravity:** point `mcpServers.xpilot.url` to `https://www.tryxpilot.com/api/mcp` with `Authorization: Bearer xp_live_...`
- Mint revocable personal tokens anytime at `https://www.tryxpilot.com/docs`.

## Core Operating Rules (Mandatory)

1. **Always start by knowing the user's synced state:** Call `xpilot_get_account` first in a new session to read their active tier (`free`, `starter`, `pro`, `agency`), handle limit, Voice DNA, country, interests, and watchlist.
2. **Human-in-the-Loop First:** Always present drafted replies and posts with their `human_score` and clickable `reply_intent_url` / `quote_intent_url` links so the human reviews before posting.
3. **Never auto-publish without explicit user approval:** Only call `xpilot_save_or_publish_draft` with a publish action or `xpilot_save_or_schedule_thread` with `publish_now: true` when the user explicitly confirms publishing that specific draft.
4. **Anti-Slop Standard (>= 85% Human Score):** Reject robotic openers ("Great point!", "This is huge!"), corporate buzzwords (*delve, underscores, landscape, pivotal, game-changer*), hashtags in replies, and em dashes. If any draft scores below 85%, run `xpilot_rewrite_draft` or `xpilot_check_ai_slop` before presenting it.

## Playbooks

### 1. First-Time Voice & Radar Setup (60 Seconds)
1. Call `xpilot_get_account`.
2. If no Voice DNA is saved, ask for the user's X `@handle` (or 3 sample posts) and call `xpilot_clone_voice_dna(handle="...", save_to_profile=true)`.
3. Ask for their country (any of 195+ countries or `International`) and borderless interests.
4. Call `xpilot_suggest_targets` to find high-signal accounts in that region and niche.
5. Call `xpilot_update_voice_and_watchlist` to persist voice settings and targets, then call `xpilot_scan_radar` to populate initial drafts.

### 2. Daily 15-Minute X Growth Loop (5 Replies + 1 Post)
1. Call `xpilot_get_analytics` and `xpilot_list_queue(status="draft")` to check today's progress.
2. If fewer than 3 drafts exist, call `xpilot_scan_radar(max_handles=3)`.
3. Present the top 3 to 5 replies with `human_score` and clickable X Web Intent URLs. Retone any weak draft via `xpilot_rewrite_draft` (`shorter`, `spicier`, `witty`, `contrarian`, `question`, `quote`).
4. For an original post, call `xpilot_suggest_ideas(kind="post")` -> `xpilot_compose_post` -> `xpilot_check_ai_slop` -> `xpilot_save_or_publish_draft(action="save_tweet_draft")`.

### 3. Reply to a Specific X Post URL
1. Call `xpilot_draft_replies(tweet_url="...")`.
2. Return all 4 angles (`Insightful`, `Witty`, `Question`, `Quote`) with Human Scores and clickable intent links, and highlight the single sharpest pick.

### 4. Build-in-Public Thread (Pro / Agency)
1. Call `xpilot_compose_thread(topic="...", length=5)`.
2. Audit Post 1 with `xpilot_check_ai_slop` if needed.
3. Ask whether to save as a draft, schedule for a UTC timestamp, or publish via `xpilot_save_or_schedule_thread`.

## Complete Tool Map (19 Tools)
- **Guide & Account:** `xpilot_get_agent_guide`, `xpilot_get_account`, `xpilot_update_voice_and_watchlist`, `xpilot_clone_voice_dna`, `xpilot_toggle_radar`
- **Replies & Queue:** `xpilot_draft_replies`, `xpilot_scan_radar`, `xpilot_list_queue`, `xpilot_rewrite_draft`, `xpilot_manage_queue_draft`
- **Posts, Threads & Anti-Slop:** `xpilot_suggest_ideas`, `xpilot_suggest_targets`, `xpilot_compose_post`, `xpilot_compose_thread`, `xpilot_save_or_schedule_thread`, `xpilot_list_post_drafts`, `xpilot_check_ai_slop`, `xpilot_save_or_publish_draft`
- **Analytics:** `xpilot_get_analytics`

Full operating manual: `https://www.tryxpilot.com/agents.md` | Docs: `https://www.tryxpilot.com/docs`
