/x-use:x-use-setupfrom x-use
Guides users through zero-knowledge onboarding for x-use: verifies the install, registers the MCP server, and interviews the user to configure their first X account (cookies, niche, keywords, persona).
Ships in x-use. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Configure the requested account conversationally. Skip completed steps and honor the setup authorization for routine local changes; ask for missing account, persona or credential choices. Do not use setup as authorization to publish.
x-use doctor. It checks the selected Patchright/Playwright browser,
cookies, LLM key and proxies without launching a browser.py -3 scripts/setup_uv.py on Windows or
python3 scripts/setup_uv.py on macOS/Linux and use the .venv executable.
Otherwise install pip install x-use-mcp and
python -m patchright install chromium, then re-run doctor.X_USE_HOME in the
MCP server environment so configuration and state stay stable across client
working directories:
claude_desktop_config.json):
{"mcpServers": {"x-use": {"command": "/absolute/path/to/x-use/.venv/bin/x-use", "args": ["mcp"], "env": {"X_USE_HOME": "/absolute/path/to/x-use-data"}}}}mcpServers JSON: use the same
command, args, and env fields shown for Claude Desktop.claude mcp add --scope user x-use --env X_USE_HOME=/absolute/path/to/x-use-data -- /absolute/path/to/x-use/.venv/bin/x-use mcp~/.codex/config.toml):
[mcp_servers.x-use] with the absolute command path and args = ["mcp"],
plus [mcp_servers.x-use.env] with X_USE_HOME = "/absolute/path/to/x-use-data".Ask: "What should this account be called (a short id like main or
brand)?" Then explain cookie export:
Only auth_token and ct0 are required; unusable optional cookies are skipped, x-use doctor lists them by name and reason, and the add_account/update_account result lists them in skipped_cookies.
Then call add_account(account_id, cookie_file=<path>). The file is
validated and copied server-side; cookie values never pass through the chat.
Verify with get_account_health(account); it checks the local cookie file,
not whether X currently accepts the session. Inspect reported problems and use
a bounded browser read to verify login; stop for login or account challenges.
Ask for the niche, keywords, target profiles and the account's actual X handle.
Apply with
update_account(account, target_keywords=[...], competitor_profiles=[...], self_handles=["yourhandle"]). self_handles enables
the own-post guard. Batch account edits where possible: each update closes its
warm browser session.
Ask how they want to sound. In a checkout, the personas in presets/personas/
(builder, founder, curator) can serve as starting points; these presets are not
included in the installed skill pack. Otherwise draft the requested voice, then
apply with
update_account(account, persona=<text>). Keep it under 4000 chars,
markdown, covering: voice, topics, reply style, what to avoid, 1-2 example
replies.
add_proxy(pool, proxy_url) and assign with
update_account(account, proxy="pool:<name>")."auto" text need one
OpenAI-compatible key in config/settings.json under llm
(api_key, base_url, model). Interactive use needs no key at all.With mcp.draft_mode=true (default), use x-use-engage or x-use-content to stage
one requested reply or post and show its full payload. Ordinary writes execute
immediately when draft mode is disabled. approve_draft executes reviewed
drafts; queued actions run via process_queue or opt-in auto-drain, and legacy
run_cycle runs immediately. Preparation alone does not authorize those gates.
Use x-use-inbox for requested message and notification workflows.
Requested inbox verification uses get_inbox(account=..., folder="inbox", inbox_filter="unread", limit=5); requests and other folders are separate, and
results cover only visible conversations. Reads never accept requests.
unread=null means the UI supplied no reliable read-state evidence. Opening a
chat may mark it as read; visiting notifications can do the same. If
pin_required, use unlock_inbox(account=..., pin_env_var="XUSE_INBOX_PIN")
after the owner sets that server variable; never request a PIN in chat or store it
in drafts. Stop for unsupported UI or account challenges. Messages and follows
always need individual draft approval, and an uncertain write needs explicit
outcome reconciliation after inspecting X before any retry.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub ihuzaifashoukat/x-use --plugin x-use7 skills in this plugin
/x-useRoute x-use X (Twitter) workflows for research, inbox reads, reviewed outreach, posts, campaigns, and threads. Use when working with x-use tools; use x-use-setup when installation or account configuration is needed./x-use-contentCreate original X content in the user's persona by researching what works in the niche, drafting posts, and staging them one by one for review. Use when the user wants post ideas, content creation, or a posting pipeline./x-use-engageResearch X posts or profiles and prepare persona-voice public replies or individual profile outreach drafts with x-use. Use for public engagement, personalized outreach research, or local lead and campaign preparation; use x-use-inbox for incoming messages, conversation replies, and notifications./x-use-inboxRead X direct messages, triage inbox and request folders, send contextual reviewed messages, and inspect notifications with x-use. Use for unread chats, conversation search or replies, individual DMs, and All or Mentions notifications; use x-use-engage for public-post engagement and profile outreach research./x-use-reviewDaily digest for an x-use account covering health, metrics, pending drafts, and queued work in one pass, then approve/reject/process per the user's direction. Use for "how is my account doing", daily check-ins, or before any batch of approvals./x-use-threadsRead visible X post/reply threads and prepare or resume multi-post drafts with x-use. Use when the user asks to read, compose, review, or continue a public thread on X; use x-use-inbox for direct-message conversations.Other plugins' skills for the same job