X Algo Tweet Writer 标志

X Algo Tweet Writer

组织
buildfastwithai
x-algo-tweet-writer

只要用户要求在 X(原 Twitter)上撰写、起草或创作推文、X 帖子、帖子串、引用推文或回复,就使用此技能。用户分享主题、新闻、链接或粗略想法,并希望将其整理成 X 帖子时,也请使用。涵盖所有形式:单条推文、短帖子串、引用推文、借势回复,以及配有图片或视频的帖子。每条生成的推文都应根据泄露的 xAI 源代码(2026 年 5 月),针对 X 的“为您推荐”算法进行优化,以提升停留、回复和关注作者等指标,通过 30 分钟的最低互动门槛,避免 AI 垃圾内容及负面信号(未停留、不感兴趣、屏蔽、静音、举报),并根据目标(触达、互动或涨粉)采用合适的形式。即使用户只说“发条推文”或“发帖聊聊 X”,也要使用此技能——默认用户希望内容针对算法优化。不要用于 LinkedIn 帖子(使用 linkedin-post-writer)、博客(使用 organic-traffic-generator)或 Unrot 每日新闻内容(使用 unrot-news-writer)。

Add to TypingMind

概览

发布者buildfastwithai
代码仓库gen-ai-experiments
技能名称x-algo-tweet-writer
星标数
785
复刻数
225
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 1 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/buildfastwithai/gen-ai-experiments/tree/main/mcp/servers/launch-mcp/skills/x-algo-tweet-writer
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/buildfastwithai/gen-ai-experiments.git /tmp/gen-ai-experiments
mkdir -p .claude/skills
cp -r /tmp/gen-ai-experiments/mcp/servers/launch-mcp/skills/x-algo-tweet-writer .claude/skills/x-algo-tweet-writer
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 X Algo Tweet Writer,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

X Algorithm Tweet Writer

Purpose

Write tweets that are engineered for the X "For You" algorithm — not "tweets that sound good" but tweets that actually win against the 22 signals the model predicts. Every craft decision (hook, length, format, timing, link/hashtag/quote choice) maps to a documented mechanism in the xAI source code dump from May 2026.

The full source-code analysis is in references/x-algo-insights.md — read it when you need a mechanism's exact citation, when the user asks "why," or when you hit a case this SKILL.md doesn't cover.


The mental model in one paragraph

The algorithm scores each tweet as a weighted sum of 22 probabilities. 17 are positive (favorite, reply, retweet, dwell, cont_dwell_time, click_dwell_time, photo_expand, click, profile_click, vqv, share, share_via_dm, share_via_copy_link, quote, quoted_click, quoted_vqv, follow_author). 5 are negative and subtract (not_dwelled, not_interested, block_author, mute_author, report). Negative signals weigh orders of magnitude more than positive ones. Above that scoring layer, three gates decide whether your post enters broad discovery at all: (1) the min-traction gate in the first ~30 minutes — without early engagement the post never enters Grok's Banger Initial Screen and never gets a quality multimodal embedding, so it's invisible out-of-network; (2) the 80-hour age cap — after ~3 days the model treats the post as "very old" and stops surfacing it; (3) the Author Diversity Decay — your 2nd, 3rd, 4th post in the same feed gets exponentially demoted. Everything else is a corollary.


Workflow (follow in order)

Step 1: Clarify the goal

Before writing, identify which of these the user wants. Don't ask if it's obvious from context, but make sure you've classified it internally:

GoalOptimize forFormat implications
Reach / viralityquote_score, retweet_score, follow_author, dwellOriginal post, contrarian hook, citable phrasing, post at audience peak time
Engagement / conversationreply_score, cont_dwell_timeQuestion or polarizing claim at end, substantive body, reply hook
Follower growthfollow_author_score, profile_click_scoreStrong POV, unique angle, "who is this person?" energy
Reply-jacking a large accountReply Ranker 0-3 scoreSubstantive reply, adds info or wit, not generic
Quote-tweeting a viralquote_score, quoted_click, quoted_vqvReal take added, quoted post must be "Safe" (not MediumRisk)
Threaddwell across multiple tweetsSingle banger first tweet — only one tweet per thread survives DedupConversationFilter

If the user gave a raw topic with no goal hint, default to reach + engagement (the most common ask).

Step 2: Choose the post type

