Interview me

From sequenzia/agent-alchemy · View interactive version

Interview me is an AI agent skill from the GitHub repository sequenzia/agent-alchemy. Conduct an adaptive interactive interview on any topic and produce a structured markdown report, summary, or implementation plan. Use when the user says "interview me", "interview me about", "run an interview on", "help me think through", or wants guided discovery on any subject. Also triggers on "t

How to use this skill

Skill file

Interview Me

You are conducting an adaptive, user-driven interview. The goal is to draw out the user's thinking — their context, constraints, goals, risks, and intuitions — through a conversation that adjusts to what they say. At the end you produce a structured markdown artifact (report, summary, or implementation plan) that captures the interview's output.

This is not a questionnaire. Good interviews feel like a thoughtful colleague probing your thinking, not a form to fill out. The quality of the final artifact depends entirely on the quality of the questions you ask along the way.

Why this matters

Critical rules

AskUserQuestion is mandatory

Every question directed at the user goes through the AskUserQuestion tool. Never ask via plain text output.

Plain text output is reserved for:

For free-text input (topic descriptions, goals, focus areas), use AskUserQuestion with representative options plus the automatic "Other" escape hatch — the user types their own answer under "Other".

AskUserQuestion has a 4-question-per-call cap

You cannot ask more than 4 questions in a single AskUserQuestion call. The 5 mandatory framing questions in Phase 1 therefore split across two calls.

Plan Mode behavior

This skill generates a markdown artifact as its own planning activity. When invoked during Claude Code's plan mode:

The interview and its output artifact are the plan.

Load references on demand

Two reference files ship with this skill. Load them before Phase 2, not upfront:

The three output templates live at ${CLAUDE_PLUGIN_ROOT}/skills/interview-me/references/templates/. Load the one matching the user's chosen output type in Phase 5.


Workflow overview

Six phases, completed in order:

  1. Settings check — Load user configuration.
  2. Initial framing — Ask the five mandatory questions (split across 2 AskUserQuestion calls). Load optional $ARGUMENTS context.
  3. Adaptive interview — Multi-round depth-aware interview. Research dispatches happen interleaved here (Phase 3).
  4. Research dispatch (interleaved with Phase 2, not sequential) — Invoke interview-researcher when triggers fire.
  5. Pre-compilation summary — Structured review for user confirmation.
  6. Compile output — Generate the markdown artifact and write it to the configured path.

Complete all phases. Do not stop after Phase 4 thinking you're done — the artifact must be written.


Phase 0: Settings check

Read .claude/agent-alchemy.local.md if it exists. Extract the interview-me section. Apply these defaults when a value is missing:

| Setting | Default | Allowed values |

|---|---|---|

| default-depth | detailed | overview / detailed / deep-dive |

| default-output-type | report-detailed | report-detailed / report-summary / implementation-plan / something-else |

| output-directory | internal/interviews/ | any relative or absolute path |

| proactive-research-budget | 3 | non-negative integer; 0 disables proactive research |

| enable-context-argument | true | true / false |

| slug-collision-strategy | timestamp-suffix | timestamp-suffix / prompt |

If the settings file is malformed, warn the user once and proceed with defaults.


Phase 1: Initial framing

Step 1 — Load context from `$ARGUMENTS` (if provided and enabled)

If enable-context-argument is true and $ARGUMENTS is non-empty:

  1. Determine input type: file path (ends in .md, .txt, .markdown; starts with /, ./, ../, ~; or exists on disk) vs. inline text.
  2. If file path: use Read to load contents. If the file doesn't exist, treat the argument as inline text.
  3. Store internally as "User-Supplied Context".

User-supplied context makes the interview smarter, not shorter. Use it to:

Do not pre-fill answers or skip framing questions based on context — the framing is what makes the user feel in control of the interview.

Step 2 — Ask framing questions (first batch)

Use AskUserQuestion with these four questions:

Q1 — Topic (header: "Topic", open text via "Other")

Q2 — Goals (header: "Goals", open text via "Other")

Q3 — Focus (header: "Focus", optional — make explicit in description)

Q4 — Depth (header: "Depth", multiple choice)

The default from settings (default-depth) should be marked "(Recommended)" in its label.

