CommunityCodierung & Entwicklunggithub.com

xurl

xurl CLI für authentifizierte X-Posts, Antworten, Lesen/Suche, DMs, Medien-Uploads, Follower, Auth-Status oder rohe v2-API-Aufrufe.

Was ist xurl?

xurl ist ein Befehlszeilen-Tool für die X-API, das Entwicklern und KI-Agenten eine einfache, authentifizierte Interaktion mit der X-Plattform (ehemals Twitter) ermöglicht. Es bietet praktische Kurzbefehle für häufige Vorgänge wie Posten, Antworten, Suchen, Lesen von Timelines, Verwalten von Followern, Senden von Direktnachrichten und Hochladen von Medien. Für komplexere oder nicht abgedeckte Endpunkte unterstützt xurl einen Rohmodus, der direkte API-Aufrufe gegen die v2-X-API ermöglicht. Das Tool verwaltet die Authentifizierung über eine zentrale Konfigurationsdatei (`~/.xurl`) und bietet Befehle zur Überprüfung des Auth-Status und zur Verwaltung mehrerer X-Apps.

Funktioniert mit~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/skills/xurl

Installed? Explore more Codierung & Entwicklung skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Was macht xurl?

Verwenden Sie xurl für die Arbeit mit der X-API. Kurzbefehle geben JSON zurück; der Rohmodus funktioniert mit jedem v2-Endpunkt.

Authentifizierung

  • ~/.xurl enthält Tokens; überprüfen Sie die Authentifizierung mit xurl auth status, anstatt die Datei direkt zu lesen.
  • Übergeben Sie Geheimnisse über die Eingabeaufforderung an Auth-Befehle, nicht direkt in der Befehlszeile, damit sie nicht im Shell-Verlauf landen.
  • --verbose gibt Auth-Header in die Tool-Ausgabe aus.

Allgemeine Kurzbefehle

xurl post "Hallo Welt!"
xurl reply POST_ID "Schön."
xurl quote POST_ID "Meine Meinung"
xurl delete POST_ID
xurl read POST_ID
xurl search "Suchbegriff" -n 20
xurl whoami
xurl user @handle
xurl timeline -n 20
xurl mentions -n 10
xurl like POST_ID
xurl unlike POST_ID
xurl repost POST_ID
xurl unrepost POST_ID
xurl bookmark POST_ID
xurl unbookmark POST_ID
xurl followers -n 20
xurl following -n 20
xurl follow @handle
xurl unfollow @handle
xurl block @handle
xurl unblock @handle
xurl mute @handle
xurl unmute @handle
xurl dm @handle "Nachricht"
xurl dms -n 10

POST_ID kann eine vollständige https://x.com/<user>/status/<id>-URL sein.

Medien

xurl media upload image.jpg
xurl media upload clip.mp4
xurl media status MEDIA_ID
xurl post "Bildunterschrift" --media-id MEDIA_ID

Videos benötigen möglicherweise eine Verarbeitung; fragen Sie den media status ab.

Authentifizierungs-/App-Verwaltung

xurl auth status
xurl auth apps list
xurl auth default
xurl auth default APP_NAME USERNAME
xurl auth apps remove APP_NAME

Pro Anfrage:

xurl --app APP_NAME /2/users/me
xurl --auth oauth2 /2/users/me

Roh-API

xurl /2/users/me
xurl -X POST /2/tweets -d '{"text":"Hallo Welt!"}'
xurl '/2/tweets/search/recent?query=openclaw&max_results=10'

Verwenden Sie den Rohmodus, wenn die Kurzbefehle den Endpunkt nicht abdecken. Halten Sie Payloads für komplexes JSON in temporären Dateien.

Ausgabe und Fehler

  • JSON auf stdout bei Erfolg.
  • Exit-Code ungleich Null bei API-/Authentifizierungs-/Netzwerkfehlern.
  • 401/403: Authentifizierungs-, Bereichs- oder App-Konflikt; überprüfen Sie xurl auth status.
  • 429: Rate-Limit erreicht; warten Sie.
  • Fehler beim Medien-Upload: Überprüfen Sie Dateityp/-größe und den Verarbeitungsstatus der Medien.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills when explicitly requested; install, verify, update, uninstall, publish, or sync skills.

Verwandte Skills