본문으로 건너뛰기
Skillpedia
소셜 미디어7.4k · #13258

xurl

하는 일

이 스킬은 에이전트에게 X의 공식 xurl 도구를 설치하고 사용하는 방법을 보여 줍니다. 에이전트가 X API를 통해 X 계정과 작업하기를 원하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓에이전트가 내 컴퓨터에 xurl 도구를 설정하도록 하고 싶을 때.
  • ✓등록한 앱으로 OAuth를 통해 X에 로그인해야 할 때.
  • ✓준비된 바로 가기로 X API에 기본 요청을 보내고 싶을 때.

스킬 링크

https://github.com/steipete/agent-scripts/blob/main/skills/xurl/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/steipete/agent-scripts/blob/main/skills/xurl/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“xurl 도구를 설정해서 제 X 계정에 로그인할 수 있게 해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 도구를 설치하고, 현재 로그인 상태를 확인한 뒤, 인증 단계를 안내합니다. 비밀 정보는 사용자의 컴퓨터에 머물며 채팅에 붙여넣지 않습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

xurl

Official CLI for the X API.

Primary upstream: https://github.com/xdevplatform/xurl

Install

Homebrew:

brew install --cask xdevplatform/tap/xurl

npm:

npm install -g @xdevplatform/xurl

Shell script:

curl -fsSL https://raw.githubusercontent.com/xdevplatform/xurl/main/install.sh | bash

Go:

go install github.com/xdevplatform/xurl@latest

Safety

  • Never read, print, summarize, upload, or paste ~/.xurl into LLM context.
  • Never ask the user to paste client secrets, bearer tokens, or OAuth tokens into chat.
  • Never use --verbose in agent runs; it can expose auth headers.
  • Do not run auth commands with inline secret flags in an agent session.
  • The user must register app credentials manually on their machine outside the agent session.

Auth

Check current state:

xurl auth status

If an app is already registered, complete OAuth 2.0:

xurl auth oauth2

Multi-app:

xurl auth apps list
xurl auth default my-app
xurl auth default my-app alice
xurl --app dev-app /2/users/me

Notes:

  • xurl stores app config and tokens in ~/.xurl.
  • OAuth 2.0 redirect URI in the X developer portal should be http://localhost:8080/callback.
  • App registration examples with inline secrets are intentionally omitted here. Do that outside the agent session.

Common shortcuts

xurl post "Hello world!"
xurl reply 1234567890 "Nice post"
xurl quote 1234567890 "My take"
xurl delete 1234567890

xurl read 1234567890
xurl search "from:elonmusk" -n 10
xurl whoami
xurl user @XDevelopers
xurl timeline -n 20
xurl mentions -n 10

xurl like 1234567890
xurl unlike 1234567890
xurl repost 1234567890
xurl unrepost 1234567890

xurl bookmark 1234567890
xurl unbookmark 1234567890
xurl bookmarks -n 10
xurl likes -n 10

xurl follow @handle
xurl unfollow @handle
xurl following -n 20
xurl followers -n 20

xurl dm @handle "message"
xurl dms -n 10

xurl media upload path/to/file.mp4
xurl media status MEDIA_ID

POST_ID can also be a full X status URL.

Raw endpoint mode

GET:

xurl /2/users/me

POST JSON:

xurl -X POST /2/tweets -d '{"text":"Hello world!"}'

Headers:

xurl -H "Content-Type: application/json" /2/tweets

Choose auth type:

xurl --auth oauth2 /2/users/me
xurl --auth oauth1 /2/tweets
xurl --auth app /2/users/me

Choose OAuth2 account:

xurl --username alice /2/users/me

Streaming:

xurl /2/tweets/search/stream
xurl -s /2/users/me

Quick checks

Install:

xurl version

Auth:

xurl auth status

Live request after auth:

xurl whoami
자주 묻는 질문

에이전트에게 X 비밀번호가 필요한가요?

필요하지 않습니다. 로그인은 사용자의 컴퓨터에서 OAuth로 진행되며, 비밀 정보는 채팅에 붙여넣으면 안 된다고 스킬이 설명합니다.

X 앱을 여러 개 쓸 수 있나요?

네. 도구는 저장된 앱을 나열하거나 기본값을 정하거나, 특정 명령에 쓸 앱을 고를 수 있습니다.

자세한 출력 모드를 켜도 안전한가요?

아닙니다. 인증 헤더가 노출될 수 있으므로 에이전트 실행 중에는 자세한 출력 모드를 쓰지 말라고 스킬이 권장합니다.

상세 정보

작성자의 원본 설명

xurl X API CLI: install, auth, app choice, shortcuts, raw endpoints.

repo: steipete/agent-scripts

인기도

GitHub 스타
7.4k
순위
#13258
라이선스
MIT
업데이트
2026. 10. 30.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