本文へスキップ
Skillpedia
SNS11k · #11745

xurl

できること

このスキルは、AIがコマンドラインツールを通じてXのアカウントを扱えるようにします。Xでの投稿や存在感の管理を手伝ってほしい人向けです。

使う場面

  • ✓エージェントに、Xで投稿したり、投稿に返信させたりしたいとき。
  • ✓Xの投稿を検索したり、特定の投稿を読んだりしたいとき。
  • ✓フォロワーを管理したり、ダイレクトメッセージを送ったり、Xにメディアをアップロードしたりしたいとき。

スキルのリンク

https://github.com/spinabot/brigade/blob/main/skills/xurl/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/spinabot/brigade/blob/main/skills/xurl/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“新しいポッドキャストのエピソードを告知する投稿を、リンク付きで投稿し、その後、公開されたか確認してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

AIは、保存された認証情報を使ってX APIへ認証付きのリクエストを送るxurlツールを実行します。よくある操作には短いコマンドを使い、任意のX APIのエンドポイントに生のリクエストを送ることもできます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

xurl — Agent Skill Reference

xurl is a CLI tool for the X API. It supports both shortcut commands (human/agent‑friendly one‑liners) and raw curl‑style access to any v2 endpoint. All commands return JSON to stdout.


Installation

Homebrew (macOS)

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

Installs to ~/.local/bin. If it's not in your PATH, the script will tell you what to add.

Go

go install github.com/xdevplatform/xurl@latest

Prerequisites

This skill requires the xurl CLI utility: https://github.com/xdevplatform/xurl.

Before using any command you must be authenticated. Run xurl auth status to check.

Secret Safety (Mandatory)

  • Never read, print, parse, summarize, upload, or send ~/.xurl (or copies of it) to the LLM context.
  • Never ask the user to paste credentials/tokens into chat.
  • The user must fill ~/.xurl with required secrets manually on their own machine.
  • Do not recommend or execute auth commands with inline secrets in agent/LLM sessions.
  • Warn that using CLI secret options in agent sessions can leak credentials (prompt/context, logs, shell history).
  • Never use --verbose / -v in agent/LLM sessions; it can expose sensitive headers/tokens in output.
  • Sensitive flags that must never be used in agent commands: --bearer-token, --consumer-key, --consumer-secret, --access-token, --token-secret, --client-id, --client-secret.
  • To verify whether at least one app with credentials is already registered, run: xurl auth status.

Register an app (recommended)

App credential registration must be done manually by the user outside the agent/LLM session. After credentials are registered, authenticate with:

xurl auth oauth2

For multiple pre-configured apps, switch between them:

xurl auth default prod-app          # set default app
xurl auth default prod-app alice    # set default app + user
xurl --app dev-app /2/users/me      # one-off override

Other auth methods

Examples with inline secret flags are intentionally omitted. If OAuth1 or app-only auth is needed, the user must run those commands manually outside agent/LLM context.

Tokens are persisted to ~/.xurl in YAML format. Each app has its own isolated tokens. Do not read this file through the agent/LLM. Once authenticated, every command below will auto‑attach the right Authorization header.


Quick Reference

Action Command
Post xurl post "Hello world!"
Reply xurl reply POST_ID "Nice post!"
Quote xurl quote POST_ID "My take"
Delete a post xurl delete POST_ID
Read a post xurl read POST_ID
Search posts xurl search "QUERY" -n 10
Who am I xurl whoami
Look up a user xurl user @handle
Home timeline xurl timeline -n 20
Mentions xurl mentions -n 10
Like xurl like POST_ID
Unlike xurl unlike POST_ID
Repost xurl repost POST_ID
Undo repost xurl unrepost POST_ID
Bookmark xurl bookmark POST_ID
Remove bookmark xurl unbookmark POST_ID
List bookmarks xurl bookmarks -n 10
List likes xurl likes -n 10
Follow xurl follow @handle
Unfollow xurl unfollow @handle
よくある質問

Xの認証情報はどこに保管されますか?

お使いのコンピューター上の設定ファイルに保管されます。あなたが自分で記入するもので、このスキルはそのファイルを読んだり共有したりしないように設定されています。

サインインが必要ですか?

はい。どのコマンドを使う前にも認証されている必要があり、このスキルは先に状態を確認できます。

よく使う操作以外もできますか?

はい。ショートカットのコマンドだけでなく、任意のX API v2のエンドポイントにリクエストを送れます。

詳細

作者による元の説明

A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.

repo: spinabot/brigade

人気

GitHubのスター
11k
ランキング
#11745
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル