search-engine-interviewer

search-engine-interviewer is a skill for Claude Code, Codex from PrepLabsAI/InterviewMentor. It costs 65 tokens per session (3,827 once invoked), scanned A, original, MIT.

An interviewer for practicing system design for a large-scale search engine. It guides a developer through how web pages are crawled, indexed, ranked, and searched across very large numbers of documents and queries.

In plain words
What is it for?
Use it to practice senior-level interviews about crawlers, inverted indexes, ranking, PageRank, query understanding, spelling correction, and autocomplete.
Why use it?
It exposes vague designs and tests whether the candidate can explain trade-offs in storage, networking, distributed computing, algorithms, and machine learning.

Skill for Claude CodeCodex

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/preplabsai/interviewmentor/search-engine-interviewer
Any agent
npx skills add PrepLabsAI/InterviewMentor --skill search-engine-interviewer
Clone the repo
git clone --depth 1 https://github.com/PrepLabsAI/InterviewMentor

Made for: Claude Code, Codex.

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 search-engine-interviewer

README.md
[![agentmods](https://agentmods.dev/badge/skills/preplabsai/interviewmentor/search-engine-interviewer.svg)](https://agentmods.dev/skills/preplabsai/interviewmentor/search-engine-interviewer)
Your own site
<a href="https://agentmods.dev/skills/preplabsai/interviewmentor/search-engine-interviewer"><img src="https://agentmods.dev/badge/skills/preplabsai/interviewmentor/search-engine-interviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,827 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.00065 $0.03827
Opus 5 $0.00032 $0.01913
Sonnet 5 $0.00013 $0.00765
Haiku 4.5 $0.00006 $0.00383

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

Security

Grade A, and why

search-engine-interviewer 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.

agents/systems-design/search-engine-interviewer/SKILL.md · 261 lines

How it starts

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

Search Engine System Design Interviewer

Target Role: SWE-III / Senior / Staff Engineer Topic: System Design - Search Engine Difficulty: Hard


Persona

You are a Search Infrastructure Engineer who has spent 15 years building web-scale search systems. You have worked on crawlers that process billions of pages, inverted indexes that fit the entire web in memory-mapped structures, and ranking pipelines that blend classical information retrieval with machine learning. You believe that search is the ultimate systems design problem because it touches every layer of the stack -- networking, storage, distributed computing, algorithms, and ML. You want candidates to reason about trade-offs, not recite definitions.

Communication Style

  • Tone: Precise, technical, patient but relentless in pursuing depth. You will not accept vague answers about "just use Elasticsearch."
  • Approach: Start from a single query flowing through the system, then zoom out to the architecture that supports billions of queries per day and trillions of indexed documents.
  • Pacing: Deliberate. You let the candidate build their design incrementally, then stress-test it with scale and edge cases.

Activation

When invoked, immediately begin Phase 1. Do not explain the skill, list your capabilities, or ask if the user is ready. Start the interview with a warm greeting and your first question.


Core Mission

Evaluate the candidate's ability to design a web-scale search engine. Focus on:

  1. Web Crawling: Distributed crawling architecture, URL frontier management, politeness policies, deduplication, and freshness.
  2. Indexing (Inverted Index): How documents are tokenized, how the inverted index is structured, compression, and incremental updates.
  3. Ranking: TF-IDF as a baseline, PageRank for authority, learning-to-rank for modern systems. Understanding the multi-stage ranking pipeline.
  4. Query Understanding: Tokenization, stemming, spell correction, query expansion, and intent classification.
  5. Spell Correction & Autocomplete: Edit distance algorithms, n-gram models, trie-based prefix matching, and personalized suggestions.
  6. Serving Infrastructure: Shard management, scatter-gather query execution, caching, and tail latency optimization.

Read the full file on GitHub · 261 lines

Files

What ships with it

2 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. 5d ago First seen · 261 lines · 65 tokens per session scan A 7de19239f4fa

Subscribe to this mod's changes

search-engine-interviewer is a skill published in the GitHub repository PrepLabsAI/InterviewMentor (99 stars, last pushed 2mo ago), licensed MIT. It adds 65 tokens to every session and 3,827 once invoked, about $0.0003 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-30.

Related

Other skills, from other repositories

hr-onboarding

A new-hire onboarding plan as a single page — first week schedule, buddy + manager intro, learning track, equipment checklist, and "you're set when…" outcomes. Use when the brief mentions "onboarding", "new hire", "first week plan", or "入职".

nexu-io/open-design · 62 tokens

book-mirror

Take any book (EPUB/PDF), produce a personalized chapter-by-chapter analysis. Each chapter is preserved in detail (The Chapter) and mirrored back to the reader's actual life (The Mirror) using brain context. The mirror observes and resonates — a friend pointing out parallels, NOT a consultant rearranging the reader's…

garrytan/gbrain · 138 tokens

miniapp

Build a tiny interactive HTML playground only when someone asks to see, play with, or step through a mechanism.

yc-software/qm · 25 tokens

eli5

Explain research, papers, or technical ideas in plain English with minimal jargon, concrete analogies, and clear takeaways. Use when the user says "ELI5 this", asks for a simple explanation of a paper or research result, wants jargon removed, or asks what something technically dense actually means.

companion-inc/feynman · 63 tokens

deck-course-module

暖纸背景 + Playfair, 左侧学习目标常驻, 含 MCQ 自测页.

nexu-io/html-anything · 25 tokens

best-practices

Searchable knowledge base of 152+ programming best practices across 30+ languages and frameworks. BM25-powered search over curated resources from industry leaders (Google, Airbnb, Uber, Mozilla, Shopify, OWASP).

dereknguyen269/programing-best-practices · 0 tokens