Logo Youmind X Article

Youmind X Article

Tổ chức
YouMind-OpenLab
youmind-x-article

Dùng AI để viết và đăng bài trên X (Twitter) — nghiên cứu chủ đề qua cơ sở tri thức YouMind, tối ưu bài viết trong giới hạn 280 ký tự, tạo chuỗi bài được đánh số và xuất bản chỉ bằng một cú nhấp qua tài khoản X đã kết nối trong YouMind. Dùng khi người dùng muốn “đăng tweet”, “đăng trên X”, “đăng lên Twitter” hoặc “viết chuỗi bài”.

Add to TypingMind

Tổng quan

Nhà phát hànhYouMind-OpenLab
Kho mãskills
Tên kỹ năngyoumind-x-article
Sao
77
Bản fork
8
Tệp đi kèm
19
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 19 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được YouMind-OpenLab công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Youmind X Article trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/YouMind-OpenLab/skills/tree/main/skills/youmind-x-article
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân 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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Youmind X Article trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Youmind X Article ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Youmind X Article với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Youmind X Article làm được gì?

Dùng AI để viết và đăng bài trên X (Twitter) — nghiên cứu chủ đề qua cơ sở tri thức YouMind, tối ưu bài viết trong giới hạn 280 ký tự, tạo chuỗi bài được đánh số và xuất bản chỉ bằng một cú nhấp qua tài khoản X đã kết nối trong YouMind. Dùng khi người dùng muốn “đăng tweet”, “đăng trên X”, “đăng lên Twitter” hoặc “viết chuỗi bài”.

Vì sao nên dùng Youmind X Article trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Youmind X Article là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Youmind X Article trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/YouMind-OpenLab/skills/tree/main/skills/youmind-x-article. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Youmind X Article?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Youmind X Article với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Youmind X Article với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Youmind X Article có miễn phí không?

Kỹ năng này được YouMind-OpenLab phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