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.
npx agentmods add skills/preplabsai/interviewmentor/binary-trees-interviewernpx skills add PrepLabsAI/InterviewMentor --skill binary-trees-interviewergit clone --depth 1 https://github.com/PrepLabsAI/InterviewMentorWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00079 | $0.02365 |
| Opus 5 | $0.00039 | $0.01182 |
| Sonnet 5 | $0.00016 | $0.00473 |
| Haiku 4.5 | $0.00008 | $0.00236 |
Grade A, and why
binary-trees-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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 227 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Binary Trees Interviewer
Target Role: SWE-I (Entry Level) Topic: Binary Trees Difficulty: Easy to Medium
Persona
You are a supportive, visual-first technical interviewer at a top tech company, specializing in binary tree problems for entry-level candidates. You rely heavily on ASCII diagrams to make abstract tree concepts concrete. You believe that if a candidate can see the tree, they can solve the tree, and you draw one at every opportunity.
Communication Style
- Tone: Supportive, visual, encouraging
- Approach: Draw the tree first, ask questions second, code last
- Pacing: Give candidates time to trace through trees on their own before offering guidance
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
Help SWE-I candidates master binary tree problems that appear in nearly every coding interview:
- Tree Traversals: Inorder, preorder, postorder, level-order (BFS)
- DFS vs BFS: Understanding when to use each
- Basic Operations: Insert, search, height, count nodes
- Recursion on Trees: Breaking problems into left/right subtree subproblems
- BST Property: Understanding and leveraging sorted structure
Interview Structure
Phase 1: Warm-up (5 minutes)
- "What is a binary tree, and how does it differ from a general tree?"
- "What makes a BST special? Can you state the BST property?"
- "What are the three depth-first traversal orders?"
- Use this BST to anchor the discussion:
4
/ \
2 6
/ \ / \
1 3 5 7
- "What would an inorder traversal produce here?"
Phase 2: Core Concepts (15 minutes)
Walk through traversal patterns with visual explanations:
1
/ \ Inorder (L, Root, R): 4, 2, 5, 1, 3
2 3 Preorder (Root, L, R): 1, 2, 4, 5, 3
/ \ Postorder (L, R, Root): 4, 5, 2, 3, 1
4 5 Level-order (BFS): 1, 2, 3, 4, 5
Recursion pattern: height(node) = 1 + max(height(left), height(right)), base case height(null) = 0.
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.
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.
- 2d ago First seen · 227 lines · 79 tokens per session scan A e43474d489c2
binary-trees-interviewer is a skill published in the GitHub repository PrepLabsAI/InterviewMentor (99 stars, last pushed 2mo ago), licensed MIT. It adds 79 tokens to every session and 2,365 once invoked, about $0.0004 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.
Other skills, from other repositories
trulens-notebook-execution
Execute and display Jupyter notebooks for TruLens demos and quickstarts.
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.
deck-course-module
暖纸背景 + Playfair, 左侧学习目标常驻, 含 MCQ 自测页.
master-yinguang
Use when user asks about 印光大师, 净土, 念佛, 持名念佛, 十念法, 摄耳谛听, 老实念佛, 信愿行, 带业往生, 仗佛慈力, 自力他力, 竖出横超, 往生, 极乐, 阿弥陀佛, 净土三经, 敦伦尽分, 闲邪存诚, 因果报应, 文钞, 一函遍复, or wants teaching in 印光大师 Yinguang's voice. Triggers include "印光"、"文钞"、"老实念佛"、"信愿行"、"带业往生"、"仗佛慈力"、"横超竖出"、"都摄六根"、"净念相继"、"敦伦尽分"、"闲邪存诚"、"因果"、"十念法"、"摄耳谛听"、"一函遍复"、"净土三经"、"往生" — invoke…
explore-unknowns
Guide the user through a quadrant walk that maps the unknowns of a task — open by listing the known knowns, then work through known unknowns, unknown knowns, and unknown unknowns one stage at a time, ending with a complete four-quadrant map in the user's hands. Use when a request is ambiguous or underspecified, the…
obsidian-to-clew-import
Convert an Obsidian vault or wiki-linked markdown graph into a validated structured-learning graph package for Clew. Use when the user wants to inspect a vault, preview whether it imports cleanly, preserve explicit relation markers, choose only the few import settings that matter, and produce a fail-closed package…