Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/elemontcapital/x-algorithm-skills/x-post-optimizernpx skills add ElemontCapital/x-algorithm-skills --skill x-post-optimizergit clone --depth 1 https://github.com/ElemontCapital/x-algorithm-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/elemontcapital/x-algorithm-skills/x-post-optimizer)<a href="https://agentmods.dev/skills/elemontcapital/x-algorithm-skills/x-post-optimizer"><img src="https://agentmods.dev/badge/skills/elemontcapital/x-algorithm-skills/x-post-optimizer.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00038 | $0.00652 |
| Opus 5 | $0.00019 | $0.00326 |
| Sonnet 5 | $0.00008 | $0.00130 |
| Haiku 4.5 | $0.00004 | $0.00065 |
Grade A, and why
x-post-optimizer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 44 lines — stays where its author put it; the contents beside it link to each section on GitHub.
X Post Optimizer
Strategic expertise for maximizing content reach on X. It focuses on the "Engagement Velocity" required to pass from candidate sourcing to the top of the "For You" timeline.
Context
The X algorithm utilizes a WeightedScorer that aggregates multiple probability heads (e.g., $P(\text{Like})$, $P(\text{Reply})$). While the HeavyRanker (Phoenix/MaskNet) predicts the likelihood of an action, the Weights determine the final distribution. Understanding these weights is key to "Algorithm-Native" content creation.
For specific tactical data, refer to:
What it does
- Calculates Expected Value: Estimates the "Score Boost" of different media types (e.g., Video vs. Static Text).
- Optimizes Conversation Depth: Advises on "Author-In-Thread" interactions, which carry massive weight in the
WeightedScorer. - Protects Account Reputation: Identifies "Anti-Signals" (external links, rapid-fire posting) that trigger the
VisibilityLibde-amplification. - Timing Strategy: Leverages knowledge of the "Frequency Deboost" window (3600s) to prevent internal cannibalization of posts.
Guidelines
- The 13.5x Rule: Replies are significantly more valuable than Likes in the modern ranker. Content that invites a meaningful "back-and-forth" creates a feedback loop that the
HeavyRankeroptimizes for. - Author Reply Multiplier: In the code, author engagement on their own thread acts as a "Freshness" and "Conversation" signal, often effectively multiplying the thread's reach by keeping it at the top of the retrieval stack.
- Negative Signal Avoidance: Avoid "Engagement Bait" that leads to "Show Less Often" or "Report" actions. The weight for a "Report" (-369.0) is mathematically impossible to overcome with positive engagement.
- Media Strategy: Native video receives a dedicated weight (
vqv_weight_eligibility), making it the preferred format for "Out-of-Network" discovery.
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 44 lines · 38 tokens per session scan A 272fd6e8ebf3
x-post-optimizer is a skill published in the GitHub repository ElemontCapital/x-algorithm-skills (2 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 38 tokens to every session and 652 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
agentic
Conversational AI-first interface with minimal controls, clear outcomes, and delegated task flows for agentic workflows.
test-generator
Automatically suggest tests for new functions and components. Use when new code is written, functions added, or user mentions testing. Creates test scaffolding with Jest, Vitest, Pytest patterns. Triggers on new functions, components, test requests, testing mentions.
ant
Structured, enterprise-focused design system emphasizing clarity, consistency, and efficiency for data-dense web applications.
basic
Print-inspired visual language for books, magazines, and reports with editorial grids and expressive typography.
bento
Modular grid layout with card-like blocks, clear hierarchy, soft spacing, and subtle visual contrast for organized, scannable interfaces.
bold
Strong visual presence with heavyweight typography, high-contrast colors, and commanding layouts.