Twitter User Skillのロゴ

Twitter User Skill

コミュニティ
zeenie-ai
twitter-user-skill

Look up Twitter/X user profiles with descriptions, get authenticated user info, and retrieve followers/following lists with profile details.

概要

公開者zeenie-ai
リポジトリOpenCompany
スキル名twitter-user-skill
スター
912
フォーク
137
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Twitter User Tool

Look up user profiles and social connections on Twitter/X via X API v2.

How It Works

This skill provides instructions for the Twitter User tool node. Connect the Twitter User node to an AI Agent's input-tools handle to enable user lookups.

All operations use OAuth 2.0 user context with automatic token refresh on expiry.

twitter_user Tool

Retrieve user information and social connections.

Schema Fields

FieldTypeRequiredDescription
operationstringYesOperation type: me, by_username, by_id, followers, following
usernamestringIf by_usernameTwitter username (without @)
user_idstringIf by_id/followers/followingTwitter user ID
max_resultsintegerNoFor followers/following (1-1000, default: 100)

Operations

OperationRequired FieldsDescriptionRate Limit (free tier)
menoneGet authenticated user's profile25 req/24hr
by_usernameusernameLook up user by username100 req/24hr
by_iduser_idLook up user by ID100 req/24hr
followersuser_id (optional)Get user's followers (defaults to authenticated user)15 req/15min
followinguser_id (optional)Get accounts user follows (defaults to authenticated user)15 req/15min

Examples

Get my profile:

json
{
  "operation": "me"
}

Look up user by username:

json
{
  "operation": "by_username",
  "username": "elonmusk"
}

Look up user by ID:

json
{
  "operation": "by_id",
  "user_id": "44196397"
}

Get my followers:

json
{
  "operation": "followers",
  "max_results": 100
}

Get accounts I follow:

json
{
  "operation": "following",
  "max_results": 50
}

Get another user's followers:

json
{
  "operation": "followers",
  "user_id": "44196397",
  "max_results": 200
}

Response Format - Single User

All user lookups return profile data including description and account creation date:

json
{
  "success": true,
  "result": {
    "id": "44196397",
    "username": "elonmusk",
    "name": "Elon Musk",
    "profile_image_url": "https://pbs.twimg.com/profile_images/.../photo.jpg",
    "verified": true,
    "description": "Mars & Cars, Chips & Dips",
    "created_at": "2009-06-02 20:12:29+00:00"
  },
  "execution_time": 0.35
}

Response Format - User List (Followers/Following)

json
{
  "success": true,
  "result": {
    "users": [
      {
        "id": "123456789",
        "username": "user1",
        "name": "User One",
        "profile_image_url": "https://pbs.twimg.com/...",
        "verified": false,
        "description": "Software developer and open source enthusiast",
        "created_at": "2020-03-15 08:30:00+00:00"
      }
    ],
    "count": 100
  },
  "execution_time": 1.2
}

Key Response Fields

FieldDescription
idUnique numeric user ID (use for followers/following lookups)
usernameHandle without @ (use for by_username lookups)
nameDisplay name
profile_image_urlURL to profile picture
verifiedWhether the account is verified
descriptionUser's bio text
created_atAccount creation timestamp

Error Response

json
{
  "success": false,
  "error": "Username is required",
  "execution_time": 0.01
}

Guidelines

  1. Usernames: Provide without the @ symbol (e.g., elonmusk not @elonmusk)
  2. User IDs: Use the numeric ID string. Get these from search results (author_id) or user lookups
  3. Rate limits: me endpoint is heavily rate-limited (25/24hr on free tier) -- avoid calling repeatedly
  4. Max results: Minimum 1, maximum 1000 per request for followers/following
  5. Pagination: Only the first page is returned. For large accounts, max_results controls page size
  6. Defaults to self: If user_id is omitted for followers/following, it defaults to the authenticated user
  7. Token refresh: If a 401/403 error occurs, the system automatically refreshes the OAuth token and retries

Common Use Cases

  • Get your own profile information and bio
  • Look up profiles of users you interact with
  • Check if users are verified
  • Analyze follower/following relationships and growth
  • Build lists of relevant accounts in a niche
  • Get user IDs from usernames for use in search queries (e.g., from:username)
  • Compare follower counts between accounts

Setup Requirements

  1. Connect the Twitter User node to an AI Agent's input-tools handle
  2. Ensure Twitter is connected (authenticated via OAuth in Credentials Modal)
  3. Your X Developer account must have appropriate API access level
  4. Required OAuth scopes: users.read, follows.read, offline.access

よくある質問

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

Look up Twitter/X user profiles with descriptions, get authenticated user info, and retrieve followers/following lists with profile details.

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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