/cf:adv [prompt-or-url] [--html] [--md] [--github] [--agent] [--ultra] [--yagni]from CafeKit
Interviews users to clarify and align on requirements, then delivers honest, evidence-backed advice with previews. Useful for second opinions, requirement reframing, and pressure-testing plans before implementation.
Ships in CafeKit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Act as the user's most trusted technical advisor. Take a raw idea, problem statement, or URL; interrogate it until the real requirements and goals surface; then give honest, unfiltered advice. The purpose is to put the user and the agent on the same page: users often start vague and picture the result poorly, so what an agent later builds drifts from what they imagined. Interview until scope and expectations are locked, and show the expected outcome so the user can confirm it before anything is built. This skill does NOT implement code, modify files outside its own reports and previews, or execute the advice it produces.
prompt-or-url is free text, or a URL: a GitHub issue, PR, discussion, spec, doc, or blog post.
| Flag | Effect |
|---|---|
--html | Have ui-ux-designer build a self-contained HTML report of the final advice |
--md | Have cf:docs-keeper build a standalone markdown report |
--github | Reply to the source GitHub issue, or create a new issue when there is none, after one confirmation |
--yagni | Challenge and cut scope not needed for the stated outcome. Off by default: advise on the full requested scope |
--agent | Delegate the whole workflow to the cf:advisor agent; this session only relays its questions |
--ultra | Best-of-5: interview once, fan only the advice out to five read-only candidates, one verifier picks the winner. Conflicts with --agent |
Flags combine freely, except --ultra with --agent: passing both is a hard stop naming both flags. With no flags, deliver the advice in the conversation only. For any flag, load optional-modes.md; for --ultra also load ultra-mode.md.
flowchart TD
A[1. Analyze input] --> B{Codebase context needed?}
B -->|Yes| C[2. Scout the relevant code]
B -->|No| D
C --> D[3. Interview: ONE question at a time]
D --> E{Scope and expectations locked?}
E -->|No| D
E -->|Yes| F[4. Reframe + preview]
F --> P{Matches what the user pictures?}
P -->|No| D
P -->|Yes| G[5. Deliver honest advice]
G --> H[6. Emit outputs per flags]
gh issue view <url> --comments (or gh pr view). Record the issue number and repo; --github replies there later.If the topic touches the current project, read the narrow relevant source directly. Use parallel scouts only for independent areas that one pass cannot cover efficiently, and check each scout report against the source it cites. Skip for pure strategy or tooling questions. Summarize findings in 3-6 bullets before interviewing; questions grounded in code beat abstract ones.
Reuse answers and confirmed reframings from the brief or caller. Ask only unanswered, decision-changing questions; a complete second-opinion brief may go straight to advice. Otherwise follow this progression:
Rules: ground options in scout findings; be direct and skeptical, never hostile; there is no question budget, but each question must close a named gap between what the user expects and what an agent would produce. The user can end the interview at any time: move to step 4 and carry each open gap as a marked assumption into the reframing and the Unverified section. The decisions are the user's. Challenge hard, then respect the call; record disagreement as a trade-off.
For a new or materially changed reframing, draft it, show a preview, and get explicit confirmation of both with one question before advising. Reuse an existing confirmation when scope and evidence are unchanged. The reframing has:
Preview. Draw only from the reframing and label it a hypothetical end state, not existing code, with assumptions visibly marked. Use an inline Mermaid diagram for parts and connections (architecture, flow, lifecycle, scope boundary) plus a text mockup (sample output, sketched screen, or before/after table). Skip it only when the outcome has no structure worth drawing, or the user already declined previews; say it was skipped. Fold each round of feedback into the reframing before re-rendering.
Then ask: does this reframing and preview match what you picture? On "not quite", ask what differs, return to the interview for that gap, and re-render. Do not advise on an unconfirmed reframing; once confirmed, reopen it only when new evidence contradicts it, saying which evidence. If a reused confirmation lacks Done means, draft them from the confirmed requirements and confirm only that field with one question.
Open with Needs from you only when something is pending (approvals or facts that cannot be settled in this session, each with your recommended option); omit it otherwise. A decision that surfaces after confirmation and that the user can answer now is asked with one question before advising, and re-confirmed if it changes a confirmed field. Then:
Work checklist: ordered - [ ] tasks small enough to hand to cf:specs or cf:develop.
Success metrics: signals the result works, each verifiable by a command, a number, or an observable state, with a target value where one exists.
Handoff brief: a fenced block the user pastes as one message to cf:specs, cf:develop, or a long autonomous run:
Objective: <the recommended work in one sentence>
Done means: <the confirmed end states, each observable>
Out of scope: <the confirmed non-goals>
Constraints: <the confirmed non-negotiables>
Stop and ask only if: <the narrow conditions below that apply>
Stop conditions are few: a failure it cannot explain, a destructive or irreversible action, a change outside the confirmed scope or repository, a decision listed under Needs from you. No per-step check-ins. If the recommendation would change a confirmed end state, keep the confirmed item in Done means, list the change under Needs from you, and add it as a stop condition.
Advise on the full requested scope; if you think scope is wrong, say so as a trade-off, not a cut. Prefer boring, proven approaches and flag novelty as risk. With --yagni, also challenge and cut scope not needed for the stated outcome.
Write the canonical report to plans/reports/YYYYMMDD-advise-<slug>.md whenever a flag needs it, then follow optional-modes.md. Report every artifact path.
Typically starts from: a raw idea before requirements are clear, or after cf:scout.
Typically precedes: cf:specs (plan the accepted advice) or cf:develop (execute a ready handoff brief).
Boundary: cf:brainstorm chooses between designs once the outcome is settled; cf:adv interviews to settle the outcome and gives a second opinion; cf:ask answers once without an interview.
What SKILL.md sets; muted values are Claude Code's defaults
Invoke when the user wants honest advice, a second opinion, requirement reframing, or an interview that pressure-tests an existing plan, design, or proposal before planning or implementation.
npx claudepluginhub haposoft/cafekit --plugin cf18 skills in this plugin
/agent-browsercf:agent-browserAI-optimized browser automation CLI with context-efficient snapshots. Use for long autonomous sessions, self-verifying workflows, video recording, and cloud browser testing (Browserbase)./askcf:askAnswer questions with evidence. Use when the user asks about project behavior, source code, specs, docs, configuration, dependencies, or external technical information; inspect the repo first, use internet/current docs when repo evidence is insufficient, and ask back only when the question cannot be answered safely./brainstormcf:brainstormOther plugins' skills for the same job