There are five primary types. Pick exactly one — don't blend.

  • Original text post — the workhorse. Goes through Banger Screen, gets multimodal embedding, eligible for OON retrieval. Use for ~70% of cases.
  • Original with image — same as above plus photo_expand_score (positive weight). Detailed/legible image that invites a tap. Don't use a generic stock photo.
  • Original with video — must be ≥ 10–15 seconds with audio (Grok transcribes via ASR). Under that threshold the VQV weight zeroes out. Use for product demos, walkthroughs, hot takes.
  • Quote-tweet — counts as an original post for the algorithm. Activates 3 extra positive weights (quote_score, quoted_click, quoted_vqv). But inherits the quoted post's BrandSafetyVerdict — never quote NSFW/violent/MediumRisk content or accounts with mass blocks.
  • Reply (to a large account) — goes through the Reply Ranker (0–3 score). Only worth doing with substance. Skip for reach goals — replies don't enter the OON pipeline.

Threads are a special case: write a single banger tweet first. If the user insists on a thread, design tweet 1 as if it must stand alone (because for most viewers, it will — DedupConversationFilter keeps only the highest-scored tweet per conversation in any feed).

Step 3: Draft using the post structure

The structure that maximizes signal stacking:

[Line 1: HOOK — contrarian fact, surprising number, or claim that
 stops the scroll. Decides not_dwelled vs dwell on the spot.]

[Line 2: STAKE — concrete claim with a number, a stake, or a promise.
 Retains the reader who passed the hook.]

[Body: 3–8 short paragraphs (1–3 sentences each), packed with substance.
 Concrete data, examples, or numbered points. No filler. Each paragraph
 should breathe — short line breaks, not walls of text.]

[Optional: 1 image OR 1 video ≥10s with audio. Not both.]

[Closing: REPLY BAIT — a direct question, a polarizing-but-tactful
 take, or "what's your experience?" invitation. Triggers reply_score.]

[Optional, only if it adds value: 1–2 relevant hashtags that match
 a topic the system recognizes (see Topics section in references).
 OR 1 link at the very end — never as a substitute for content.]

Length guidance: Long-form (1500–4000 characters) generally wins on dwell when the content has substance. Short punchy posts (under 280 chars) work for high-virality memes/hot takes when the line itself is the whole payoff. Don't write medium-length flat posts — they lose on both axes.

Step 4: Audit against the 5 negative signals before publishing

Walk through each before delivering. If any fires, rewrite.

SignalFailure patternFix
not_dwelledWeak opening line, clickbait without payoff, ambiguous first 5 wordsRewrite line 1 with a concrete claim, surprising number, or contrarian take
not_interestedOff-topic vs the author's usual niche, wrong topic taggingMatch the author's known niche; if pivoting, do it gradually
block_authorPersonal attacks, slurs, aggressionRemove all of it. Polarizing ≠ aggressive
mute_authorSame topic spammed repeatedly, posting too oftenSpace posts (Author Diversity Decay), vary angles
reportUntagged NSFW, hate speech, illegal content, self-harm contentDon't. The 7 PToS categories will lock you to MediumRisk

Step 5: Apply the launch playbook (deliver this with the tweet)

When delivering the tweet, always include the launch plan. The tweet body alone is only half the work — the first 30 minutes decide whether it ever enters broad discovery.

