x-algo-pipeline

Explain the eight-stage X recommendation pipeline and post ranking process.

11|2|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/CloudAI-X/x-algo-skills --skill x-algo-pipeline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: x-algo-pipeline
Source: https://github.com/CloudAI-X/x-algo-skills/tree/main/x-algo-pipeline
Command: npx skills add https://github.com/CloudAI-X/x-algo-skills --skill x-algo-pipeline

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Clarifies how the X recommendation pipeline processes and ranks posts from hydration to final feed, enabling quick debugging, optimization, and capacity planning for large-scale recommendations.

Core Features & Use Cases

  • End-to-end eight-stage pipeline overview (Query Hydration, Sources, Candidate Hydration, Pre-Score Filtering, Scoring, Selection, Post-Score Filtering, Side Effects)
  • Insight into how in-network Thunder and out-of-network Phoenix sources contribute to candidates
  • Use cases: debugging ranking behavior, performance tuning, feature experimentation, and scalability planning

Quick Start

Trace the eight stages of the pipeline from a sample user request to the final feed output to observe where data is hydrated, scored, filtered, and selected.

Frequently Asked Questions about x-algo-pipeline

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does the X feed ranking pipeline process posts end-to-end?

The X feed ranking pipeline processes posts through an eight-stage architecture: Query Hydration, Sources, Candidate Hydration, Pre-Score Filtering, Phoenix Scoring, Weighted Scoring, Selection, Post-Score Filtering, and Side Effects.

What is the difference between Thunder and Phoenix sources in the X recommendation algorithm?

Thunder sources supply in-network candidates while Phoenix sources generate out-of-network candidates, both feeding into the candidate hydration stage before pre-score filtering and scoring operations.

How do I debug ranking behavior in the X feed architecture?

Debug X feed ranking behavior by tracing the eight-stage pipeline from user request to final feed output, inspecting where data is hydrated, scored, filtered, and selected.

How do Phoenix Scorer and Weighted Scorer interact during post ranking?

The Phoenix Scorer evaluates out-of-network candidates, passing results to the Weighted Scorer which combines scores with author diversity and out-of-network adjustments before final Top-K selection.

When should I apply pre-score filtering versus post-score filtering in a ranking pipeline?

Apply pre-score filtering to remove invalid candidates before Phoenix scoring to save compute, and apply post-score filtering after Top-K selection to enforce final side effects and feed constraints.

What are the limitations of the X recommendation pipeline for scalability planning?

Scalability planning for the X recommendation pipeline requires mapping capacity across eight stages, addressing bottlenecks in candidate hydration, Phoenix scoring, and Top-K selection throughput limits.