Youmind X Article 标志

Youmind X Article

组织
YouMind-OpenLab
youmind-x-article

借助 AI 撰写并发布 X(Twitter)推文:通过 YouMind 知识库研究主题,撰写符合 280 字符限制的内容,生成带编号的多条推文串,并通过已连接到 YouMind 的 X 账号一键发布。当用户想要“发推文”“在 X 上发帖”“发布到 Twitter”或“写一条推文串”时使用。

Add to TypingMind

概览

发布者YouMind-OpenLab
代码仓库skills
技能名称youmind-x-article
星标数
77
复刻数
8
附带文件
19
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 19 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 YouMind-OpenLab 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Youmind X Article AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

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

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Youmind X Article。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Youmind X Article 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 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

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Youmind X Article AI 技能有什么作用?

借助 AI 撰写并发布 X(Twitter)推文:通过 YouMind 知识库研究主题,撰写符合 280 字符限制的内容,生成带编号的多条推文串,并通过已连接到 YouMind 的 X 账号一键发布。当用户想要“发推文”“在 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,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Youmind X Article?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Youmind X Article 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Youmind X Article 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Youmind X Article AI 技能免费吗?

YouMind-OpenLab 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