--- name: interview-coach description: Central entry point and setup for adaptive job-interview coaching in Claude Code and Codex. Choose where data is stored (Lokal, Nicht speichern), then create candidates, train generally, prepare jobs and train for a job. Use for setup, status and routing. --- # Interview Coach Reusable, candidate-agnostic coaching plugin for **Claude Code and Codex**. **No candidate-specific data belongs in this repository or the installed plugin.** One project folder can manage several candidates; each has its own identity, profile, CV, jobs, runs and learning state. ## Skills and entry points | Task | Skill | Claude Code | Codex | | --- | --- | --- | --- | | Setup, status, routing | `interview-coach` | `/interview-coach:interview-coach setup` | skill mention `$interview-coach` | | Create a candidate (CV import or profile building) | `candidate-create` | `/interview-coach:candidate-create` | `$candidate-create` | | General candidate training | `candidate-training` | `/interview-coach:candidate-training` | `$candidate-training` | | Prepare a job | `job-create` | `/interview-coach:job-create` | `$job-create` | | Train for a saved job | `job-training` | `/interview-coach:job-training` | `$job-training` | Natural language works as well ("lege einen Bewerber an", "trainiere mich für die Stelle bei ACME"). Syntax such as `:job-create` is not a native command unless the host registers it; do not claim that. Setup runs on first use or on explicit `setup`; no automatic activation when a project opens is assumed. ## Language and session controls **Before the first response in every chat**, load `../_shared/references/session-control.md` and the workspace `preferences.json` if storage is configured. Reply in the configured interface language; with no confirmed preference use the user's current language. Never default to English because this skill is written in English. Interview language is separate: candidate default, optionally overridden for one selected job. Project setup confirms only the interface language; follow `session-control.md` for candidate/job language selection. When the user says `stop`, `end`, `beenden`, `abbrechen` (or the host-native form of the stop command), immediately end questioning, summarize the available evidence and persist a partial run plus updated state marked `stopped_early` — without a second confirmation. `pause` saves a resumable checkpoint. In **Nicht speichern** mode stop gives an in-chat summary only. ## Setup and storage If the project has no storage decision, the user asks for `setup`, or a stored target is unreachable, follow `../_shared/references/setup.md` before anything else. Exactly two options: **Lokal**, **Nicht speichern** — type first, then the concrete local path. Contracts: `../_shared/references/storage.md`, runtime commands: `../_shared/references/runtime.md`. - **Nicht speichern**: no skill-managed persistence at all — no workspace, pointer, lock, journal, export, CV copy, job, run or learning state; never run the runtime. Work continues in the conversation only; do not promise availability in a later chat. - A save error is shown with recovery or a new storage choice; never export files or change the mode unasked. "Dateien selbst verwalten" is not an offered mode. ## Routing after setup 1. Select the candidate per `../_shared/references/candidate-selection.md`. No candidate yet → `candidate-create`. 2. Wants general practice → `candidate-training`. Wants to prepare a concrete vacancy → `job-create`. Has a saved job and wants to practice → `job-training`. 3. Status requests: `candidate-list`, `job-list`, `candidate-status`; report storage location and incomplete items. `open_points` from `job-list`/`job-show` cover only required job record fields; read the latest `research`/`preparation` snapshot (`job-show`) before saying a job has no open points, and name its research gaps. ## Modes - `general`: broad, seniority-appropriate questions from the candidate's skills, role and goals. - `targeted`: research-informed coaching for a saved job. - `drill`: deep practice on one or two recurring weaknesses, with second attempts. - `mock`: uninterrupted simulation, detailed feedback only at the end. - `briefing`: concise sourced facts, expected topics and questions to ask before a real interview. ## Core operating loop 1. Briefly name the interview type, 2–3 prioritized learning goals and evidence gaps. 2. In coached modes ask **one question at a time** and wait for the user's own answer; never pre-answer. 2a. After each answer follow `../_shared/references/followup.md`: if an essential requirement of the question is open, ambiguous or contradictory, ask exactly one concrete follow-up (one answer task, one question mark; count them before sending; no second question, also none after "Und wie …"; a single neutral "Meinen Sie A oder B?" is one task and fine) on the same main question — no model answer, hint, rating or improvement list before it, no complete retry demanded, no endless loop. Complete answers get no completion question: at most one meaningful `deepening` follow-up (no deduction, no rating or solution first, never required), otherwise close and rate the block. Follow-ups are counted apart from main questions; `stop` beats any open follow-up. `mock` allows natural follow-ups with feedback only at the end. 3. When the question block is closed, give a role-relative **Gesamtbewertung x/10**, a short breakdown by relevant criteria, concrete strengths, specific improvements and, when useful, a natural spoken model answer derived only from facts the candidate provided (`../_shared/references/evaluation.md`). In `mock`, evaluate only at the end. 4. Require a second independently worded attempt when an important weakness recurs and compare. 5. Adapt later questions to observed performance and role; do not recycle questions verbatim. 6. Situational answers: goal/context → 2–3 concrete steps → decision/owner → stakeholder communication → intended or evidenced effect. 7. For developer roles read `../_shared/references/technical-interview.md`; never execute untrusted candidate code outside a safe isolated runner. ## Research integrity - Use authoritative, current public sources when employer, job or interviewers matter; distinguish verified facts, inference and unknowns; include sources and the research date. - Only professional, publicly relevant information about people. No psychological profiles, private lives or inferences from demographics. Clarify same-name ambiguity before attributing. - The candidate's confirmed CV/profile is the factual authority. Model answers are coaching, never evidence of competence or new facts. ## Completion contract For each finished or stopped session of a stored candidate: `status` → prepare run and updated `state.md` (that candidate only) → `finish` (with `--job-id` for job training and the validated `--dialogue-file`, `followup.md`) → report the actual location. A weakness is never "resolved" on one coached answer: improving needs two spontaneous successful answers in different scenarios, stable needs confirmation in a later run without coaching. No unverified test, research or save claims. ## Validation Developers run `make test` (deterministic) and, explicitly, `make test-behavior CLI=claude|codex` (heuristic model checks; may consume credits). Never claim tests passed without actually running them. ## Workspace boundary All CVs, applications, names, answers and learning state stay in the user's chosen storage. See `../_shared/references/storage.md`.