interview-prep

interview-prep is a skill for Claude Code, Codex from jamestorrevillas/dev-skills. It costs 61 tokens per session (933 once invoked), scanned A, original, MIT.

A preparation guide for coding interviews, system design interviews, behavioral interviews, and practice sessions. System design interviews test how you plan larger software systems, while behavioral interviews ask about your past work and decisions.

In plain words
What is it for?
Use it to prepare coding problems, architecture discussions, behavioral stories using the STAR method, and technical conversations about your tools and decisions.
Why use it?
It replaces unfocused preparation with practice based on common coding patterns, interview types, and structured answers.

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/jamestorrevillas/dev-skills/interview-prep
Any agent
npx skills add jamestorrevillas/dev-skills --skill interview-prep
Clone the repo
git clone --depth 1 https://github.com/jamestorrevillas/dev-skills

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 interview-prep

README.md
[![agentmods](https://agentmods.dev/badge/skills/jamestorrevillas/dev-skills/interview-prep.svg)](https://agentmods.dev/skills/jamestorrevillas/dev-skills/interview-prep)
Your own site
<a href="https://agentmods.dev/skills/jamestorrevillas/dev-skills/interview-prep"><img src="https://agentmods.dev/badge/skills/jamestorrevillas/dev-skills/interview-prep.svg" alt="Measured on agentmods" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 933 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.00061 $0.00933
Opus 5 $0.00030 $0.00466
Sonnet 5 $0.00012 $0.00187
Haiku 4.5 $0.00006 $0.00093

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

Security

Grade A, and why

interview-prep 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 4d 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.

.github/skills/interview-prep/SKILL.md · 121 lines

How it starts

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

Interview Preparation

Interview Types & What They Test

Type What They're Testing How to Prepare
Coding / DSA Problem-solving, CS fundamentals LeetCode patterns, not random problems
System Design Architecture thinking, trade-offs Practice frameworks, read real systems
Behavioral Past behavior predicts future STAR stories for 6-8 scenarios
Technical Discussion Depth of knowledge, communication Know your stack deeply, read vs write trade-offs

Coding Interview: Pattern-First Approach

Don't grind random problems. Learn patterns:

Pattern When to Use
Two Pointers Sorted arrays, palindromes, pair sums
Sliding Window Subarray problems, longest/shortest window
Fast & Slow Pointers Cycle detection, linked list middle
BFS / DFS Trees, graphs, shortest path
Binary Search Sorted data, "find in X" problems
Dynamic Programming Overlapping subproblems, optimization
Heap / Priority Queue K largest/smallest, streaming data

Problem-Solving Template

1. Clarify: "Can I have duplicates? What's the input range? What to return if empty?"
2. Example: Walk through a small example out loud
3. Brute force: State the naive solution first
4. Optimize: "I can improve this by..."
5. Code: Write clean, named code
6. Test: Trace through your example + edge cases
7. Complexity: State time and space complexity

System Design Interview Framework

1. Clarify requirements (2-3 min)
   - Functional: What does it do?
   - Scale: Users, requests/sec, data volume
   - Non-functional: Latency, availability, consistency

2. Estimate scale (2 min)
   - Back-of-envelope: storage, throughput, bandwidth

3. High-level design (5-10 min)
   - Draw main components and their relationships
   - Define the API

4. Deep dive (10-15 min)
   - Zoom into the hardest part
   - Address bottlenecks proactively

5. Bottlenecks & trade-offs (5 min)
   - What would fail at scale?
   - What did you consciously trade off?

Read the full file on GitHub · 121 lines

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. 4d ago First seen · 121 lines · 0 tokens per session scan A 93d38c2bf175

Subscribe to this mod's changes

interview-prep is a skill published in the GitHub repository jamestorrevillas/dev-skills (3 stars, last pushed 5mo ago), licensed MIT. It adds 61 tokens to every session and 933 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-31.

Related

Other skills, from other repositories

cangjie-skill

Distill a book, long-video transcript, podcast, course, or interview into a coherent set of executable skills. Use when the user asks to "拆书" / "蒸馏一本书" / "把 XX 书做成 skill" / "把这个视频/播客/课程蒸馏成 skill" / "turn a book or video into skills" — i.e. wants the frameworks, principles, and methodologies in long-form content…

kangarooking/cangjie-skill · 143 tokens

reading-metaskill

当用户想养成阅读习惯、问「读什么书/怎么读」「如何学习新领域/怎么入门某学科」时调用。 核心理念: 阅读是终极元技能; 读你所爱直到爱上阅读, 没有读完义务; 读原著与经典优先; 以教促学; 每天1-2小时即可进入极少数人行列。 不适用于: 具体某本书的书评、考试备考资料选择。 Triggers: 阅读/读书/怎么学习/入门/原著/书单/reading/how to learn.

kangarooking/cangjie-skill · 139 tokens

life-meaning

当用户问「活着的意义是什么/找不到方向/虚无感/该为什么努力」时调用。 核心理念: 生命没有外在赋予的意义(宇宙尺度一切会消失); 意义=个人创造+愿意为之受苦; 拥抱死亡是意义的入口。 不适用于: 急性自杀风险(先紧急求助)。 Triggers: 生命的意义/虚无/找不到意义/为什么活着/meaning/purpose/nihilism.

kangarooking/cangjie-skill · 118 tokens

principal-agent

当用户选择职业/组织/合作方式、困惑「为什么大公司磨洋工/小公司拼命」「该不该自己干」时调用。 核心理念: 委托人(主人)会把事做好, 代理人会为自己利益优化; 收益与创造价值绑得越紧, 越像委托人; 别让媒体洗脑你需要代理人。 不适用于: 具体薪酬谈判数字、组织架构设计细节。 Triggers: 激励/代理/主人/打工 vs 创业/利益绑定/principal/agent/incentive.

kangarooking/cangjie-skill · 134 tokens

math-tools

Deterministic mathematical computation using SymPy. Use for ANY math operation requiring exact/verified results - basic arithmetic, algebra (simplify, expand, factor, solve equations), calculus (derivatives, integrals, limits, series), linear algebra (matrices, determinants, eigenvalues), trigonometry, number theory…

foryourhealth111-pixel/Vibe-Skills · 97 tokens

mathematical-logic-expert

Expert in formal logic, model theory, computability, and foundations of mathematics.

foryourhealth111-pixel/Vibe-Skills · 23 tokens