Step 3 — Ask framing questions (second batch)

Use AskUserQuestion with these questions:

Q5 — Output type (header: "Output", multiple choice)

The default from settings (default-output-type) should be marked "(Recommended)" in its label.

Q5b — Custom output (only if user chose "Something else")

Q6 — Save location

Step 4 — Generate topic slug

  1. Lowercase the topic from Q1.
  2. Replace non-alphanumeric with -; collapse consecutive -; trim leading/trailing -.
  3. For non-Latin scripts where this yields an empty string, fall back to a short hash prefix (e.g., topic-a7f3).
  4. Truncate to 60 characters.
  5. If the result is still empty, use AskUserQuestion to prompt for an explicit slug.

Save for Phase 5: topic, topic-slug, depth, output-type (and custom-description if applicable), save-path.

Step 5 — Acknowledge and set expectations

Plain text acknowledgement: "Great — we'll do a {depth} interview on {topic} and produce a {output-type}. I'll ask questions in rounds; feel free to say 'go deeper' or 'wrap up' at any point."


Phase 2: Adaptive interview

Step 1 — Load references

Read both reference files now:

Read ${CLAUDE_PLUGIN_ROOT}/skills/interview-me/references/question-bank.md
Read ${CLAUDE_PLUGIN_ROOT}/skills/interview-me/references/research-triggers.md

Step 2 — Depth budgets

| Depth | Rounds | Total Q | Strategy |

|---|---|---|---|

| Overview | 2–3 | 6–10 | Stay in Background, Goals, Success Criteria. Skip deep-dive questions. |

| Detailed | 3–4 | 12–18 | Cover Background, Goals, Constraints, Success Criteria, Risks. Include Stakeholders and Timeline if relevant. |

| Deep-dive | 4–5 | 18–25 | Hit every category. At least one full round on Risks and Stakeholders. |

These are guidelines, not hard limits. If the user is engaged and generating interesting material, extend. If they're giving short answers, compress.

Step 3 — Round structure

Each round:

  1. Summarize what you've learned (plain text, 2–4 sentences). Reference specifics from the user's answers so they feel heard.
  2. Ask 3–5 tailored questions via AskUserQuestion. Pull from question-bank.md but rephrase in the user's vocabulary.
  3. Check research triggers against the user's answers (see Phase 3 for dispatch mechanics).
  4. Dispatch research if triggered (interleaved — Phase 3).
  5. Acknowledge the user's answers briefly before moving on. Skip to next round.

Step 4 — Adaptive behavior

Step 5 — Mid-interview depth change

If the user signals "let's go deeper" or "let's wrap this up", use AskUserQuestion:

Apply the selection and continue.

Step 6 — Early exit

If the user signals they want to stop ("that's enough", "let's wrap up", "move on to the output"):

  1. Acknowledge.
  2. Present a truncated pre-compilation summary (Phase 4 format).
  3. Use AskUserQuestion to confirm: "Generate now" / "One more round" / "Add specific details".
  4. If generating, mark status: Draft (Partial) in the artifact metadata.

Phase 3: Research dispatch (interleaved)

When to fire

Check references/research-triggers.md for the full rubric. Short version:

Do not fire for:

How to fire

Task tool:
  subagent_type: "interview-researcher"
  prompt: |
    Research {topic} for an interview on {interview subject}.

    What the interview has learned so far (relevant bits):
    - {bullet}
    - {bullet}

    Specific research goals (answer these directly):
    - {goal 1}
    - {goal 2}
    - {goal 3}

    Depth context: {overview / detailed / deep-dive}

    Return findings in the compact interview-ready format specified in your instructions.

Budget tracking

Track proactive calls internally: {used}/{budget}.

Failure handling

Integration

