Install
openclaw skills install @zfoong/x-algorithm-optimizerOptimize posts for X's (Twitter's) For You feed algorithm, based on X's open-sourced ranking code. Use when the user wants to write, draft, review, or improve a post/tweet/thread for reach, engagement, or virality on X, for example "write a tweet about...", "make this post go viral", "why isn't my post getting reach", "optimize my thread for the algorithm", "review my tweet before I post". Grounds advice in the actual scoring weights, filters, and distribution mechanics rather than generic social-media tips.
openclaw skills install @zfoong/x-algorithm-optimizerHelp the user create posts for X's For You feed that the ranking algorithm
will distribute widely, grounded in X's open-sourced algorithm code rather than
folk wisdom. Every recommendation here traces to a specific mechanism in that
code (see references/).
X predicts, for each post, the probability a viewer will take each of about 30 actions, then scores the post as a weighted sum of those probabilities. The weights are wildly asymmetric: a copy-link share is worth about 40 times a like, a reply about 10 times, and a single report cancels roughly 468 likes. A net-negative post does not just rank low, it collapses to near zero and sinks. High score alone is not enough. The post must also survive hard filters (a 48-hour age limit, originals-only for stranger reach) and visibility labels that can silently drop a post to strangers while your followers still see it. Reaching followers is easy. Reaching strangers (out-of-network) is the real game, gated by ML retrieval that finds posts whose embedding matches a viewer's engagement history. Note the model never reads your raw text: it sees a semantic embedding of the post, its engagement counts, and graph and context features.
Work through these steps. Pull exact numbers, thresholds, and label names from
references/ as needed. Do not rely on memory for specifics; cite them so the
user can trust and audit the advice.
Ask for (or infer from context) what you need:
If the user just wants a post written and gives a topic, proceed with sensible defaults and note the assumptions. Do not over-interrogate.
Then pick the matching playbook in references/account-playbooks.md.
Structure the post to earn high-value actions (see references/scoring-weights.md):
Name explicitly which high-value action this post is engineered to earn. For concrete weak-to-strong rewrites to pattern-match against, see references/examples.md. Before relying on any popular X-growth tactic, check it against references/myths.md. Much common advice (hashtags, engagement-bait, post-volume, chasing likes) is contradicted by the actual ranking code.
Run the checklist in references/negative-signals.md. Confirm the post will not:
DO_NOT_AMPLIFY, MALICIOUS_URL).
Vet links, media, avatar, and banner, since some labels are account-level.SPAM_HIGH_RECALL,
coordinated-spam detection).Flag that going viral increases scrutiny: Grox re-scans posts with an LLM at 128 and again at 1,024 favorites, so clearly-viral content must be clearly clean.
From references/distribution-mechanics.md:
Run the heuristic critic for a concrete before/after and a flagged report:
python scripts/post_critic.py "your draft text here"
# or pipe a file: python scripts/post_critic.py < draft.txt
# or compare variants: python scripts/post_critic.py --compare "draft A" "draft B"
It estimates the post's action profile, computes the weighted score with the real weight table, and flags hook strength, reply and forward potential, and negative-signal risk. It is a heuristic writing aid, not a simulator of X's ML model. Present it as directional, and explain why each flag fired using the references.
This skill optimizes genuine, policy-compliant content for legitimate reach.
It does not help with spam or engagement farming, coordinated inauthentic
behavior, buying or faking engagement, ban evasion, or evading safety labels on
content that genuinely violates policy. The suppression mechanics in
references/negative-signals.md are documented so honest creators avoid
accidentally tripping classifiers, not to help anyone evade enforcement. If a
request is for one of the excluded uses, decline and offer the legitimate
alternative: make the content actually better.
Grounded in X's open-source For You algorithm (2026-08 snapshot). Weights are production-synced defaults that X periodically updates, so re-derive from a fresh clone of the algorithm repo if you need current exact values.