Youmind X Articleのロゴ

Youmind X Article

組織
YouMind-OpenLab
youmind-x-article

YouMindのナレッジベースを使ったトピック調査、280文字に最適化した文章作成、番号付きの連続投稿、YouMindに接続済みのXアカウントからのワンクリック投稿まで、AIでX(Twitter)への投稿を作成・公開します。「ツイートする」「Xに投稿する」「Twitterに公開する」「スレッドを書く」といった依頼に使用します。

Add to TypingMind

概要

公開者YouMind-OpenLab
リポジトリskills
スキル名youmind-x-article
スター
77
フォーク
8
同梱ファイル
19
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 19個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

AI X (Twitter) Post Writer

Write viral tweets with AI. Topic research via YouMind knowledge base, 280-character optimized writing, numbered multi-tweet sequences, and one-click publishing to X through the X account already connected in YouMind.

Get YouMind API Key | More Skills

Onboarding

MANDATORY: When the user has just installed this skill, present this message IMMEDIATELY. Translate to the user's language:

AI X Post Writer installed!

Tell me your topic and I'll write and publish a tweet for you.

Try it now: "Write a tweet about the future of open source AI"

What it does:

  • Research topics from your YouMind knowledge base and web trends
  • Write tweets optimized for engagement within 280 characters
  • Split long content into numbered tweet sequences (1/N format)
  • Publish directly to X through the X account connected in YouMind

Setup (one-time):

  1. Install & configure: cd toolkit && npm install && npm run build && cd .. && mkdir -p ~/.youmind/config && cp shared/config.example.yaml ~/.youmind/config.yaml
  2. Get YouMind API Key and fill youmind.api_key in ~/.youmind/config.yaml
  3. Connect your X account inside YouMind before publishing. This skill no longer reads X developer keys locally.
  4. Publishing requires a paid YouMind plan (Pro / Max) and consumes YouMind credits per tweet.

No X connection yet, or on a free plan? You can still write and preview locally — just skip the publish step.

Need help? Just ask!

Usage

Provide a topic, talking points, or raw text for publishing.

Write a single tweet:

Write a tweet about the latest AI breakthrough

Write a multi-tweet sequence:

Write a thread explaining how transformers work, aimed at beginners

Publish raw text:

Tweet this: "Just shipped our new feature! Here's what we learned..."

Setup

Prerequisites: Node.js >= 18, a YouMind API key, a Pro/Max YouMind plan, and an X account connected in YouMind if you want to publish.

Step 1 -- Install Dependencies

bash
cd toolkit && npm install && npm run build && cd ..

Step 2 -- Create Config File

bash
mkdir -p ~/.youmind/config
cp shared/config.example.yaml ~/.youmind/config.yaml

Canonical credentials: put your shared YouMind credentials in ~/.youmind/config.yaml — filled ONCE and read by every YouMind skill. See shared/config.example.yaml for the template and shared/YOUMIND_HOME.md. Optional skill overrides live in ~/.youmind/config/youmind-x-article.yaml.

Step 3 -- Get YouMind API Key

YouMind API Key enables knowledge base search, web search, article archiving, and X publishing.

  1. Open YouMind API Keys
  2. Click Create API Key
  3. Copy the sk-ym-xxxx key
  4. Fill in ~/.youmind/config.yaml under youmind.api_key
  5. Keep youmind.base_url as https://youmind.com/openapi/v1 in examples and documentation. Local backend testing should only override ~/.youmind/config.yaml or ~/.youmind/config/youmind-x-article.yaml.

Step 4 -- Connect X in YouMind

  1. Open YouMind and connect your X account via the product's publishing / connector settings flow (one-click OAuth 2.0 PKCE)
  2. Save the connection once
  3. Keep only youmind.api_key in ~/.youmind/config.yaml

Verify Setup

bash
cd toolkit && npx tsx src/cli.ts validate

Validation checks only the ~/.youmind API key. X connectivity and plan eligibility are validated on the first publish call:

  • If the current plan is not eligible, the OpenAPI returns 402 with an upgrade link to https://youmind.com/pricing.
  • If the X account is not connected, the OpenAPI returns 404 X_ACCOUNT_NOT_CONNECTED. Connect the X account in the YouMind connector settings.

Skill Directory

This skill is a folder. Read files on demand -- do NOT load everything upfront.