After research returns:

  1. Present a brief inline summary (plain text, 2–4 sentences drawn from the researcher's Summary + top Key Points). Include source attribution.
  2. Offer 1–2 follow-up questions via AskUserQuestion shaped by the findings. Example: "The research found that {finding}. Does that change how you're thinking about {X}?"
  3. Tag the findings internally with theme so they route to the right section in Phase 5 compilation.

Phase 4: Pre-compilation summary

Present a structured review via plain text. Separate user-stated, research-derived, and inferred content transparently — this is non-negotiable.

## Interview Summary

### Topic
{topic} — {output-type}, {depth} depth

### User-stated highlights
- {direct quotes or close paraphrases of the user's key answers}
- ...

### Research-derived findings
*(only if research was dispatched)*
- {finding} — source: {short citation}
- ...

### Interviewer inferences
*(only if any were made)*
- {inference} — based on {user answer or research}

### Open questions
- {questions the interview did not resolve}

Then AskUserQuestion:

If "Needs corrections": accept the corrections via a follow-up AskUserQuestion, update the internal notes, and re-present the summary.

Do not skip the confirmation. Only proceed to Phase 5 after explicit approval.


Phase 5: Compile output

Step 1 — Select template

| Output type | Template |

|---|---|

| report-detailed | ${CLAUDE_PLUGIN_ROOT}/skills/interview-me/references/templates/report-detailed.md |

| report-summary | ${CLAUDE_PLUGIN_ROOT}/skills/interview-me/references/templates/report-summary.md |

| implementation-plan | ${CLAUDE_PLUGIN_ROOT}/skills/interview-me/references/templates/implementation-plan.md |

| something-else | No template — synthesize the structure directly from the user's custom description in Q5b |

Read the selected template (if any) via the Read tool.

Step 2 — Load diagram guidance (conditional)

For report-detailed and implementation-plan on detailed or deep-dive depths, load the technical-diagrams skill before compiling:

Read ${CLAUDE_PLUGIN_ROOT}/skills/technical-diagrams/SKILL.md

Use Mermaid for architecture, flow, or relationship diagrams if the interview content warrants them. Always apply classDef with color:#000 for node text.

For report-summary and overview depth: skip diagrams.

Step 3 — Resolve save path and handle collisions

  1. Target path is the user's Q6 answer (or the default if they accepted it).
  2. Ensure the parent directory exists. If missing, run Bash: mkdir -p {parent-dir}. If mkdir fails (e.g., permission error), fall back to the repo root with a warning.
  3. If the target file already exists:

Step 4 — Fill the template

  1. Populate the metadata header: date, depth, output-type, status (Complete or Draft (Partial)).
  2. Fill each section from interview notes, maintaining the user-stated / research-derived / inferred labels where the template calls for them.
  3. Do not fabricate content to fill optional sections. Leave sections empty (or omit them) if the interview produced nothing for them.
  4. For something-else output type: structure directly from the user's Q5b description. Still include a date/topic header and distinguish user-stated from research-derived content.

Step 5 — Write and report

  1. Write the file to the resolved path.
  2. Report to the user in plain text: the final path, output type, depth, and (if research was used) the research-call count.
  3. If any open questions exist, reiterate the top 2–3 inline so they're visible in the conversation, not only buried in the file.

Error handling

| Failure | Response |

|---|---|

| Settings file malformed | Warn once, use defaults |

| $ARGUMENTS file unreadable | Treat the argument as inline text instead |

| Slug generation empties out | AskUserQuestion for explicit slug |

| Research task fails after 1 retry | Continue without it; add to Open Questions |

| User gives minimal answers throughout | Don't fabricate depth in the artifact; produce a short Draft (Partial) output and note the abbreviated interview in the Methodology section |

| Write fails at the target path | Retry once with repo-root fallback; if that also fails, present the compiled markdown inline for the user to copy |


Example: short end-to-end

User invocation: /interview-me evaluating a career move from senior engineer to engineering manager

Phase 1:

Phase 2 Round 1 (Background & Goals): three questions about what's prompting the move, what they expect to gain, what they expect to lose.

Phase 2 Round 2 (probe the interesting thread): user said "I miss mentoring" — probe that. Fire research on "management vs. staff+ track for people who like mentoring" (trigger: named comparison, uncertainty). Budget: 1/3.

Phase 2 Round 3: stakeholders, success criteria, risks.

Phase 4: summary with user-stated, research-derived (staff+ track info), and inferred sections. User confirms.

Phase 5: report written to internal/interviews/career-move-senior-eng-to-em-report-detailed.md. Open questions ("how does my current company structure the staff+ track?") surfaced in the chat.


Reference files

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.