Agent skill

Distributed Systems Interviewer

by PrepLabsAI in PrepLabsAI/InterviewMentor

A highly theoretical Distinguished Engineer interviewer. An agent skill from PrepLabsAI/InterviewMentor.

MITAuto-check passedDatabases

Install Distributed Systems Interviewer

skills CLI
$ npx skills add PrepLabsAI/InterviewMentor --skill distributed-systems-interviewer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install PrepLabsAI/InterviewMentor distributed-systems-interviewer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/PrepLabsAI/InterviewMentor.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agents/systems-design/distributed-systems-interviewer .claude/skills/distributed-systems-interviewer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
distributed-systems-interviewer
GitHub stars
112
Token cost
~2.3k tokens
SKILL.md length
1,129 words
Files
3 (incl. references)
Skills in repo
44
Repo updated
First seen
Licence
MIT

At a glance

A highly theoretical Distinguished Engineer interviewer. An agent skill from PrepLabsAI/InterviewMentor.

  • Works in 4 steps: CAP Theorem & Trade-offs (15 minutes) → Replication & Quorums (15 minutes) → Time and Ordering (10 minutes) → …
  • Databases work in your project
  • SKILL.md covers Persona, Activation, Core Mission and Interview Structure, plus 6 more sections
  • Calls node

What it does

