xurl
Qué hace
Esta skill conecta tu IA con X, antes Twitter, para que pueda publicar, buscar publicaciones, enviar mensajes directos y gestionar cuentas. Es para personas que administran cuentas en X y quieren que su IA les ayude.
Cuándo usarla
- ✓Cuando quieres que tu IA publique, responda o cite una publicación en X.
- ✓Cuando quieres buscar en X publicaciones sobre un tema y obtener sus detalles.
- ✓Cuando quieres enviar un mensaje directo, subir contenido multimedia o revisar menciones en X.
Link de la skill
https://github.com/NousResearch/hermes-agent/blob/main/skills/social-media/xurl/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Busca en X publicaciones sobre el lanzamiento de nuestro producto del último día y redacta una respuesta a la más popular.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La skill ejecuta la herramienta oficial xurl, que envía solicitudes a la API de X y devuelve JSON. Las credenciales de inicio de sesión se guardan en un archivo que tú completas, y la IA nunca lo lee.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
xurl — X (Twitter) API via the Official CLI
xurl is the X developer platform's official CLI for the X API. It supports shortcut commands for common actions AND raw curl-style access to any v2 endpoint. All commands return JSON to stdout.
Use this skill for:
- posting, replying, quoting, deleting posts
- searching for raw posts (actual post JSON with IDs you can engage with) and reading timelines/mentions
- liking, reposting, bookmarking
- following, unfollowing, blocking, muting
- direct messages
- media uploads (images and video)
- raw access to any X API v2 endpoint
- multi-app / multi-account workflows
This skill replaces the older xitter skill (which wrapped a third-party Python CLI). xurl is maintained by the X developer platform team, supports OAuth 2.0 PKCE with auto-refresh, and covers a substantially larger API surface.
Secret Safety (MANDATORY)
Critical rules when operating inside an agent/LLM session:
- Never read, print, parse, summarize, upload, or send
~/.xurlto LLM context. - Never ask the user to paste credentials/tokens into chat.
- The user must fill
~/.xurlwith secrets manually on their own machine. In Docker, this must be the~seen by Hermes tool subprocesses; see the Docker note below. - Never recommend or execute auth commands with inline secrets in agent sessions.
- Never use
--verbose/-vin agent sessions — it can expose auth headers/tokens. - To verify credentials exist, only use:
xurl auth status.
Forbidden flags in agent commands (they accept inline secrets):
--bearer-token, --consumer-key, --consumer-secret, --access-token, --token-secret, --client-id, --client-secret
App credential registration and credential rotation must be done by the user manually, outside the agent session. After credentials are registered, the user authenticates with xurl auth oauth2 — also outside the agent session. Tokens persist to ~/.xurl in YAML. Each app has isolated tokens. OAuth 2.0 tokens auto-refresh.
Installation
Pick ONE method. On Linux, the shell script or go install are the easiest.
# Shell script (installs to ~/.local/bin, no sudo, works on Linux + macOS)
curl -fsSL https://raw.githubusercontent.com/xdevplatform/xurl/main/install.sh | bash
# Homebrew (macOS)
brew install --cask xdevplatform/tap/xurl
# npm
npm install -g @xdevplatform/xurl
# Go
go install github.com/xdevplatform/xurl@latest
Verify:
xurl --help
xurl auth status
If xurl is installed but auth status shows no apps or tokens, the user needs to complete auth manually — see the next section.
One-Time User Setup (user runs these outside the agent)
These steps must be performed by the user directly, NOT by the agent, because they involve pasting secrets. Direct the user to this block; do not execute it for them.
Create or open an app at https://developer.x.com/en/portal/dashboard
Set the redirect URI to
http://localhost:8080/callbackCopy the app's Client ID and Client Secret
Register the app locally (user runs this):
xurl auth apps add my-app --client-id YOUR_CLIENT_ID --client-secret YOUR_CLIENT_SECRETAuthenticate (specify
--appto bind the token to your app):xurl auth oauth2 --app my-app(This opens a browser for the OAuth 2.0 PKCE flow.)
If X returns a
UsernameNotFounderror or 403 on the post-OAuth/2/users/melookup, pass your handle explicitly (xurl v1.1.0+):xurl auth oauth2 --app my-app YOUR_USERNAMEThis binds the token to your handle and skips the broken
/2/users/mecall.Set the app as default so all commands use it:
xurl auth default my-appVerify:
xurl auth status xurl whoami
After this, the agent can use any command below without further setup. OAuth 2.0 tokens auto-refresh.
Common pitfall: If you omit
--app my-appfromxurl auth oauth2, the OAuth token is saved to the built-indefaultapp profile — which has no client-id or client-secret. Commands will fail with auth errors even though the OAuth flow appeared to succeed. If you hit this, re-runxurl auth oauth2 --app my-appandxurl auth default my-app.
Docker HOME pitfall: In the official Hermes Docker layout,
/opt/dataisHERMES_HOME, but Hermes tool subprocesses use/opt/data/homeasHOME. That means~/.xurlresolves to/opt/data/home/.xurlfor Hermes-run `xur
Preguntas frecuentes
¿La IA verá mi contraseña o mi token de X?
No. La skill indica que la IA nunca debe leer ni mostrar el archivo de credenciales, y que tú debes completarlo.
¿Puede publicar sin mi aprobación?
La skill cubre publicar y borrar. No dice que la IA deba publicar sin tu revisión, así que revisa lo que escribe antes.
¿Reemplaza a la antigua skill xitter?
Sí. La skill indica que xurl reemplaza a la skill xitter anterior.
Detalles
Descripción original del autor
X/Twitter via xurl CLI: raw post search, posting, DM, media.
Popularidad
- Estrellas en GitHub
- 260 mil
- Posición en el ranking
- #618
- Licencia
- MIT
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
agent-merge-conflict-arbiter
260 milResuelve un conflicto de fusión de git entre las ramas de dos agentes como tercera parte neutral, produciendo un único resultado fusionado para el repositorio.
antigravity-cli
260 milTe guía para instalar, actualizar y resolver problemas con la herramienta de línea de comandos Antigravity, incluidos sus plugins, el inicio de sesión y el entorno aislado.
blackbox
260 milPermite que tu agente entregue una tarea de programación a la herramienta de línea de comandos Blackbox AI, que ejecuta varios modelos de IA y elige el mejor resultado.
dynamic-workflow
260 milEnseña a tu agente a ejecutar grandes lotes de trabajo similar como un script guardado, de modo que solo los resultados verificados vuelvan a la conversación principal.
Skills parecidas
xurl
394 milAyuda a tu agente a publicar, responder, buscar y leer en X, enviar mensajes directos y subir archivos multimedia, usando la herramienta autenticada xurl.
connections-optimizer
280 milMejora tus conexiones en redes sociales. Sugiere a quién seguir o dejar de seguir y ayuda a crear mensajes personalizados para ampliar tu red.
content-engine
280 milCrea contenido para distintas plataformas. Ayuda a producir publicaciones, guiones y calendarios de contenido que funcionen bien en redes como X, LinkedIn y YouTube.