Install the "binary-trees-interviewer" agent skill from https://github.com/PrepLabsAI/InterviewMentor/tree/main/agents/swe-i/binary-trees-interviewer into .claude/skills/binary-trees-interviewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "binary-trees-interviewer", then confirm the skill loads.
Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Type this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
skills CLI
$ npx skills add PrepLabsAI/InterviewMentor --skill binary-trees-interviewer -a codex
Project install goes to .agents/skills/; add -g for ~/.codex/skills/.
Install the "binary-trees-interviewer" agent skill from https://github.com/PrepLabsAI/InterviewMentor/tree/main/agents/swe-i/binary-trees-interviewer into .agents/skills/binary-trees-interviewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "binary-trees-interviewer", then confirm the skill loads.
Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add PrepLabsAI/InterviewMentor --skill binary-trees-interviewer -a cursor
Project install goes to .agents/skills/; add -g for ~/.cursor/skills/.
Install the "binary-trees-interviewer" agent skill from https://github.com/PrepLabsAI/InterviewMentor/tree/main/agents/swe-i/binary-trees-interviewer into .cursor/skills/binary-trees-interviewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "binary-trees-interviewer", then confirm the skill loads.
Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
skills CLI
$ npx skills add PrepLabsAI/InterviewMentor --skill binary-trees-interviewer -a gemini-cli
Project install goes to .agents/skills/; add -g for ~/.gemini/skills/.
Install the "binary-trees-interviewer" agent skill from https://github.com/PrepLabsAI/InterviewMentor/tree/main/agents/swe-i/binary-trees-interviewer into .gemini/skills/binary-trees-interviewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "binary-trees-interviewer", then confirm the skill loads.
Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Installs for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
skills CLI
$ npx skills add PrepLabsAI/InterviewMentor --skill binary-trees-interviewer -a github-copilot
Project install goes to .agents/skills/; add -g for ~/.copilot/skills/.
Install the "binary-trees-interviewer" agent skill from https://github.com/PrepLabsAI/InterviewMentor/tree/main/agents/swe-i/binary-trees-interviewer into .github/skills/binary-trees-interviewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "binary-trees-interviewer", then confirm the skill loads.
GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add PrepLabsAI/InterviewMentor --skill binary-trees-interviewer -a opencode
OpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
Install the "binary-trees-interviewer" agent skill from https://github.com/PrepLabsAI/InterviewMentor/tree/main/agents/swe-i/binary-trees-interviewer into .opencode/skills/binary-trees-interviewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "binary-trees-interviewer", then confirm the skill loads.
OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Facts
Skill name
binary-trees-interviewer
GitHub stars
112
Token cost
~2.4k tokens
SKILL.md length
1,131 words
Files
3 (incl. references)
Skills in repo
44
Repo updated
First seen
Licence
MIT
At a glance
An entry-level software engineering interviewer specializing in binary tree data structures.
Works in 4 steps: Warm-up (5 minutes) → Core Concepts (15 minutes) → Live Coding Problem (25 minutes) → …
Tasks that involve Interview preparation
SKILL.md covers Persona, Activation, Core Mission and Interview Structure, plus 7 more sections
Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
What it does
Binary Trees Interviewer is an agent skill from PrepLabsAI/InterviewMentor. An entry-level software engineering interviewer specializing in binary tree data structures. Use this agent when you want to practice tree traversals (inorder, preorder, postorder), BFS/DFS, and fundamental tree operations like insert, search, and height calculation. It provides ASCII tree diagrams, a progressive hint system, and structured feedback to help you master tree-based interview questions.
Its SKILL.md is about 2.4k 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 Business, Finance & HR, covering Interview preparation and Diagrams. The repository describes itself as: AI Based mock interviews for preparing for tech jobs. The licence is MIT.
When your agent uses it
Tasks that involve Interview preparation
Tasks that involve Diagrams
Example prompts
“/binary-trees-interviewer”
Workflow steps
4 steps, taken from the step headings in SKILL.md.
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
No scripts in the folder and no shell commands in SKILL.md.
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
Binary Trees Interviewer loads about 2.4k tokens when it runs, and up to ~4.2k if it reads all its reference files. Until then it costs about 107 tokens; SKILL.md has 1,131 words of instructions outside code blocks.
Always· name and description, kept in context so the agent knows when to use it
~107
When it runs· the whole SKILL.md, loaded when a task matches
~2.4k
With references· SKILL.md plus every file in references/, read only if the agent opens them
~4.2k
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.
Download SKILL.mdSave it as .claude/skills/binary-trees-interviewer/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
binary-trees-interviewer
description
An entry-level software engineering interviewer specializing in binary tree data structures. Use this agent when you want to practice tree traversals (inorder, preorder, postorder), BFS/DFS, and fundamental tree operations like insert, search, and height calculation. It provides ASCII tree diagrams, a progressive hint system, and structured feedback to help you master tree-based interview questions.
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)
Recursion pattern: height(node) = 1 + max(height(left), height(right)), base case height(null) = 0.
Phase 3: Live Coding Problem (25 minutes)
Present one of the problems below based on the candidate's comfort level.
Phase 4: Feedback (5 minutes)
Celebrate what they did well
Provide 2-3 specific improvement areas
Give resources for practice
Adaptive Difficulty
If the candidate explicitly asks for easier/harder problems, adjust using the Problem Bank in references/problems.md
If the candidate struggles with warm-up questions, stay at Max Depth (easiest problem)
If the candidate answers everything quickly, skip to Validate BST 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 Explanations
BST Insert Operation (ASCII):
Insert 5 into BST:
4 4
/ \ 5>4 right / \
2 6 5<6 left 2 6
/ \ / \ /
1 3 1 3 5
Level 3: "Pass a valid range (min, max) down. Each node must fall within its ancestors' constraints."
Level 4: "def isValidBST(root, lo=-inf, hi=inf): if not root: return True; if root.val <= lo or root.val >= hi: return False; return isValidBST(root.left, lo, root.val) and isValidBST(root.right, root.val, hi)"
Drew trees unprompted, explained approach before coding, walked through examples
Resources
Essential Practice
LeetCode 104: Maximum Depth of Binary Tree
LeetCode 226: Invert Binary Tree
LeetCode 98: Validate Binary Search Tree
LeetCode 102: Binary Tree Level Order Traversal
LeetCode 236: Lowest Common Ancestor of a Binary Tree
LeetCode 100: Same Tree
LeetCode 572: Subtree of Another Tree
LeetCode 110: Balanced Binary Tree
Study Materials
"Grokking the Coding Interview" - Tree BFS and Tree DFS chapters
NeetCode.io - Trees playlist
"Introduction to Algorithms" (CLRS) - Chapter 12: Binary Search Trees
Blind 75 list - Trees section
If Candidate Struggled
Focus on understanding recursion with simpler problems first (factorial, fibonacci)
Practice drawing trees by hand before coding
Review linked list recursion as a stepping stone to tree recursion
If Candidate Aced Everything
LeetCode 124: Binary Tree Maximum Path Sum
LeetCode 297: Serialize and Deserialize Binary Tree
LeetCode 235: Lowest Common Ancestor of a BST (compare with general BT version)
Sample Session
You: "Let's kick things off. What makes a binary search tree different from a regular binary tree?"
Candidate: "The left side is smaller and the right side is bigger?"
You: "Right direction! More precisely: for every node, all values in the left subtree are strictly less, all in the right are strictly greater. Let me draw one:"
8
/ \
3 10
/ \ \
1 6 14
"Inorder traversal of this tree gives?"
Candidate: "1, 3, 6, 8, 10, 14."
You: "Notice it comes out sorted - that's the key BST property. Ready for a problem? Let's find the maximum depth of a binary tree."
[Continue session...]
Interviewer Notes
Be patient with recursion on trees - draw everything
If they struggle with Max Depth, switch to Same Tree (simpler base case)
If they ace Validate BST, challenge with Lowest Common Ancestor or Level Order Traversal
Watch for candidates who confuse binary tree with BST - clarify the distinction
Encourage tracing code on the ASCII tree before claiming it works
Most common Validate BST mistake: only checking immediate children - have a counter-example ready
If the candidate wants to continue a previous session, ask what they'd like to focus on
Binary Trees 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.
Binary Trees Interviewer compared with similar skills
Skill
Stars
Used in
Tokens
Auto-check
Licence
Repo updated
Binary Trees Interviewer this skillPrepLabsAI/InterviewMentor
Runs a timed mock system design round as the interviewer, then scores it as the coach: seven phases on a 45-minute clock, one follow-up on the weakest area, Mermaid sketches in chat, a six-criterion…
Finds backend or AI agent projects on GitHub that are worth putting on a resume, checks them against local source and writes a Markdown resume package.
Acts as a Java backend interviewer who asks about Java core, MySQL, Redis, Spring and project work, then probes design trade-offs, failure handling and performance.
An entry-level software engineering interviewer specializing in binary tree data structures. Binary Trees Interviewer is an agent skill from PrepLabsAI/InterviewMentor. An entry-level software engineering interviewer specializing in binary tree data structures.
When should I use Binary Trees Interviewer?
Binary Trees Interviewer fits situations like: tasks that involve Interview preparation; tasks that involve Diagrams.
How do I install Binary Trees Interviewer in Claude Code?
Run `npx skills add PrepLabsAI/InterviewMentor --skill binary-trees-interviewer -a claude-code`. Or copy the skill folder (agents/swe-i/binary-trees-interviewer in PrepLabsAI/InterviewMentor) into .claude/skills/binary-trees-interviewer in your project. Claude Code loads it when a task matches its description.
How do I install Binary Trees Interviewer in Codex?
Run `npx skills add PrepLabsAI/InterviewMentor --skill binary-trees-interviewer -a codex`. Or copy the skill folder (agents/swe-i/binary-trees-interviewer in PrepLabsAI/InterviewMentor) into .agents/skills/binary-trees-interviewer in your project. Codex loads it when a task matches its description.
Can I use Binary Trees 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 binary-trees-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/binary-trees-interviewer, .gemini/skills/binary-trees-interviewer, .github/skills/binary-trees-interviewer and .opencode/skills/binary-trees-interviewer in your project.
What does Binary Trees Interviewer need to run?
SKILL.md names no scripts, command-line tools or credentials: Binary Trees Interviewer is instructions for the agent only.
Does Binary Trees 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 Binary Trees 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 Binary Trees Interviewer use?
Binary Trees 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 Binary Trees Interviewer use?
About 2.4k tokens (SKILL.md is roughly 9.6k 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.8k tokens, read only when the agent opens those files.
What are the alternatives to Binary Trees Interviewer?
Skills that share tags, products or a category with Binary Trees Interviewer: System Design Interview Coaching (HoangNguyen0403/agent-skills-standard, 570 stars), Algo Sensei (karanb192/algo-sensei, 284 stars), Backend and Agent Project Selector (lishuangqiang/backend-agent-resume-scout, 347 stars) and Leetcode Py (wislertt/leetcode-py, 142 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Who maintains Binary Trees 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.