X Twitterのロゴ

X Twitter

組織
unifapi-agent
x-twitter

UnifAPI経由で公開X/Twitterデータが必要なワークフローで使用します。プロフィール、投稿、エンゲージメント、フォロワー/フォロー中、最新の検索結果、オートコンプリート、トレンドなどを取得できます。「このXアカウントを調べて」「このアカウントのツイートを取得して」「Xのフォロワー数」「Xで検索して」「Twitterのエンゲージメント」「Xのトレンド」といった依頼や、別のスキル(KOLの料金調査、クリエイター候補の絞り込み、購買シグナル、競合/リスニング調査)で確実なXデータ取得が必要な場合にも使用します。まず`unifapi`スキル経由で接続してください。読み取り専用の調査に使用し、投稿はしません。

Add to TypingMind

概要

公開者unifapi-agent
リポジトリagents
スキル名x-twitter
スター
590
フォーク
115
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

x-twitter

The deterministic read path for public X (Twitter) data through UnifAPI. This is a Data Skill: it does not run a marketing job on its own — it names the concrete x/... operations, response shapes, and gotchas so any X-first workflow (KOL pricing, creator vetting, buying signals, competitor and listening work) reads from one known recipe instead of rediscovering the surface each time.

Read-only — eyes, not hands. It researches public X data and returns cited records; it never posts, replies, follows, or DMs, and UnifAPI never holds X credentials.

Use the unifapi skill for live evidence

Connect once through the shared unifapi skill (OAuth MCP), then call the operations below. The X integration is backed by RapidAPI SocialLab but the public contract uses X-style /x/... paths — do not use legacy /twitter/... paths. Keep any billing metadata so the output can state record cost.

Response contract

Single-entity endpoints return the object in data:

json
{
  "request_id": "unif_...",
  "data": {},
  "billing": { "records_charged": 1, "balance_remaining": 99 }
}

List endpoints return an array in data plus pagination:

json
{
  "request_id": "unif_...",
  "data": [],
  "pagination": { "has_more": false, "next_cursor": null },
  "billing": { "records_charged": 1 }
}

When pagination.has_more is true, pass pagination.next_cursor as the next request's pagination_token (next_token is also accepted). Always preserve billing when reporting cost.

Core operations

NeedOperation
Profile by handlex/users/by/username/{username}
Profiles by handlesx/users/by (?usernames=a,b)
Profile by idx/users/{id}
Profiles by idsx/users (?ids=123,456)
Recent authored postsx/users/{id}/tweets (?max_results=10&exclude=replies)
Search recent postsx/tweets/search/recent (?query=...&max_results=10)
Autocomplete users/topicsx/autocomplete (?query=...)
Post by id / posts by idsx/tweets/{id} · x/tweets (?ids=123,456)
Who amplified a postx/tweets/{id}/retweeted_by · x/tweets/{id}/quote_tweets
Who liked a postx/tweets/{id}/liking_users
What a user likesx/users/{id}/liked_tweets
Followers / followingx/users/{id}/followers · x/users/{id}/following
Verified followersx/users/{id}/verified_followers
Regional trendsx/trends/by/woeid/{woeid}

Need a field not listed here? Use the unifapi skill's get_operation to read the exact schema before calling — but pick the operation from this table, don't discover blind.

Workflow

The deterministic recipes. Pick the one that matches the job; each names exactly what to call.

  1. Resolve a handle to a profile. Strip the leading @, then call x/users/by/username/{username}. Read data.id (needed for every per-user call below) and data.public_metrics.followers_count.
  2. Read recent engagement. With the id from step 1, call x/users/{id}/tweets?max_results=10&exclude=replies. Compute engagement from each tweet's public_metrics (like_count, retweet_count, reply_count, quote_count, impression_count). Page with x/users/{id}/tweets?pagination_token={next_cursor} when has_more.
  3. Trace who amplified a post. With a tweet id from step 2, call x/tweets/{id}/retweeted_by, x/tweets/{id}/quote_tweets, or x/tweets/{id}/liking_users to see who reposted, quoted, or liked it — the amplification and intent signal behind buying-signal, listening, and competitor work. Use x/users/{id}/liked_tweets for what a user engages with. Page via next_cursor.
  4. Gauge audience quality. Call x/users/{id}/verified_followers; it returns the verified followers as a paginated list, not a ready figure. Measure its size against data.public_metrics.followers_count from step 1 — that verified share is the real-vs-inflated signal that feeds confidence and warnings in downstream pricing/vetting skills. Page via next_cursor for a fuller count.
  5. Discover from a topic (no handles yet). Call x/tweets/search/recent?query=... for recent matching posts, or x/autocomplete?query=... for user/topic suggestions, then resolve the surfaced handles with step 1.
  6. Map a network. Call x/users/{id}/followers or x/users/{id}/following for audience-overlap or reach work; page via next_cursor.
  7. Read regional trends. Call x/trends/by/woeid/{woeid} for what's trending in a location (WOEID), e.g. for listening or content-timing.
  8. Cite everything. Every figure ties back to the post or profile it came from; report billing.records_charged (or estimate when billing metadata is absent).

Shape notes

  • XUser — metrics nested under public_metrics: followers_count, following_count, tweet_count, listed_count. Profile flags at top level: protected, verified, verified_type. Read public_metrics, not legacy flat fields.
  • XTweet — metrics nested under public_metrics: like_count, retweet_count, reply_count, quote_count, bookmark_count, impression_count. May include author and media when available.

Gotchas

  • Use /x/... paths, never /twitter/... (legacy). Old /twitter/users/{screen_name} → x/users/by/username/{username}; old /twitter/search → x/tweets/search/recent (use x/autocomplete for user/topic discovery).
  • A protected, too-old, or too-thin timeline lowers confidence — surface it, don't paper over it.
  • Resolve the handle to data.id before any x/users/{id}/... call.
  • A low balance can silently truncate list pages: check billing.truncated_due_to_balance — when true the page is partial, so top up before trusting any count or share computed from it.

Output

Return the records the calling workflow needs, each cited to its post/profile, plus a one-line cost note (records_charged). When this skill is used directly, a compact profile + engagement summary per handle is the default:

markdown
**@handle** — followers {N}, verified {yes/no}. Recent 10 posts: avg engagement {x}% ({likes}/{reposts}/{replies}). Evidence: {post URLs}. Records: ~{N}.

Related skills

  • kol-pricing, creator-shortlist, audience-fit-check (Influencer Marketing) — price and vet X creators on top of this read path.
  • buying-signal-monitor (Social Selling), competitor-profiling (Competitive Intelligence), social-listening-brief (Social Listening) — X-first intent, competitor, and listening work.
  • unifapi — the shared data skill: connect MCP and look up exact schemas with get_operation.

よくある質問

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

UnifAPI経由で公開X/Twitterデータが必要なワークフローで使用します。プロフィール、投稿、エンゲージメント、フォロワー/フォロー中、最新の検索結果、オートコンプリート、トレンドなどを取得できます。「このXアカウントを調べて」「このアカウントのツイートを取得して」「Xのフォロワー数」「Xで検索して」「Twitterのエンゲージメント」「Xのトレンド」といった依頼や、別のスキル(KOLの料金調査、クリエイター候補の絞り込み、購買シグナル、競合/リスニング調査)で確実なXデータ取得が必要な場合にも使用します。まず`unifapi`スキル経由で接続してください。読み取り専用の調査に使用し、投稿はしません。

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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