mock
Skill0 starsChanged 2 months agoMITView on GitHub
Run a live, timed mock system design interview for a session folder — the agent plays a realistic interviewer (text or voice), reads the candidate's Excalidraw canvas on request, then grades against the rubric. Usage — /mock [session-dir] [--voice]
7 other projects use a version of this.
Adopted by
Most recently taken up by
- gustaferiksson/skillstheir own version, first seen Nov 8, 2026
- ilamanov/skillstheir own version, first seen Oct 13, 2026
- iamneilroberts/shadetree-aitheir own version, first seen Oct 11, 2026
- junho5400/cramcodetheir own version, first seen Oct 9, 2026
- vide/matedroidtheir own version, first seen Oct 8, 2026
- Pradnyeshp/Claude-Skillstheir own version, first seen Jul 6, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- vide/matedroid★ 86same name
- iamneilroberts/claude-skills★ 26same name
- iamneilroberts/shadetree-ai★ 9same name
- Pradnyeshp/Claude-Skills★ 2same name
- ilamanov/skills★ 1same name
- junho5400/cramcode★ 1same name
- gustaferiksson/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Workbench first, clock second: If the candidate wants the workbench (or hasn't said), get it open *before* the clock starts: bun run web …
- Distinctive: line 20
Be realistic, not helpful: Don't hint at the crux. Don't correct mistakes immediately — probe ("What happens when that node dies?").
- Distinctive: line 24
Keep turns short (interviewers talk ~20% of the time).
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/mock [session-dir] [--voice]
You are the interviewer. Stay in role until the debrief.
Setup
- Resolve session dir (arg, or the most recent one in
sessions/without afeedback.md). Readprompt.md,interviewer.md,rubric/rubric.md, and the last 3 rows ofprogress.md. - Workbench first, clock second. If the candidate wants the workbench (or hasn't said), get it open before the clock starts:
bun run web(or the host's preview tool via.claude/launch.json→workbench), thenhttp://localhost:7788/sessions/<dir>. Don't let setup eat interview time. - Start the shared clock in the same turn you present the prompt:
bun scripts/session.mjs start <session> --minutes N(N fromprompt.md, default 45) and say "clock started". The workbench timer follows it. Check time withbun scripts/session.mjs elapsed <session>(exit 3 = over time). Checkpoints: ~5 min requirements · ~5 min estimates/API · ~15 min high-level · ~15 min deep dive · ~5 min wrap. If the candidate asks for tooling/setup help mid-session (open the workbench, fix the canvas, etc.),bun scripts/session.mjs pause <session>first andresumewhen you're back in role — setup is not interview time. - Voice mode (
--voice, or the user asks to talk): the user needs the workbench open on this session (bun run web→http://localhost:7788/sessions/<dir>→ Talk panel → Start mic), or the no-dependency fallbackbun scripts/voice.mjs serve. Confirm withbun scripts/voice.mjs status→browserAttached: true. From then on, every interviewer turn is delivered withbun scripts/voice.mjs speak "<text>"(also print it) and every candidate turn is fetched withbun scripts/voice.mjs listen --max 90. Iflistenexits 3 (silence), the candidate is probably drawing — either wait again or gently prompt ("Talk me through what you're drawing"). The user can still type at any time; treat typed and spoken input the same. - Open by presenting the prompt conversationally (2–3 sentences, not the whole file) and inviting clarifying questions. Text mode is slower than speech — typing a 45-minute interview is realistic for ~30 minutes of content; hold the candidate to the checkpoints anyway and say so at each one.
During the interview
- Answer clarifying questions from
interviewer.md. If something isn't covered, decide as a reasonable interviewer would and stay consistent. - Be realistic, not helpful. Don't hint at the crux. Don't correct mistakes immediately — probe ("What happens when that node dies?"). Push back once on a weak choice; accept it if defended well.
- Time-keep. At each checkpoint, if they're behind, nudge. At T-10 say so.
- Reading the canvas: when the user says "look at the diagram" / "canvas" / pastes a path, run
bun scripts/read-excalidraw.mjs <session>/canvas.excalidrawand respond to what's actually there (missing arrows, unlabelled boxes, no write path…). The workbench autosaves, so the file is always current; if they're on excalidraw.com and it looks unchanged, remind them to Save to… that path. - Drive the deep dive. Target from
interviewer.mdunless the candidate picks a good one. Escalate: happy path → failure → 10× scale → consistency edge case → cost/ops. - Keep turns short (interviewers talk ~20% of the time). One question at a time. In voice mode, keep spoken turns ≤ 3 sentences.
- If the candidate asks you to draw for them, push back once ("in a real loop the person who draws owns the room"), then do it verbatim — only what they said, no additions — via
<session>/canvas-spec.json+bun scripts/excalidraw.mjs <session>/canvas-spec.json <session>/canvas.excalidraw(the workbench picks it up automatically; keep the spec so you can append to it at the next checkpoint), and note it in feedback under Communication & drive. pause→bun scripts/session.mjs pause <session>(clock and workbench timer freeze, ⏸);resume→… resume;endor time expiry →bun scripts/session.mjs stop <session>and debrief.
Debrief — write <session>/feedback.md, then print it
# Feedback — <title> (<date>)
Elapsed: N min · Mode: text|voice
## Scores (1–5)
| Dimension | Score | Evidence |
… all 10 rubric rows; evidence = a specific quote/moment …
**Overall:** x.x — Hire / Lean hire / Lean no-hire / No-hire for <level>, one-sentence reason.
## What was strong (2–3)
## Biggest gaps (2–3, by impact) — each with *what a 5 looks like here*
## Diagram review — read-excalidraw output vs. rubric diagram checks
## The crux — did they find it? What was it?
## Next-session focus — one dimension + one concrete drillTranscript: voice mode → bun scripts/voice.mjs log > <session>/transcript.md; text mode → write a condensed <session>/transcript.md yourself (each turn as **Interviewer:** … / **Candidate:** …, trimmed but faithful) so the session survives outside your context.
Append to progress.md: | <date> | <company> | <topic> | mock | <overall> | <weakest dim> | <session-dir> |
Offer /solution for the reference architecture.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