LAUNCH PLAN
-----------
- Optimal time: [prime time of TARGET AUDIENCE, not author's local time]
  · For US audience: 8–11am ET or 6–9pm ET
  · For India audience: 9–11am or 7–10pm IST
  · For EU audience: 9–11am or 6–9pm CET
- Minute 0: publish
- Minute 0–5: notify 5–10 people in close network (DM or private community).
  Ask them to engage organically — like, reply, quote. NOT pre-written
  text. Authentic replies count more.
- Minute 5–15: reply with substance to every comment. Replies from
  the post author skip the spam classifier and inflate reply_count.
- Minute 15–30: monitor. If not crossing min-traction by minute 30,
  the post is dead for OON discovery. Accept and move on.
- Next 4–6 hours: DO NOT publish anything else. Author Diversity Decay
  will demote any second post in the same feed.
- 0–12 hour window: most discovery happens here. By 24h you're in a
  worse age bucket. By 80h the post is dead.

Adapt this plan to context — if the user only asked for the tweet text, give the plan as a short follow-up section. If they're doing an account audit or campaign, expand it.


Format conventions

When delivering tweets to the user:

  • Put the tweet text in a fenced code block so it copies cleanly without markdown rendering.
  • Below the code block, give a brief rationale (2–4 bullets) explaining the algorithmic choices: which positive signals it targets, which negative ones it avoids, and why the format fits the goal.
  • Then the launch plan (collapsed or expanded depending on whether the user asked for it).
  • If you produced multiple variants, label them A/B/C with one-line goal descriptions ("A: max reach via contrarian hook", "B: max replies via direct question", "C: max follower-growth via niche POV").

Example delivery:

```
xAI published the X algorithm and almost nobody has read it.

I spent the weekend in 207 files. Three things in there contradict
what growth gurus have been saying for two years:

1. There's a literal Kafka topic that decides if your post enters
the Grok pipeline based on engagement in the first minutes. Without
early traction, the algorithm doesn't even look at it.

2. Your location doesn't matter to the model. Your time zone does.
Posting at 10am Madrid for a US audience = your post ages 6 hours
before they wake up.

3. Dwell time weighs ~5x more than likes. There are 5 different
reading-time signals and only 1 favorite signal. A post with few
likes but high dwell beats a post with many likes and low dwell.

Which one surprised you the most?
```

**Why this tweet:**
- Hook (line 1) sets up payoff before the reader can scroll → defeats not_dwelled
- 3 concrete claims with numbers (207 files, 6 hours, 5 signals) → drives dwell_time and quote_score (citable)
- Closing question is direct → triggers reply_score
- No link, no hashtags, no mentions → density is the entire value prop

**Launch plan:** [as above]

Edge cases and special situations

"Write a thread on X"

Push back gently: a thread is multiple original tweets, and the algorithm will only show one per viewer (DedupConversationFilter). Offer two options: (a) one long-form single tweet with all the content, or (b) a thread where tweet 1 is designed to stand alone as the banger, and the rest are bonus for the small subset that taps in. Default to (a) unless the user explicitly wants (b).

"Repost / recycle my old tweet"

Don't suggest reposting the same text — PreviouslySeenPostsFilter and PreviouslyServedPostsFilter discard it for anyone who already saw it. Offer: (a) self-quote with new context added, or (b) rewrite with a fresh angle. Note that self-quote pays the Author Diversity Decay cost if the original is still in the feed.

"Reply to [big account]'s tweet"

You're in Reply Ranker territory (0–3 score). Generic ("First!", "100% agree", "🔥🔥") gets 0–1 and is buried. Substantive replies that add info, give a different angle, or are funny-with-context climb to 2–3. Write the reply as if it has to stand on its own — because the visible-rank position is the entire payoff.

"Quote-tweet this viral post"

Before drafting, do a sanity check on the quoted post:

  • Is it a healthy account with no obvious controversy? → safe to quote, you get 3 extra positive weights
  • Does it look NSFW, violent, or close to PToS lines? → DON'T. Your quote inherits MediumRisk
  • Is the author known for mass-blocking? → expect cut reach via AuthorSocialgraphFilter If the user wants to quote a problematic post, flag the risk and suggest a regular original post that references the topic instead.

"Post about [niche/controversial topic]"

Two layers to consider:

  1. PToS categories (the hard floor): violence, untagged NSFW, hate, spam, illegal, violent speech, self-harm. If the topic touches these, the post goes MediumRisk → no adjacent ads → structural downrank. Either pull back or warn the user explicitly.
  2. Polarizing-but-safe is fine and even rewarded (reply_score loves polarization). The line is: strong opinion ✓, attack on a person/group ✗.

"Write a tweet from my new account"

New users (young account + ≥ NEW_USER_MIN_FOLLOWING) get a much higher OON multiplier — they're discoverable by other new users via NEW_USER_OON_WEIGHT_FACTOR. Lean into that: produce high-quality posts in a clearly tagged niche, since the system pushes OON content to new users so they can discover accounts.

"My account isn't getting reach lately"

Probable causes, in order: (1) you've been hitting not_dwelled / not_interested enough that the author-embedding is "poisoned" (~6–16 weeks to recover with clean engagement); (2) recent posts haven't crossed min-traction so the Grok pipeline isn't processing you; (3) you've crossed into LowRisk/MediumRisk via a PToS-adjacent post; (4) you've been posting too frequently and Author Diversity Decay is compounding. Diagnose, then prescribe accordingly — see references/x-algo-insights.md section 26 for the full diagnostic tree.

"Make this go viral"

There's no virality button, but the closest is: maximize the probability that the average reader does at least 2 different positive actions (dwell + reply, dwell + quote, dwell + follow, dwell + share). The model combines 17 positive signals; each additional action multiplies your score. Write something that's both interesting enough to retain (dwell) AND has a clear reaction trigger (reply or quote bait).


What to avoid (the absolute-no list)

These will tank reach and the user should know if they're asking for one:

  1. Posting from a protected account — no embedding, no OON retrieval. Tell the user to switch to public.
  2. Pure AI slop — slop_score is an explicit model metric. Generated text with no editing pattern-matches as slop. Always rewrite human.
  3. Untagged NSFW / violence / hate — MediumRisk verdict, no adjacent ads, structural downrank.
  4. 10+ tweet megathreads as a reach strategy — only one survives DedupConversationFilter per viewer.
  5. Reposting the same text — bloom-filter dedup discards it for prior viewers.
  6. Quoting an account that blocked you (or that you blocked) — AuthorSocialgraphFilter eliminates the whole chain.
  7. Generic replies to large accounts ("first!", "🔥🔥", "100% agree") — Reply Ranker scores you 0–1 and buries you.
  8. Spam-replying small accounts with mentions — SpamEapiLowFollowerClassifier labels the reply, leaves a trace.
  9. Burst of 5 posts in 10 minutes — Author Diversity Decay destroys you from post 2 onward.
  10. Videos under ~10 seconds — VQV weight zeroes out even if retention is 100%.
  11. Link-only posts with no body substance — likely depresses dwell; possibly hit by unpublished Banger Screen prompts.
  12. Posting at your local peak when the audience is in another timezone — AgeFilter ages the post out before they're awake.

When to read references/x-algo-insights.md

Read the full reference doc when:

  • The user asks why a specific recommendation exists ("why no link?", "why 10 seconds for video?")
  • The user wants to game a specific mechanism (e.g., the min-traction gate, OON factor for new users)
  • The user is doing an account audit and wants the full diagnostic tree for low reach
  • You hit a case this SKILL.md doesn't cover (e.g., questions about ads adjacency, brand safety verdicts, BotMaker shadowbans)
  • The user wants exact source citations

The reference doc is the full source-code analysis with line-level citations to the xAI repo. It's the ground truth for any claim about how the algorithm works. When citing it, mention the section number for the user's convenience.


Voice and tone defaults

Unless the user specifies otherwise:

  • Direct, no fluff — the algorithm rewards substance per second of reading
  • Confident claims with concrete numbers — citable phrasing drives quote_score
  • Short paragraphs — 1–3 sentences each, breathing room between
  • Lowercase ok, selective capitals for emphasis — modern X norm, not LinkedIn formality
  • No emojis unless the user uses them first — emoji-heavy posts pattern-match as slop
  • Active voice, present tense — punchier on small screens

If the user has a known voice (e.g., they're a specific creator with samples in prior turns or in the conversation), match that voice while keeping the algorithmic structure underneath. Voice is the wrapper; structure is the skeleton.

附带文件

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

常见问题

X Algo Tweet Writer AI 技能有什么作用?

只要用户要求在 X(原 Twitter)上撰写、起草或创作推文、X 帖子、帖子串、引用推文或回复,就使用此技能。用户分享主题、新闻、链接或粗略想法,并希望将其整理成 X 帖子时,也请使用。涵盖所有形式:单条推文、短帖子串、引用推文、借势回复,以及配有图片或视频的帖子。每条生成的推文都应根据泄露的 xAI 源代码(2026 年 5 月),针对 X 的“为您推荐”算法进行优化,以提升停留、回复和关注作者等指标,通过 30 分钟的最低互动门槛,避免 AI 垃圾内容及负面信号(未停留、不感兴趣、屏蔽、静音、举报),并根据目标(触达、互动或涨粉)采用合适的形式。即使用户只说“发条推文”或“发帖聊聊 X”,也要使用此技能——默认用户希望内容针对算法优化。不要用于 LinkedIn 帖子(使用 linkedin-post-writer)、博客(使用 organic-traffic-generator)或 Unrot 每日新闻内容(使用 unrot-news-writer)。

为什么在 TypingMind 中使用 X Algo Tweet Writer?

因为您只需安装一次,就能搭配任何模型使用。X Algo Tweet Writer 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 X Algo Tweet Writer?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/buildfastwithai/gen-ai-experiments/tree/main/mcp/servers/launch-mcp/skills/x-algo-tweet-writer。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 X Algo Tweet Writer?

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

X Algo Tweet Writer 可以搭配多少个 AI 模型使用?

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

X Algo Tweet Writer AI 技能免费吗?

是的。buildfastwithai 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

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

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

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

查看全部

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

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