Skip to content

ChloeVPin/x-algorithm-skill-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

x-algorithm-skill-kit - Codex skill for X For You recommendation stack

npm package License Node version


Overview

x-algorithm-skill-kit packages a self-contained Codex skill that helps AI agents draft, review, score, and optimize X posts based on engineering principles from the public X For You recommendation release.

It provides actionable guidance on retrieval, neural ranking, content filtering, and post mechanics without requiring a clone of the full upstream source tree.

Key Capabilities

  • Post Strategy & Drafting: Structure hooks, formatting, media, and audience targeting for higher For You engagement.
  • Algorithm Architecture Insights: Explain recommendation mechanics across Home Mixer, Phoenix, Thunder, and Grox.
  • Agent Skill Distribution: Instant installation into Codex environments via npx.

X For You Recommendation Pipeline Architecture: Home Mixer to Phoenix to Grox to Thunder


Quick Start & Installation

Prerequisites

  • Codex environment configured to load skills from $CODEX_HOME/skills
  • Node.js version 18 or newer with npx

Installation Commands

  1. Inspect the bundled skill package:
    npx x-algorithm-skill-kit help
  2. Install the skill directly into Codex:
    npx x-algorithm-skill-kit install
  3. Restart your Codex environment so the new skill is registered.

Usage & Agent Prompts

Trigger the skill in your agent conversations to optimize posts or analyze recommendation mechanics:

Example Agent Prompts

Use x-algorithm to review this X post draft and optimize its hook for For You retrieval.
Use x-algorithm to generate three post variants tailored for developers interested in AI recommendation systems.
Use x-algorithm to explain how Phoenix retrieval scoring influences post distribution.

Recommendation Subsystems Covered

  • Home Mixer: Timeline orchestration, candidate hydration, and scoring assembly.
  • Phoenix Engine: Out-of-network graph processing, neural candidate retrieval, and candidate ranking.
  • Thunder Serving: High-speed in-network graph serving and candidate filtering.
  • Grox AI: Multimodal content understanding, topic detection, and post quality scoring.
  • Pipeline Components: Candidate filters, hydrators, scorers, selectors, ad insertion, brand safety signals, and media engagement metrics.

Repository Structure

File / Path Purpose
skills/x-algorithm/SKILL.md Primary Codex skill entry point and prompt triggers.
skills/x-algorithm/references/post-strategy.md Actionable post formatting, hook design, and engagement strategy rules.
skills/x-algorithm/references/overview.md High-level architectural summary of the X recommendation stack.
skills/x-algorithm/references/pipeline.md Step-by-step candidate flow from retrieval to final timeline output.
skills/x-algorithm/references/subsystems.md In-depth breakdown of Home Mixer, Phoenix, Thunder, and Grox.
skills/x-algorithm/references/operations.md Operational guidelines, signal weights, and system filters.
scripts/install-skill.mjs Skill installation script for Codex environments.
docs/release-notes.md Detailed version release notes and update history.
AGENTS.md Agent configuration and instructions.

Recommended Reading Order

  1. Skill Core: Primary instructions and trigger definition.
  2. Post Strategy Guide: Rules for post drafting and review.
  3. Architecture Overview: Recommendation stack overview.
  4. Pipeline Execution: Detailed candidate pipeline lifecycle.

Contributing & License

Contributions to improve reference documentation or skill triggers are welcome. Please keep reference files structured cleanly with single-level deep links from SKILL.md.

About

Self-contained Codex skill repo for the X For You recommendation stack

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages