Community코딩 & 개발github.com

xurl

xurl CLI를 사용하여 인증된 X 게시물 작성, 답글, 읽기/검색, DM, 미디어 업로드, 팔로워, 인증 상태 확인 또는 원시 v2 API 호출을 수행합니다.

xurl란 무엇인가요?

xurl은 X API 작업을 위한 CLI 도구로, 개발자와 AI 에이전트가 X 플랫폼과 상호작용할 수 있도록 설계되었습니다. 게시물 작성, 답글, 인용, 삭제, 읽기, 검색, 타임라인 조회, 멘션 확인, 좋아요, 리포스트, 북마크, 팔로우/언팔로우, 차단/차단 해제, DM 발송 등 다양한 단축 명령어를 제공하여 JSON 형태의 결과를 반환합니다. 또한 원시 모드를 지원하여 모든 v2 API 엔드포인트에 직접 요청할 수 있으며, 미디어 업로드 기능도 포함되어 있습니다. 인증은 `~/.xurl` 파일에 저장된 토큰을 통해 이루어지며, `xurl auth status` 명령어로 인증 상태를 확인할 수 있습니다. 이 도구는 Claude Code, Cursor, Codex와 같은 AI 에이전트 환경에서 유용하게 사용될 수 있으며, --verbose 플래그를 통해 인증 헤더를 출력하는 등 디버깅 기능도 제공합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/skills/xurl

Installed? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

xurl은(는) 무엇을 하나요?

X API 작업에는 xurl을 사용하세요. 단축 명령어는 JSON을 반환하며, 원시 모드는 모든 v2 엔드포인트에서 작동합니다.

인증

  • ~/.xurl 파일에 토큰이 저장됩니다. 파일을 직접 읽지 말고 xurl auth status로 인증 상태를 확인하세요.
  • 인증 명령어에 시크릿을 전달할 때는 프롬프트를 통해 전달하고, 인라인으로 전달하지 마십시오. 셸 히스토리에 남지 않도록 하기 위함입니다.
  • --verbose 플래그를 사용하면 인증 헤더가 도구 출력에 포함됩니다.

일반 단축 명령어

xurl post "Hello world!"
xurl reply POST_ID "Nice."
xurl quote POST_ID "My take"
xurl delete POST_ID
xurl read POST_ID
xurl search "query" -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 "message"
xurl dms -n 10

POST_ID는 전체 https://x.com/<user>/status/<id> URL일 수 있습니다.

미디어

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

비디오는 처리 시간이 필요할 수 있습니다. media status로 상태를 확인하세요.

인증/앱 관리

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

요청별:

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

원시 API

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

단축 명령어가 해당 엔드포인트를 지원하지 않을 때는 원시 모드를 사용하세요. 복잡한 JSON의 경우 페이로드를 임시 파일에 저장하세요.

출력 및 오류

  • 성공 시 JSON이 표준 출력(stdout)으로 출력됩니다.
  • API/인증/네트워크 오류 시 0이 아닌 종료 코드가 반환됩니다.
  • 401/403: 인증, 범위(scope) 또는 앱 불일치. xurl auth status로 확인하세요.
  • 429: 속도 제한 초과. 잠시 대기하세요.
  • 미디어 업로드 실패: 파일 유형/크기와 미디어 처리 상태를 확인하세요.

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.

관련 스킬