PathPurposeWhen to read
references/pipeline.mdFull step-by-step executionWhen running the publishing pipeline
references/platform-dna.mdX audience, format constraints, engagement dataBefore any content work
references/content-generation-playbook.mdIdea → X-native draft workflowWhen generating new content
references/content-adaptation-playbook.mdExisting article → X thread workflowWhen adapting/condensing content
references/content-adaptation.mdX content formatting rules (legacy)Supplementary reference
references/api-reference.mdYouMind X OpenAPI endpoint documentationWhen calling X through YouMind
~/.youmind/config.yamlShared API credentials (YouMind only)Step 1
output/Local tweet Markdown drafts (git-ignored)When writing the tweet/sequence
toolkit/dist/*.jsExecutable scripts (run from toolkit/)Various steps

Draft Location Rule

Canonical: write local tweet Markdown files to ~/.youmind/articles/x/<slug>.md. This shared home directory is available to all YouMind skills — see shared/YOUMIND_HOME.md.

Legacy fallback (if ~/.youmind/ is not writable): skills/youmind-x-article/output/<slug>.md.

  • Correct: ~/.youmind/articles/x/my-thread.md
  • Correct (legacy): skills/youmind-x-article/output/my-thread.md
  • Wrong: skill root directly, references/, toolkit/, or an ad-hoc drafts/ directory

Both locations are git-ignored. Create directories on demand (mkdir -p ~/.youmind/articles/x). Kebab-case filenames (my-thread.md), descriptive slugs over timestamps.

Content Modes

Before writing any content, read references/platform-dna.md to internalize X's format constraints, discourse norms, and engagement patterns (557M MAU, thread 2–4% engagement vs single-tweet 0.5–1.5%).

Intent routing

User's inputOperationPlaybook to load
Idea, topic, or talking points onlyGeneratereferences/content-generation-playbook.md
Existing article or draftAdapt (condense)references/content-adaptation-playbook.md
Article in another languageTranslatereferences/content-adaptation-playbook.md (translate mode)
Same-language article needing X-native angleLocalizereferences/content-adaptation-playbook.md (localize mode)
Old thread to refreshRevivereferences/content-adaptation-playbook.md (revive mode)
Section of a longer piece → teaserExcerptreferences/content-adaptation-playbook.md (excerpt mode)
Short blog post → threadCross-postreferences/content-adaptation-playbook.md (cross-post mode)

Quality gates (before publish)

  1. Self-critique: Pass all checklist items in the playbook's Step 6
  2. Conformance report: Generate and present to user (Step 7/8)
  3. User approval: Do not auto-publish without confirmation

Result Links Rule

After any tweet or thread publish action, always end with Result links.

  • Prefer the direct X post URL(s).
  • For threads, include the lead tweet URL plus any additional per-post URLs already available.
  • If no exact results page exists, return the best X platform entry URL instead.
  • Never leave the user with only raw post IDs.

Pipeline Overview

Read references/pipeline.md for full execution details.

StepActionKey reference
1Load config and validate the YouMind API key--
2Mine YouMind knowledge base for source material--
3Research topic via web search--
4Adapt content: 280 char limit, split into sequence if longreferences/content-adaptation.md
5Publish to X via YouMind X OpenAPIreferences/api-reference.md
6Report results: post IDs, X URLs, result links

Routing shortcuts:

  • User gave a short topic → Skip broad research, go to Step 4
  • User gave raw tweet text → Skip to Step 5 (publish)
  • User wants preview only → Run local adaptation, skip publishing

Content Rules

Single Tweet

  1. 280 character limit — hard limit, no exceptions
  2. URLs count as 23 characters — regardless of actual length
  3. 1-2 hashtags max — more looks spammy on X
  4. Strong hook — first words determine if people read further
  5. Clear opinion or insight — vague tweets get ignored

Thread (Tweet Chain)

  1. First tweet = hook — must stand alone and compel reading
  2. Each tweet makes sense alone — readers may see any tweet individually
  3. Numbered format — 1/N style for clarity (optional but recommended)
  4. Last tweet = CTA/summary — recap and call to action
  5. 280 chars per tweet — including numbering
  6. Natural paragraph boundaries — split at logical breaks

Threads publish as a native X reply-chain: the skill takes the first tweet's postId and passes it as replyToPostId for the second tweet, and so on. X renders the full sequence as a proper thread in readers' timelines.

Images

  • Images must already be hosted under https://cdn.gooo.ai/... (YouMind enforces this allowlist to avoid SSRF)
  • Upload local files to YouMind first (e.g., via the YouMind product UI or AI image generation), then reference the returned CDN URL
  • Up to 4 images per tweet; for a sequence they attach to the first tweet only

Resilience: Never Stop on a Single-Step Failure

Every step has a fallback. If a step AND its fallback both fail, skip and note it in the final output.

StepFallback
2 Knowledge miningSkip, empty knowledge context
3 ResearchAsk user for manual input
5 PublishingSave adapted text locally under output/ for manual posting
-- Archive to YouMindWarn, continue

References

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

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

YouMindのナレッジベースを使ったトピック調査、280文字に最適化した文章作成、番号付きの連続投稿、YouMindに接続済みのXアカウントからのワンクリック投稿まで、AIでX(Twitter)への投稿を作成・公開します。「ツイートする」「Xに投稿する」「Twitterに公開する」「スレッドを書く」といった依頼に使用します。

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

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

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

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

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

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

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

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

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

YouMind-OpenLabがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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