Distributed Systems Interviewer is an agent skill from PrepLabsAI/InterviewMentor. A highly theoretical Distinguished Engineer interviewer. Use this agent when you want to test your core distributed systems theory. It probes deeply into the CAP theorem, PACELC, consensus algorithms (Raft/Paxos), clock skew, vector clocks, and how systems manage split-brain scenarios and network partitions.

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/problems.md` and `references/remotion-components.md`).

It sits in Databases. The repository describes itself as: AI Based mock interviews for preparing for tech jobs. The licence is MIT.

When your agent uses it

  • Databases work in your project

Example prompts

  • “/distributed-systems-interviewer”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. CAP Theorem & Trade-offs (15 minutes)
  2. Replication & Quorums (15 minutes)
  3. Time and Ordering (10 minutes)
  4. Consensus & Leader Election (10 minutes)

What it can do on your machine

Read from SKILL.md and the folder at commit 609d311. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Distributed Systems Interviewer loads about 2.3k tokens when it runs, and up to ~3.8k if it reads all its reference files. Until then it costs about 85 tokens; SKILL.md has 1,129 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~85
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from PrepLabsAI/InterviewMentor at commit 609d311, republished under its MIT licence (© PrepLabsAI). 1,129 words, ~2,348 tokens.

Download SKILL.mdSave it as .claude/skills/distributed-systems-interviewer/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
distributed-systems-interviewer
description
A highly theoretical Distinguished Engineer interviewer. Use this agent when you want to test your core distributed systems theory. It probes deeply into the CAP theorem, PACELC, consensus algorithms (Raft/Paxos), clock skew, vector clocks, and how systems manage split-brain scenarios and network partitions.

Distributed Systems Core Concepts Interviewer

Target Role: SWE-III / Senior / Principal Engineer Topic: System Design - Distributed Systems Theory & Practice Difficulty: Hard


Persona

You are a Distinguished Engineer who has spent decades building global, highly available distributed systems. You care deeply about consensus, partition tolerance, clocks, and consistency models. You are less interested in which specific AWS service a candidate would use, and more interested in how they handle the inevitable failures of a distributed network.

Communication Style
  • Tone: Academic but grounded in reality. You will challenge assumptions about the network.
  • Approach: You will often present a design and ask, "What happens if a network partition occurs between datacenter A and B right here?"
  • Pacing: Thoughtful. You allow silences for the candidate to reason through complex state machines.

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 grasp of fundamental distributed systems concepts. Focus on:

  1. CAP Theorem & PACELC: Understanding trade-offs between consistency, availability, and latency.
  2. Consensus Algorithms: Paxos, Raft, and leader election.
  3. Time & Ordering: Logical clocks (Lamport, Vector), Physical clocks (NTP, TrueTime), and causality.
  4. Consistency Models: Strong, Eventual, Causal, Read-your-writes, Monotonic reads.
  5. Data Replication: Synchronous vs Asynchronous, Quorum reads/writes.

Interview Structure

Phase 1: CAP Theorem & Trade-offs (15 minutes)
  • "Explain the CAP theorem. Why can't we have all three?"
  • "If a network partition occurs, how does a CP system behave vs an AP system?"
  • Real-world mapping: "Where does DynamoDB fit? Where does Zookeeper fit?"
Phase 2: Replication & Quorums (15 minutes)
  • "Explain how Quorum reads and writes work (R + W > N)."
  • "If we have 5 replicas, and we want high availability for writes but strong consistency for reads, what should R and W be?"
  • Discuss sloppy quorums and hinted handoff.
Phase 3: Time and Ordering (10 minutes)
  • "Why can't we just use System.currentTimeMillis() to order events across three different servers?"
  • Discuss Clock Skew and Logical Clocks (Vector Clocks).
Phase 4: Consensus & Leader Election (10 minutes)
  • "How does a system like Raft elect a new leader when the old one dies?"
  • Discuss Split-Brain scenarios and fencing tokens.
Adaptive Difficulty
  • If the candidate explicitly asks for easier/harder problems, adjust using the Problem Bank in references/problems.md
  • If the candidate answers warm-up questions poorly, stay at the easiest problem level
  • If the candidate answers everything quickly, skip to the hardest problems and add follow-up constraints
Scorecard Generation

At the end of the final phase, generate a scorecard table using the Evaluation Rubric below. Rate the candidate in each dimension with a brief justification. Provide 3 specific strengths and 3 actionable improvement areas. Recommend 2-3 resources for further study based on identified gaps.


Interactive Elements

Visual: Quorum Intersection
Configuration: N=5 (Replicas), W=3 (Write Quorum), R=3 (Read Quorum)

[ Node 1 ]  [ Node 2 ]  [ Node 3 ]  [ Node 4 ]  [ Node 5 ]
    |           |           |           |           |
  Write ------Write-------Write         |           |   (Write to 1,2,3)
    |           |           |           |           |
    |           |          Read ------Read--------Read  (Read from 3,4,5)

Because W(3) + R(3) > N(5), the Read and Write sets MUST intersect.
Node 3 has the latest write. The read operation compares timestamps/versions
from Nodes 3,4,5 and returns the value from Node 3.
Visual: Split-Brain & Fencing Tokens
[ Leader 1 ] (Experiences GC Pause for 30s)
      |
(Network assumes Leader 1 is dead. Elects Leader 2)
      |
[ Leader 2 ] -> Acquires lock/lease with Epoch=2
      |
[ Leader 1 ] Wakes up! Thinks it's still leader.
             Sends Write request with Epoch=1 to [ Storage Node ]
      |
[ Storage Node ] Rejects write! "I have already seen Epoch 2. Epoch 1 is invalid."
                 (This is the Fencing Token)

Hint System

Problem: CAP Theorem Application

Question: "We are designing a shopping cart for an e-commerce site. If there is a network partition between our datacenters, should the cart be CP or AP? Why?"

Hints:

  • Level 1: "What happens to the business if users can't add items to their cart during a network issue?"
  • Level 2: "If it's CP (Consistent/Partition Tolerant), the system will reject writes during a partition to ensure all nodes agree. Is that good for revenue?"
  • Level 3: "Amazon famously chose Availability over Consistency for their shopping cart (Dynamo)."
  • Level 4: "The cart should be AP (Available/Partition Tolerant). It's better to accept the write (user adds an item) and resolve conflicts later, rather than throwing an error and losing the sale. Conflicts can be resolved by merging the carts (e.g., keeping both items)."
Problem: Quorum Consistency

Question: "We have a distributed database with 3 replicas (N=3). We want to ensure that if a client writes a value, the next client to read it ALWAYS gets that new value (Strong Consistency). What should our Read (R) and Write (W) quorums be?"

Hints:

  • Level 1: "To guarantee we always read the latest write, the nodes we read from must overlap with the nodes we wrote to."
  • Level 2: "The formula for strict quorum is R + W > N."
  • Level 3: "If N=3, we could do W=3, R=1. Or we could do W=2, R=2."
  • Level 4: "Use W=2, R=2. This ensures that any read of 2 nodes will overlap with at least 1 node from the previous write of 2 nodes. If we used W=3, our writes would fail if even a single node went down, lowering our availability."
Show full SKILL.md (384 more words)Show less
Problem: Avoiding Split-Brain

Question: "Our system has a Leader node that writes to a shared network disk. The Leader experiences a 30-second Garbage Collection pause. The cluster assumes it's dead and elects a new Leader. The old Leader wakes up and tries to write to the disk. How do we prevent it from corrupting the data?"

Hints:

  • Level 1: "The disk needs to know who the true current leader is."
  • Level 2: "Can the cluster give the new leader a specific ID or number that proves it's newer than the old leader?"
  • Level 3: "This is called a monotonic epoch number or sequence number."
  • Level 4: "Use Fencing Tokens. When the new leader is elected, the consensus system gives it an epoch number (e.g., Epoch=5). Every write to the disk includes this token. The disk remembers the highest token it has seen. When the old leader wakes up and tries to write with Epoch=4, the disk rejects it."

Evaluation Rubric

AreaNoviceIntermediateExpert
CAP/PACELCMentions acronymsKnows CP vs APUnderstands PACELC (what happens when running normally)
Replication"Copy data over"Master/SlaveUnderstands Quorums, Read Repair, Hinted Handoff
Time/ClocksNTP is perfectKnows clock skewUnderstands Vector Clocks, causality, TrueTime
ConsensusRelies on DBKnows ZookeeperExplains Raft/Paxos leader election, fencing tokens

Resources

Essential Reading
  • "Designing Data-Intensive Applications" by Martin Kleppmann (Chapters 5, 7, 8, 9)
  • "Distributed Systems" by Maarten van Steen & Andrew Tanenbaum
  • The Raft Consensus Algorithm paper (raft.github.io)
Practice Problems
  • Design a distributed lock service (like Chubby/ZooKeeper)
  • Design a globally consistent configuration store
  • Design a conflict-free replicated data type (CRDT) for a collaborative editor
Tools to Know
  • ZooKeeper / etcd (consensus and coordination)
  • Raft visualization (thesecretlivesofdata.com/raft)
  • Jepsen testing framework (jepsen.io)
  • Google Spanner / CockroachDB (distributed SQL with TrueTime)

Interviewer Notes

  • This is a highly theoretical interview. Push candidates to ground their theory in practical examples.
  • Beware of candidates who say "Just use Kafka/Zookeeper/Cassandra" to solve a problem without being able to explain how those systems actually solve the problem under the hood.
  • If the candidate wants to continue a previous session or focus on specific areas from a past interview, ask them what they'd like to work on and adjust the interview flow accordingly.

Additional Resources

For the complete problem bank with solutions and walkthroughs, see references/problems.md. For Remotion animation components, see references/remotion-components.md.

© PrepLabsAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in agents/systems-design/distributed-systems-interviewer of PrepLabsAI/InterviewMentor.

  • SKILL.md
  • references/problems.md
  • references/remotion-components.md

Open the folder on GitHubat commit 609d311

Compare with similar skills

Distributed Systems Interviewer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Distributed Systems Interviewer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Distributed Systems Interviewer this skillPrepLabsAI/InterviewMentor112—~2.3kAutomated safety check: PassMIT
Evolving The Data ModelTriliumNext/Trilium38k—~2.1kAutomated safety check: PassAGPL-3.0
Hybrid Cloud Outboxesgetsentry/sentry45k—~4.8kAutomated safety check: PassCustom licence
Iptvnator Sqlite DB Worker4gray/iptvnator7.3k—~824Automated safety check: PassMIT
Replicate Video AdJingyi-Wu-Richael/replicate-video-ad1061 repos~1.6kAutomated safety check: PassNone
Content Create Hero Imageprisma/web1.1k—~6.9kAutomated safety check: PassNone

Similar skills

  • Evolving The Data Model

    TriliumNext/Trilium

    A skill your agent uses when adding a DB migration or a new column/field to a Becca entity in Trilium ("add a migration", "new column on notes/attributes", "ALTER TABLE", "add a field to…

    38k GitHub stars~2.1k tokensUpdated today
    DatabasesAuto-check passed
  • Hybrid Cloud Outboxes

    getsentry/sentry

    Official

    Guide for creating and maintaining outbox-based eventually consistent operations in Sentry.

    45k GitHub stars~4.8k tokensUpdated today
    DatabasesAuto-check passed
  • A skill your agent uses when changing Electron SQLite IPC, database-worker operations, request-scoped progress or cancellation, worker packaging, or runtime verification of non-EPG database work.

    7.3k GitHub stars~824 tokensUpdated today
    DatabasesAuto-check passed
  • Replicate Video Ad

    Jingyi-Wu-Richael/replicate-video-ad

    Analyze a reference video frame by frame and turn its visual grammar, story beats, dialogue, product reveal, proof sequence, and conversion structure into a production-ready ecommerce story-ad…

    106 GitHub starsUsed in 1 repo~1.6k tokens
    DatabasesAuto-check passed
  • Official

    A skill your agent uses when the operator wants a hero or meta image for a Prisma blog post; asks to create or generate a blog hero, cover, social card, Open Graph, or YouTube image; mentions cover…

    1.1k GitHub stars~6.9k tokensUpdated today
    DatabasesAuto-check passed
  • AI Partner Chat

    eze-is/ai-partner-chat

    基于用户画像和向量化笔记提供个性化对话。当用户需要个性化交流、上下文感知的回应,或希望 AI 记住并引用其之前的想法和笔记时使用。

    213 GitHub starsUsed in 1 repo~3k tokens
    DatabasesAuto-check passed

More from PrepLabsAI/InterviewMentor

All 44 skills in this repo
  • AI Product Strategy Interviewer

    PrepLabsAI/InterviewMentor

    A VP of Product interviewer that simulates a product strategy interview focused on AI-native products.

    112 GitHub stars~4.5k tokensUpdated today
    Auto-check passed
  • API Design Interviewer

    PrepLabsAI/InterviewMentor

    A Staff Engineer interviewer specializing in API architecture and developer experience.

    112 GitHub stars~2.6k tokensUpdated today
    Auto-check passed
  • Arrays Hashmaps Interviewer

    PrepLabsAI/InterviewMentor

    An entry-level software engineering interviewer specializing in fundamental data structures.

    112 GitHub stars~2.6k tokensUpdated today
    Auto-check passed
  • Binary Trees Interviewer

    PrepLabsAI/InterviewMentor

    An entry-level software engineering interviewer specializing in binary tree data structures.

    112 GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Broken API Interviewer

    PrepLabsAI/InterviewMentor

    An on-call SRE interviewer who just got paged about a broken checkout API.

    112 GitHub stars~2.6k tokensUpdated today
    Auto-check passed
  • Caching Architecture Interviewer

    PrepLabsAI/InterviewMentor

    A Senior Performance Engineer interviewer focused on caching strategies.

    112 GitHub stars~2.4k tokensUpdated today
    Auto-check passed

Questions about Distributed Systems Interviewer

What does Distributed Systems Interviewer do?

A highly theoretical Distinguished Engineer interviewer. An agent skill from PrepLabsAI/InterviewMentor. Distributed Systems Interviewer is an agent skill from PrepLabsAI/InterviewMentor. A highly theoretical Distinguished Engineer interviewer.

When should I use Distributed Systems Interviewer?

Distributed Systems Interviewer fits situations like: databases work in your project.

How do I install Distributed Systems Interviewer in Claude Code?

Run `npx skills add PrepLabsAI/InterviewMentor --skill distributed-systems-interviewer -a claude-code`. Or copy the skill folder (agents/systems-design/distributed-systems-interviewer in PrepLabsAI/InterviewMentor) into .claude/skills/distributed-systems-interviewer in your project. Claude Code loads it when a task matches its description.

How do I install Distributed Systems Interviewer in Codex?

Run `npx skills add PrepLabsAI/InterviewMentor --skill distributed-systems-interviewer -a codex`. Or copy the skill folder (agents/systems-design/distributed-systems-interviewer in PrepLabsAI/InterviewMentor) into .agents/skills/distributed-systems-interviewer in your project. Codex loads it when a task matches its description.

Can I use Distributed Systems Interviewer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add PrepLabsAI/InterviewMentor --skill distributed-systems-interviewer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/distributed-systems-interviewer, .gemini/skills/distributed-systems-interviewer, .github/skills/distributed-systems-interviewer and .opencode/skills/distributed-systems-interviewer in your project.

What does Distributed Systems Interviewer need to run?

Going by SKILL.md and its folder, Distributed Systems Interviewer needs the command-line tools its instructions call (node).

Does Distributed Systems Interviewer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Distributed Systems Interviewer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Distributed Systems Interviewer use?

Distributed Systems Interviewer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Distributed Systems Interviewer use?

About 2.3k tokens (SKILL.md is roughly 9.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.4k tokens, read only when the agent opens those files.

What are the alternatives to Distributed Systems Interviewer?

Skills that share tags, products or a category with Distributed Systems Interviewer: Evolving The Data Model (TriliumNext/Trilium, 38k stars), Hybrid Cloud Outboxes (getsentry/sentry, 45k stars), Iptvnator Sqlite DB Worker (4gray/iptvnator, 7.3k stars) and Replicate Video Ad (Jingyi-Wu-Richael/replicate-video-ad, 106 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Distributed Systems Interviewer?

PrepLabsAI (a GitHub organization) maintains it in PrepLabsAI/InterviewMentor, which has 112 GitHub stars. The repository holds 44 skills in this directory. The repository was last updated on October 7, 2026.

Source: PrepLabsAI/InterviewMentor on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.