xurl
यह क्या करती है
यह स्किल आपके AI को X से जोड़ती है, जो पहले Twitter था, ताकि वह पोस्ट कर सके, पोस्ट खोज सके, सीधे संदेश भेज सके और खाते संभाल सके। यह उन लोगों के लिए है जो X पर सोशल मीडिया खाते चलाते हैं और चाहते हैं कि उनका AI मदद करे।
कब इस्तेमाल करें
- ✓जब आप चाहें कि आपका AI X पर पोस्ट करे, जवाब दे या किसी पोस्ट को quote करे।
- ✓जब आप X पर किसी विषय की पोस्ट खोजकर उनका विवरण चाहें।
- ✓जब आप सीधा संदेश भेजना, मीडिया अपलोड करना या X पर mentions जाँचना चाहें।
Skill का लिंक
https://github.com/NousResearch/hermes-agent/blob/main/skills/social-media/xurl/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“X पर पिछले एक दिन में हमारे उत्पाद लॉन्च की पोस्ट खोजिए, और सबसे लोकप्रिय पोस्ट पर जवाब का मसौदा बनाइए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल आधिकारिक xurl कमांड लाइन टूल चलाती है, जो X API को अनुरोध भेजता है और JSON लौटाता है। आपके X लॉगिन credentials उस फ़ाइल में रहते हैं जिसे आप खुद भरते हैं, और AI उस फ़ाइल को कभी नहीं पढ़ता।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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
अक्सर पूछे जाने वाले सवाल
क्या AI मेरा X पासवर्ड या token देखेगा?
नहीं। स्किल कहती है कि AI credentials फ़ाइल कभी न पढ़े या न छापे, और उसे आप खुद भरें।
क्या यह मेरी मंज़ूरी के बिना पोस्ट कर सकती है?
स्किल पोस्ट करने और हटाने को कवर करती है। वह यह नहीं कहती कि AI आपकी जाँच के बिना पोस्ट करे, इसलिए पहले जाँच लें कि उसने क्या लिखा है।
क्या यह पुरानी xitter स्किल की जगह लेती है?
हाँ। स्किल कहती है कि xurl पुरानी xitter स्किल की जगह लेता है।
जानकारी
लेखक का मूल विवरण
X/Twitter via xurl CLI: raw post search, posting, DM, media.
लोकप्रियता
- GitHub स्टार
- 260k
- रैंकिंग में स्थान
- #618
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
agent-merge-conflict-arbiter
260kदो एजेंट्स की branches के बीच git merge conflict को एक निष्पक्ष तीसरे पक्ष के रूप में सुलझाती है और रिपॉज़िटरी के लिए एक merged नतीजा बनाती है।
antigravity-cli
260kAntigravity कमांड-लाइन टूल को इंस्टॉल करने, अपडेट करने और उसकी दिक्कतें सुलझाने में मार्गदर्शन देती है, जिसमें प्लगइन, साइन-इन और sandbox शामिल हैं।
blackbox
260kआपके एजेंट को कोडिंग काम Blackbox AI कमांड-लाइन टूल को सौंपने देती है, जो कई AI मॉडल चलाकर सबसे अच्छा नतीजा चुनता है।
dynamic-workflow
260kआपके एजेंट को बड़े बैच के एक जैसे कामों को सेव की गई स्क्रिप्ट के रूप में चलाना सिखाती है, ताकि मुख्य बातचीत में केवल जांचे गए नतीजे लौटें।
मिलती-जुलती skills
xurl
394kयह आपके एजेंट को प्रमाणित xurl टूल से X पर पोस्ट करने, जवाब देने, खोजने और पढ़ने, सीधे संदेश भेजने और मीडिया अपलोड करने में मदद करती है।
connections-optimizer
280kयह आपके social network connections बेहतर बनाता है। यह बताता है किसे follow या unfollow करना है और अपने network को बढ़ाने के लिए personalized messages लिखने में मदद करता है।
content-engine
280kयह अलग-अलग platforms के लिए content बनाता है। X, LinkedIn और YouTube जैसे networks पर अच्छे काम करने वाले posts, scripts और content calendars तैयार करने में मदद करता है।