Bird Twitterのロゴ

Bird Twitter

コミュニティ
exiao
bird-twitter

Read X/Twitter timelines, tweets, and threads using the bird CLI (cookie-based GraphQL). Use when the user mentions "bird", wants to read their Following/For You timeline, fetch tweets, search X, or pull timeline data for summarization. Prefer over xitter (x-cli) for read-heavy workflows — bird uses browser cookies (zero API cost) while x-cli uses the paid official API.

概要

公開者exiao
リポジトリskills
スキル名bird-twitter
スター
40
フォーク
12
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    exiaoがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Bird Twitter」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/exiao/skills/tree/main/external-services/bird-twitter
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/exiao/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/external-services/bird-twitter .claude/skills/bird-twitter
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでBird Twitterを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にBird Twitterを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Bird Twitterは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Bird — X/Twitter Cookie-Based CLI

bird is a fast X/Twitter CLI that uses browser cookies (GraphQL API) instead of the paid official API. It's the preferred tool for reading timelines, tweets, threads, and searches at zero API cost.

When to Use

  • Reading the home timeline (Following or For You feed)
  • Fetching individual tweets by ID or URL
  • Searching tweets
  • Reading threads and replies
  • Pulling timeline data for summarization or digest pipelines
  • Any read-heavy X/Twitter workflow

When NOT to Use

  • Posting tweets, replying, or write operations (use xitter/x-cli instead for API-backed writes)
  • When the user explicitly asks for x-cli or official API

Cookie Auth

bird extracts cookies automatically from the user's browser. It checks Chrome by default.

Config file: ~/.config/bird/config.json5 or ./.birdrc.json5

Supported config keys:

  • chromeProfile — Chrome profile name
  • chromeProfileDir — Chrome/Chromium profile directory or cookie DB path
  • firefoxProfile — Firefox profile name
  • cookieSource — Cookie source for browser extraction
  • cookieTimeoutMs — Cookie extraction timeout
  • timeoutMs — Request timeout
  • quoteDepth — Max quoted tweet nesting depth

Auth Failure Detection

If bird returns authentication errors (401, "not logged in", cookie extraction failures):

  1. Check that the user is logged into X/Twitter in their browser
  2. Try specifying a profile: bird --chrome-profile "Profile 1" whoami
  3. Try Firefox: bird --firefox-profile default-release whoami
  4. Cookies may have expired — user needs to visit x.com in their browser to refresh

Important: When running as a cron job, if auth fails, send a re-auth alert to the user rather than failing silently.

Key Commands

Timeline (most common for digest workflows)

bash
# "Following" feed (chronological) — preferred for digests
bird home --following -n 50 --json --plain

# "For You" feed (algorithmic)
bird home -n 30 --json

# Specific user's tweets
bird user-tweets <handle> -n 20 --json

Reading Tweets

bash
# Read a single tweet (by URL or ID)
bird read <tweet-id-or-url> --json

# Read a thread
bird thread <tweet-id-or-url> --json

# Read replies
bird replies <tweet-id-or-url> --json

Search

bash
bird search "AI agents" -n 20 --json

User Info

bash
bird whoami                    # Check which account is authenticated
bird about <username> --json   # User profile info
bird following -n 50 --json    # Who you follow
bird followers -n 50 --json    # Who follows you

Other Reads

bash
bird mentions --json           # Your mentions
bird bookmarks --json          # Your bookmarks
bird likes --json              # Your liked tweets
bird lists --json              # Your lists
bird list-timeline <list-id-or-url> -n 30 --json
bird news --json               # Trending/Explore

Output Modes

  • --json — Machine-readable JSON (required for pipeline processing)
  • --json-full — JSON with raw API response in _raw field
  • --plain — No emoji, no color (stable for parsing)
  • Default — Human-readable with emoji

For pipelines, always use --json --plain.

JSON Output Structure

Each tweet in the JSON array contains:

json
{
  "id": "tweet_id",
  "text": "tweet text content",
  "createdAt": "Thu Apr 30 12:02:10 +0000 2026",
  "replyCount": 0,
  "retweetCount": 5,
  "likeCount": 42,
  "conversationId": "thread_root_id",
  "inReplyToStatusId": "parent_tweet_id",
  "author": { "username": "handle", "name": "Display Name" },
  "authorId": "user_id",
  "media": [{ "type": "photo|video|animated_gif", "url": "..." }],
  "quotedTweet": { ... }
}

Key fields for filtering:

  • inReplyToStatusId — present only on replies (filter these out for top-level-only digests)
  • text starting with RT @ — retweets
  • quotedTweet — nested quote tweet object
  • media — attached images/videos

Timeline Digest Pipeline Pattern

Typical cron workflow for summarizing a timeline:

bash
# 1. Pull timeline
bird home --following -n 50 --json --plain > /tmp/timeline.json

# 2. Filter to last 24h and deduplicate (in Python/jq)
# 3. Categorize and summarize tweets by topic
# 4. Deliver summary to Signal/Telegram/iMessage

When summarizing, group tweets by theme:

  • Markets & Finance (tickers, earnings, macro)
  • AI & Tech (models, tools, launches)
  • Business & Strategy (positioning, growth, startups)
  • Notable/Culture (viral tweets, observations)

Combining with signal-cli for Delivery

See the signal-cli-daemon skill for sending summaries to Signal groups via JSON-RPC.

よくある質問

AIスキル「Bird Twitter」では何ができますか?

Read X/Twitter timelines, tweets, and threads using the bird CLI (cookie-based GraphQL). Use when the user mentions "bird", wants to read their Following/For You timeline, fetch tweets, search X, or pull timeline data for summarization. Prefer over xitter (x-cli) for read-heavy workflows — bird uses browser cookies (zero API cost) while x-cli uses the paid official API.

TypingMindでBird Twitterを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Bird Twitterはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにBird Twitterをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/exiao/skills/tree/main/external-services/bird-twitterを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Bird Twitterを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Bird Twitterで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもBird Twitterを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Bird Twitter」は無料ですか?

はい。exiaoがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