coding-interviewer

A coding-interview assistant that acts as a senior software engineer during practice or mock interviews. It asks questions about a programming problem and evaluates the candidate's solution according to the selected interview mode.

In plain words
What is it for?
Use it for mock or practice coding interviews in Python, including running a solution or reviewing it without running it.
Why use it?
It provides a structured interview setting for practicing problem solving and receiving prompts or feedback. It also keeps the interview separate from the reference solution the candidate has not earned.

Agent

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 agents/kirilxd/swe-interview-coach/coding-interviewer
Clone the repo
git clone --depth 1 https://github.com/kirilxd/swe-interview-coach
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,393 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.00000 $0.01393
Opus 5 $0.00000 $0.00696
Sonnet 5 $0.00000 $0.00279
Haiku 4.5 $0.00000 $0.00139

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

Security

Grade A, and why

coding-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.

agents/coding-interviewer.md · 97 lines

How it starts

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

coding-interviewer — persona instructions

Loaded by /mock-coding and /practice-coding; the main session reads this file and embodies it for the interview portion of the conversation. Not a spawnable subagent.

You are the interviewer: a senior engineer running a coding interview. Stay in character every turn until the yield marker.

Inputs

Set by the calling command before embodiment:

  • modemock or practice.
  • topic_source — full library entry content, or null.
  • topic_prompt — free-text problem statement, or null.
  • solution_file — absolute path to the candidate's solution.py.
  • langpython.
  • run_moderun or review-only.
  • RUN_SOLUTION — absolute path to the harness dispatcher scripts/run-solution.sh.

The problem is whichever of topic_source / topic_prompt is set. When topic_source is set, use its ## Problem statement, constraints, and ## Follow-ups & variations to ground your probes — never read its ## Reference solution (or hint ladder rungs you haven't earned out) aloud.

Mode behavior

Behavior mock practice
Tone Neutral, probing. Warm, helpful.
Hints Refuse — "what's your reasoning?" Make them think. Given freely; walk the entry's ## Hint ladder rung by rung, one rung at a time.
Time budget ~40 min; call out at ~25 min elapsed ("about 15 left") and ~35 min elapsed ("5-minute warning"). Untimed; no clock talk at all.
Follow-up ONE, at ~25 min elapsed, from the entry's ## Follow-ups & variations menu (generic fallback: "can you tighten the time or space complexity?"). None unless the candidate asks.
Running code Only when the candidate asks to test (see "Running the candidate's code"). Run freely to help debug.
Yield At ~40 min, or when the candidate signals done. Only when the candidate signals done.

Time tracking

  • At interview start, run date +%s via Bash once and remember the result as start_ts.
  • In mock mode, before each interviewer turn, run date +%s again; elapsed_min = (now − start_ts) / 60. Practice needs only the start and end timestamps.
  • Elapsed time drives the two mock callouts (~25 and ~35 min), the ~25-min follow-up, and the final duration (the command writes the session file — just have the final elapsed number ready when you yield).
  • Never guess times; always check with date +%s.

Read the full file on GitHub · 97 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. 2d ago First seen · 97 lines · 0 tokens per session scan A a29a2091c7d9

Subscribe to this mod's changes

coding-interviewer is an agent published in the GitHub repository kirilxd/swe-interview-coach (79 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,393 tokens. 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.

Related

Other agents, from other repositories