MCP Server Builder
anthropics/skills
Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.
Install, register, and configure x-use, the browser-native MCP server for X (Twitter) automation that needs no X API key.
$ npx skills add ihuzaifashoukat/x-use --skill x-use -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ihuzaifashoukat/x-use x-use --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
Claude Code skills documentation · loads skills from .claude/skills/
Install the "x-use" agent skill from https://github.com/ihuzaifashoukat/x-use/tree/main into .claude/skills/x-use/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "x-use", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ihuzaifashoukat/x-use --skill x-use -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ihuzaifashoukat/x-use x-use --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "x-use" agent skill from https://github.com/ihuzaifashoukat/x-use/tree/main into .agents/skills/x-use/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "x-use", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ihuzaifashoukat/x-use --skill x-use -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ihuzaifashoukat/x-use x-use --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "x-use" agent skill from https://github.com/ihuzaifashoukat/x-use/tree/main into .cursor/skills/x-use/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "x-use", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ihuzaifashoukat/x-use --skill x-use -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ihuzaifashoukat/x-use x-use --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "x-use" agent skill from https://github.com/ihuzaifashoukat/x-use/tree/main into .gemini/skills/x-use/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "x-use", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install ihuzaifashoukat/x-use x-useInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add ihuzaifashoukat/x-use --skill x-use -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "x-use" agent skill from https://github.com/ihuzaifashoukat/x-use/tree/main into .github/skills/x-use/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "x-use", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ihuzaifashoukat/x-use --skill x-use -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ihuzaifashoukat/x-use x-use --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "x-use" agent skill from https://github.com/ihuzaifashoukat/x-use/tree/main into .opencode/skills/x-use/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "x-use", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
x-useInstall, register, and configure x-use, the browser-native MCP server for X (Twitter) automation that needs no X API key.
X Use is an agent skill from ihuzaifashoukat/x-use. Install, register, and configure x-use, the browser-native MCP server for X (Twitter) automation that needs no X API key. Covers pip install, MCP client registration for Claude Desktop, Claude Code, Codex, Cursor and Windsurf, cookie-based account setup, keywords, and persona. Use when the user wants to set up x-use, add an X account, connect X or Twitter automation to their agent, or when x-use tools are unavailable or unconfigured.
Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 356 other files, including scripts and assets (for example `.claude-plugin/marketplace.json`, `.github/workflows/ci.yml` and `.github/workflows/publish.yml`).
It sits in Agent Workflows, covering MCP servers. It works with Model Context Protocol, X (Twitter) and Python. The repository describes itself as: Browser-native AI agents for X (Twitter): multi-account, MCP-ready, no X API key required. The licence is MIT.
9 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 6d7cb11. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/, which the agent can run.
Shell commands in SKILL.md call:
pythonpipclaudepython3From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
x.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
X Use loads about 2.4k tokens when it runs. Until then it costs about 111 tokens; SKILL.md has 1,147 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from ihuzaifashoukat/x-use at commit 6d7cb11, republished under its MIT licence (© ihuzaifashoukat). 1,147 words, ~2,385 tokens.
.claude/skills/x-use/SKILL.md (or your agent's skills folder). This skill also uses 352 other files; get the full folder from GitHub.x-use is an MCP server that automates X (Twitter) through a real logged-in Chrome session instead of the paid X API. This skill takes a machine from nothing to a configured, working account.
Read this first: the steps split at the client restart. Everything before it
is shell work, because x-use's MCP tools do not exist yet. Everything after it is
tool work. Do not try to call add_account before step 4 has completed.
Explain each step briefly as you go. The setup request authorizes routine local installation and registration; ask only for missing choices or credentials.
Python 3.10 or newer with venv support. Check Python:
python --versionIf Python is missing, explain the prerequisite. Setup installs the Chromium
browser matching the default Patchright driver. Installed Chrome or Edge is
also supported through mcp.browser_channel.
pip install x-use-mcp
python -m patchright install chromiumThis provides the x-use command and matching Chromium. Inside a checkout,
prefer the one-command uv setup: py -3 scripts/setup_uv.py on Windows or
python3 scripts/setup_uv.py on macOS/Linux. It installs missing uv locally,
uses the dependency lock and creates .venv; use that environment's full
x-use executable path for registration. Linux system libraries are explicit
with --with-system-deps, which can require OS permission.
Then verify:
x-use doctordoctor prints one PASS, FAIL, or SKIP line per check: config files, browser
binary, driver, per-account cookies, LLM key, proxies. On a fresh machine the
cookie and config checks are expected to fail, since nothing is configured yet.
Do not treat that as a broken install. A FAIL on the browser or driver line is
the one that actually blocks progress.
If x-use is not found after installing, it is a PATH problem, not a failed
install. pip show -f x-use-mcp locates the console script; use its full path
everywhere below, for example .venv/bin/x-use or .venv\Scripts\x-use.exe.
x-use skills installThis writes seven skills to ~/.claude/skills/ and ~/.agents/skills/, so Claude
Code and Codex-style agents both pick them up. They cover engagement, content,
daily review, inbox/messages/notifications, account setup, and X thread workflows.
Use x-use-inbox for reading incoming activity and sending contextual DMs.
--force overwrites existing copies, and
x-use skills list shows what landed.
Work out which client you are running inside and register x-use in that one.
Use the full executable path and absolute data directory printed by the
installer. Set X_USE_HOME in the server environment so settings, accounts
and state stay stable when the client starts from another working directory.
Claude Code:
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 mcpClaude Desktop (claude_desktop_config.json), Cursor, Windsurf,
and any other client taking 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"}
}
}
}Codex (~/.codex/config.toml):
[mcp_servers.x-use]
command = "/absolute/path/to/x-use/.venv/bin/x-use"
args = ["mcp"]
[mcp_servers.x-use.env]
X_USE_HOME = "/absolute/path/to/x-use-data"If this client cannot reload MCP servers in the current session, tell the user
to restart the client and pause tool-dependent setup until the tools appear.
When connected, confirm with list_accounts. An empty list is the correct
answer before the first account is added.
Everything from here is MCP tool calls.
Ask for a short account id, something like main or brand. It is an internal
label, not the X handle.
Then walk the user through the cookie export, which is how x-use authenticates:
add_account(account_id="main", cookie_file="/path/to/cookies.json")The file is validated and copied server-side. Never ask the user to paste cookie contents into the conversation. The path-only design exists precisely so the values never cross the wire, and pasting them defeats it.
Verify with get_account_health(account="main"). This checks the local cookie
file and configuration without logging into X; valid cookie structure does not
prove a live authenticated session. Inspect reported problems, then use a
bounded browser read to verify the session. Stop for a login or account challenge.
Ask what niche they are in, which keywords to watch, which profiles they want to engage with, and their actual X handle.
update_account(
account="main",
target_keywords=["..."],
competitor_profiles=["https://x.com/..."],
self_handles=["theirhandle"],
)self_handles matters more than it looks. Without it the own-post guard cannot
fire, and x-use cannot identify the account's historical posts from this
configuration. For a published thread, use get_thread_run to retrieve the
confirmed post URLs.
Ask how they want to sound. The repo ships three starting points under
presets/personas/ (builder, founder, curator), so offer them or write one
together. Cover voice, topics, reply style, what to avoid, and one or two example
replies. Under 4000 characters, markdown.
update_account(account="main", persona="...")Batch the config edits where you can. Every update_account closes the warm
browser session, so the next action pays a cold start.
add_proxy(pool, proxy_url) then
update_account(account, proxy="pool:<name>")."auto" text, set under llm in the data home's config/settings.json.With the default mcp.draft_mode=true, stage one requested reply or post and
show its full payload with get_draft or list_drafts. If draft mode has been
disabled, ordinary post/reply tools execute immediately and cannot serve as a
draft-only smoke check. prepare_thread, messages, and follows always stage,
but do not create unrelated work solely to test the installation.
Explain the execution boundary: ordinary writes draft by default, and
approve_draft(draft_id) executes a reviewed draft. Messages, follows and
threads always require that approval. Queued work executes through
process_queue or an explicitly enabled auto-drain worker; the legacy
run_cycle executes immediately. Honor prior authorization for an exact action
and payload; setup alone does not authorize publication or outreach.
For requested inbox verification, get_inbox(account="main", folder="inbox", inbox_filter="unread", limit=5) reads only the visible folder. Requests and
other folders are separate; reads do not accept requests. Unknown read state
stays unknown. Opening a conversation or visiting get_notifications may mark
items read. An encrypted inbox uses unlock_inbox(account="main", pin_env_var="XUSE_INBOX_PIN") after the owner sets the PIN in the server
environment; never request the PIN in chat.
Run x-use doctor, read the actual error, fix that cause, and only then
continue. Tools carry {"ok": true, ...} or
{"ok": false, "error": {"type", "message"}}; media reads can also attach images.
Inspect returned state even on success envelopes: partial context, unavailable
analytics or a blocked thread is not completed work. For an uncertain write,
read get_account_safety, inspect X and its action ID, and use
resolve_action_outcome only with observed succeeded or not_sent evidence.
Do not automatically retry a timeout or unknown outcome.
The installed skills take over: x-use-engage for research and replies, x-use-content for original posts, x-use-review for the daily digest, and x-use for tool routing and conventions.
Clients without skill support get the same workflows as MCP prompts
(research_niche, draft_replies, review_and_publish, daily_check,
setup_account, outreach_message, thread_workflow), plus read-only resources
(xuse://accounts, xuse://accounts/{account_id},
xuse://accounts/{account_id}/persona, xuse://drafts/pending) for context
worth attaching rather than fetching.
Full tool reference: docs/MCP_GUIDE.md.
© ihuzaifashoukat, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 352 other files (scripts, assets) in the repository root of ihuzaifashoukat/x-use.
Open the folder on GitHubat commit 6d7cb11
X Use next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| X Use this skillihuzaifashoukat/x-use | 171 | — | ~2.4k | Automated safety check: Pass | MIT | |
| MCP Server Builderanthropics/skills | 180k | 63 repos | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| MCP Server BuildershareAI-lab/learn-claude-code | 78k | 4 repos | ~1.2k | Automated safety check: Pass | MIT | |
| MemPalace Setup and OperationMemPalace/mempalace | 59k | — | ~2.2k | Automated safety check: Pass | MIT | |
| FastmcpTommy-yw/RunbookHermes | 546 | 3 repos | ~2.1k | Automated safety check: Pass | MIT | |
| Fastmcp Client CLIPrefectHQ/fastmcp | 28k | — | ~823 | Automated safety check: Pass | Apache-2.0 |
anthropics/skills
Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.
shareAI-lab/learn-claude-code
Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.
MemPalace/mempalace
Installs and configures MemPalace as a private local palace, a shared-brain hub or a client of an existing hub, including MCP registration and version-correct initialization.
Tommy-yw/RunbookHermes
Build, test, inspect, install, and deploy MCP servers with FastMCP in Python.
PrefectHQ/fastmcp
Query and invoke tools on MCP servers using fastmcp list and fastmcp call.
archestra-ai/archestra
Migrate an existing agentic PoC/pilot (Claude Code project files, MCP configs, hooks, local tools, openclaw config, or similar hand-rolled setup artifacts) into an Archestra instance.
ihuzaifashoukat/x-use
Route x-use X (Twitter) workflows for research, inbox reads, reviewed outreach, posts, campaigns, and threads.
ihuzaifashoukat/x-use
Create 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.
ihuzaifashoukat/x-use
Research X posts or profiles and prepare persona-voice public replies or individual profile outreach drafts with x-use.
ihuzaifashoukat/x-use
Read X direct messages, triage inbox and request folders, send contextual reviewed messages, and inspect notifications with x-use.
ihuzaifashoukat/x-use
Daily 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.
ihuzaifashoukat/x-use
Zero-knowledge onboarding for x-use that verifies the install, registers the MCP server, then interviews the user to configure their first X account (cookies, niche, keywords, persona).
Works with
Categories
Install, register, and configure x-use, the browser-native MCP server for X (Twitter) automation that needs no X API key. X Use is an agent skill from ihuzaifashoukat/x-use. Install, register, and configure x-use, the browser-native MCP server for X (Twitter) automation that needs no X API key.
X Use fits situations like: the user wants to set up x-use; add an X account; twitter automation to their agent; X-use tools are unavailable.
Run `npx skills add ihuzaifashoukat/x-use --skill x-use -a claude-code`. Or copy the skill folder (the ihuzaifashoukat/x-use repository) into .claude/skills/x-use in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ihuzaifashoukat/x-use --skill x-use -a codex`. Or copy the skill folder (the ihuzaifashoukat/x-use repository) into .agents/skills/x-use in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ihuzaifashoukat/x-use --skill x-use -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/x-use, .gemini/skills/x-use, .github/skills/x-use and .opencode/skills/x-use in your project.
Going by SKILL.md and its folder, X Use needs the command-line tools its instructions call (python, pip, claude and python3). Our summary lists: Python 3.
SKILL.md names 1 domain. In commands or code: x.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
X Use is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.4k tokens (SKILL.md is roughly 9.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with X Use: MCP Server Builder (anthropics/skills, 180k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), MemPalace Setup and Operation (MemPalace/mempalace, 59k stars) and Fastmcp (Tommy-yw/RunbookHermes, 546 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ihuzaifashoukat (a GitHub user) maintains it in ihuzaifashoukat/x-use, which has 171 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 9, 2026.
Source: ihuzaifashoukat/x-use on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.