x-dev-engineering

x-dev-engineering is a skill for Claude Code, Codex from ElemontCapital/x-algorithm-skills. It costs 49 tokens per session (517 once invoked), scanned A, original, Apache-2.0.

A development guide for changing or debugging X’s personalized “For You” recommendation feed. It focuses on a Rust pipeline and Phoenix, a transformer model that predicts several user actions such as likes, reposts, and replies.

In plain words
What is it for?
Use it when adding features, debugging candidate retrieval or visibility filtering, integrating Phoenix scoring, or running independent pipeline work concurrently with Rust async code.
Why use it?
It documents the required order of pipeline stages and the division between retrieving candidates, filtering them, scoring them, and selecting results.

Skill for Claude CodeCodex

Part of the x-algorithm plugin — 8 skills shipped together

Install

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.

agentmods
npx agentmods add skills/elemontcapital/x-algorithm-skills/x-dev-engineering
Any agent
npx skills add ElemontCapital/x-algorithm-skills --skill x-dev-engineering
Clone the repo
git clone --depth 1 https://github.com/ElemontCapital/x-algorithm-skills

Made for: Claude Code, Codex.

Or install x-algorithm, the plugin that ships this one along with the rest of its 8 skills.

Wrote 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.

agentmods badge for x-dev-engineering

README.md
[![agentmods](https://agentmods.dev/badge/skills/elemontcapital/x-algorithm-skills/x-dev-engineering.svg)](https://agentmods.dev/skills/elemontcapital/x-algorithm-skills/x-dev-engineering)
Your own site
<a href="https://agentmods.dev/skills/elemontcapital/x-algorithm-skills/x-dev-engineering"><img src="https://agentmods.dev/badge/skills/elemontcapital/x-algorithm-skills/x-dev-engineering.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 517 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00049 $0.00517
Opus 5 $0.00024 $0.00259
Sonnet 5 $0.00010 $0.00103
Haiku 4.5 $0.00005 $0.00052

Measured 3d ago against content hash a5ac8149cf22, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

x-dev-engineering 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 3d 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.

plugins/x-algorithm/skills/x-dev-engineering/SKILL.md · 43 lines

How it starts

The opening of the file, as written. The whole thing — 43 lines — stays where its author put it; the contents beside it link to each section on GitHub.

X Development Engineering

Technical expertise for developing and extending the X recommendation engine, focusing on the Grok-powered Phoenix model, Rust candidate pipelines, and the removal of hand-engineered features.

Context

The modern X algorithm prioritizes a "No Hand-Engineered Features" philosophy. Relevance is learned directly from user engagement sequences using a transformer architecture.

For technical deep-dives, see:

What it does

  • Implements Grok-Native Components: Guidance on integrating with the Phoenix transformer for multi-action prediction (Like, Repost, Reply, etc.).
  • Architects Candidate Sources: Logic for the two primary retrieval engines: Thunder (In-Network) and Phoenix Retrieval (Out-of-Network).
  • Enforces Pipeline Order: Ensures components follow the strict sequence: Query Hydration -> Sourcing -> Hydration -> Pre-Scoring Filters -> Scoring -> Selection.
  • Optimizes for Parallelism: Leverages Rust's async/await to execute independent hydration and sourcing tasks concurrently.

Guidelines

  • Candidate Isolation: During scoring, ensure candidates cannot "attend" to each other in the transformer. This maintains score consistency and enables batching.
  • No Heuristics: Avoid adding manual "if/then" rules for relevance; the Phoenix model should handle weightings through learned engagement probabilities.
  • Hydration Efficiency: Fetch only necessary metadata (text, media, author status) during the Candidate Hydration stage after initial sourcing to minimize I/O.
  • Safety First: All content must pass through VisibilityLib (Rust) for legal compliance and safety filtering before reaching the user.

Example Trigger Prompts

  • "/gen-thrift new ranking signal"
  • "/gen-thrift scaffold Rust Filter trait"
  • "Add a new engagement signal to Phoenix prediction"
  • "Show Rust implementation for Thunder candidate source"
  • "Explain 'No Hand-Engineered Features' in ranking update"
  • "How is candidate isolation applied in transformer attention?"

Read the full file on GitHub · 43 lines

Files

What ships with it

5 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.

Changes

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.

  1. 3d ago First seen · 43 lines · 49 tokens per session scan A a5ac8149cf22

Subscribe to this mod's changes

x-dev-engineering is a skill published in the GitHub repository ElemontCapital/x-algorithm-skills (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 49 tokens to every session and 517 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.

Related

Other skills, from other repositories

agent-code-analyzer

Agent skill for code-analyzer - invoke with $agent-code-analyzer.

ruvnet/ruflo · 19 tokens

agui-dotnet-streaming-chat

Get started with the AG-UI .NET SDK: bootstrap and run your first streaming-chat app (client + server) with the AG-UI .NET NuGet packages (AGUI.Client, AGUI.Server, AGUI.Formatting, AGUI.Abstractions). USE FOR: which packages to install and how to wire them; constructing an AGUIChatClient against an endpoint and…

ag-ui-protocol/ag-ui · 223 tokens

agui-dotnet-sample-step

Add a GettingStarted sample Step (a Server/Client pair) to the AG-UI .NET SDK that demonstrates one protocol feature the way we want users to write it. USE FOR: adding a new samples/GettingStarted/StepNN Server+Client pair, wiring it into AGUI.slnx and the integration-test project, giving it a deterministic…

ag-ui-protocol/ag-ui · 168 tokens

agui-dotnet-protobuf

Use the protobuf wire transport (instead of the default Server-Sent Events) for an AG-UI connection with the AG-UI .NET SDK — a compact binary event stream negotiated via the Accept header. USE FOR: making an AGUIChatClient prefer protobuf by wiring an AGUIEventStreamHandler with ProtobufEventStreamFormatter (then…

ag-ui-protocol/ag-ui · 162 tokens

revdiff-plan

Review the last Codex assistant message (plan, analysis, or proposal) with inline annotations in a TUI overlay. Extracts the most recent response from Codex rollout files and opens it in revdiff for review and annotation. Activates on "revdiff-plan", "review plan with revdiff", "annotate plan", "review last response"…

umputun/revdiff · 84 tokens

moai-ref-ui-polish

UI polish and interface-completion reference: the small visual details — concentric border radius, optical alignment, shadow-vs-border, motion easing, typography smoothing, tabular numbers, icon stroke weight, hit areas — that separate polished interfaces from generic ones. Agent-extending skill that amplifies…

modu-ai/moai-adk · 98 tokens