Zum Inhalt springen
Skillpedia
Agenten280k · #390

recsys-pipeline-architect

Was er macht

Dieser Agent hilft dir, Systeme zu bauen, die die besten Inhalte für eine Person auswählen. Er nutzt eine Schritt-für-Schritt-Methode, um festzulegen, wie Inhalte gefunden, mit Informationen angereichert, gefiltert, bewertet und ausgewählt werden.

Wann du ihn nutzt

  • ✓Wenn du einen personalisierten News-Feed erstellen möchtest.
  • ✓Wenn du ein System baust, das Produkte oder Inhalte empfiehlt.
  • ✓Wenn du eine Liste mit Aufgaben oder Benachrichtigungen organisieren musst.

Link zum Skill

https://github.com/affaan-m/ECC/blob/main/skills/recsys-pipeline-architect/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/affaan-m/ECC/blob/main/skills/recsys-pipeline-architect/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Wie kann ich ein System aufbauen, das meinen Nutzern Videos empfiehlt?”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Er teilt den Prozess in sechs Phasen auf: Inhalte finden (Source), Details ergänzen (Hydrator), unerwünschte Inhalte entfernen (Filter), eine Bewertung vergeben (Scorer), die besten auswählen (Selector) und protokollieren, was passiert ist (SideEffect). So hilft er dir, die Reihenfolge und die Details jedes Schritts zu planen.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

recsys-pipeline-architect

A spec-and-scaffold skill for building composable recommendation, ranking, and feed pipelines. It encodes the six-stage pattern — Source → Hydrator → Filter → Scorer → Selector → SideEffect — popularized by xAI's open-sourced For You algorithm (Apache 2.0). This skill is an independent reimplementation of the pattern (MIT) — no code copied from the original.

Upstream: https://github.com/mturac/recsys-pipeline-architect

When to Use

  • User wants to build any system that picks "the top K items for a user/context"
  • User asks "how should I rank X" or describes a feed/personalization problem
  • User has a scoring function and needs the pipeline plumbing around it
  • User wants to migrate from a single relevance score to multi-action prediction with tunable weights
  • User is wrapping an LLM/ML scorer and needs filters, hydrators, side-effects, and a runnable scaffold in their stack (TypeScript / Go / Python)
  • Triggers: "recommendation system", "feed algorithm", "ranking pipeline", "for you feed", "candidate pipeline", "content recommender", "pipeline architecture for recsys", "RAG retrieval reranker"

When NOT to Use

  • Model architecture work (transformer design, two-tower retrieval, embedding training) — this skill is plumbing around the model, not the model itself
  • Pure ML training pipelines — the scoring function is the user's responsibility
  • Operating a deployed pipeline (monitoring, autoscaling) — out of scope

The six-stage framework

# Stage Job Parallel?
1 Source Fetch candidates from one or more origins Yes — multiple sources run in parallel
2 Hydrator Enrich each candidate with metadata needed for filtering and scoring Yes — independent hydrators run in parallel
3 Filter Drop candidates that should never be shown (blocked, expired, duplicate, ineligible) Sequential — each filter sees fewer items
4 Scorer Assign each surviving candidate one or more scores Sequential — later scorers see earlier scores
5 Selector Sort by final score, return top K Single op
6 SideEffect Cache served IDs, log impressions, emit events, update counters Async — must never block the response

Why this exact order

  • Sources before hydration: know what candidates exist before paying to enrich them
  • Hydration before filtering: many filters need metadata the source did not provide
  • Filtering before scoring: scoring is the expensive stage; drop the ineligible first
  • Scorer chain (not single scorer): real systems compose ML scoring + diversity reranking + business rules
  • Selector after scoring: keeps scoring deterministic and cacheable
  • SideEffects last and async: side effects must never block the user response

Workflow when invoked

Walk the user through these eight steps:

  1. Clarify the use case (one round, three questions): items being ranked? input context? language/runtime?
  2. Identify the candidate sources: usually in-network (followed/owned/subscribed) + out-of-network (ML retrieval / trending / similar-to-liked)
  3. List required hydrations: for each filter and scorer, what data does it need that the source did not provide?
  4. List the filters: duplicate, self, age, block/mute, previously-served, eligibility. Order matters — cheap before expensive.
  5. Design the scorer chain: primary (ML) → combiner (multi-action with weights) → diversity → business rules
  6. Selector: sort descending by final score, take top K (or stratified mix for in-network/out-of-network)
  7. SideEffects: cache served IDs, emit impression events, update counters, log analytics — all fire-and-forget
  8. Generate the scaffold in the user's stack

Key trade-offs to surface (don't default silently)

1. Single score vs multi-action prediction

  • Single score: train one model to predict relevance. To change behavior → retrain.
  • Multi-action: predict P(action) for many actions (read, like, share, skip, report), combine with weights at serving time. To change behavior → change weights. No retraining.

The X For You system uses multi-action with both positive and negative weights. Recommend multi-action when the user expects to tune frequently.

2. Candidate isolation in scoring

  • Isolated: each candidate scored independently. Deterministic, cacheable.

…

Häufige Fragen

Was sind 'Items'?

Items sind alles, was du präsentieren möchtest: Nachrichtenartikel, Produkte, Videos, Songs, Aufgaben usw.

Was bedeutet 'Top K'?

Es bedeutet, dass die 'K' besten Items aus einer größeren Liste ausgewählt werden. 'K' ist eine Zahl, die du festlegst, zum Beispiel die 5 relevantesten Videos.

Muss ich programmieren können, um das zu nutzen?

Der Agent hilft dir, die Struktur des Systems zu planen. Er kann erste Code-Beispiele in Sprachen wie TypeScript, Go oder Python erzeugen. Grundkenntnisse in Programmierung helfen dir aber, das Ergebnis zu nutzen.

Details

Originalbeschreibung des Autors

Design composable recommendation, ranking, and feed pipelines using the six-stage Source→Hydrator→Filter→Scorer→Selector→SideEffect framework popularized by xAI's open-sourced For You algorithm. Use this skill whenever the user is building any system that picks "the top K items for a (user, context)" — social feeds, content CMSs, RAG rerankers, task prioritizers, notification triage, search rerank

repo: affaan-m/ECC

Beliebtheit

GitHub-Sterne
280k
Platz im Ranking
#390
Lizenz
MIT
Aktualisiert
15.10.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills