interview-gen

Verified·Scanned 2/18/2026

This CLI tool reads source files (example: ./src/) and sends code excerpts to OpenAI to generate interview questions. It requires the OPENAI_API_KEY env var and calls the OpenAI API via openai.chat.completions.create.

from clawhub.ai·v873e604·56.2 KB·0 installs
Scanned from 1.0.2 at 978785e · Transparency log ↗
$ vett add clawhub.ai/lxgicstudios/interview-gen

ai-interview

Generate interview questions tailored to your actual codebase. Great for hiring people who'll work on your specific stack.

Install

npm install -g ai-interview

Usage

npx ai-interview ./src/
# → 10 mid-level questions based on your code

npx ai-interview ./src/ --level senior --count 15
# → 15 senior-level questions

npx ai-interview ./src/ -o questions.md
# → Save to file

Setup

export OPENAI_API_KEY=sk-...

Options

  • -l, --level - junior, mid, or senior (default: mid)
  • -n, --count - Number of questions (default: 10)
  • -o, --output - Save questions to a file

License

MIT