/cf:brainstorm <idea_or_problem>from CafeKit
Weighs competing approaches against a bounded contract of outcome, constraints, non-goals, and acceptance. Records what was chosen and rejected and why. Writes no code.
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: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turn unresolved intent into a bounded contract without turning clear work into an interview. cf:brainstorm owns the workflow; cf:brainstormer is an optional specialist for real architectural trade-offs.
Parse controls only from the leading consecutive token segment. Accept --deep, --visual, and --advice in any order, each at most once. -- ends the control segment. After it or the first content token, every token is user content. An unknown or duplicate --* inside the leading segment returns usage and performs no scout, question, tool call, write, or workflow action.
Parsing identifies controls but does not apply them. Route Direct first, then apply controls only to requests that remain in Brainstorm. --deep may raise non-direct analysis depth but never lower a gate; --visual changes presentation only; and no control grants persistence, approval, dispatch, or implementation authority. Use -- --dry-run when literal flag-like content leads the prompt.
Classify intent first. This routing never waives safety or permission rules.
cf:specs in a new request. Do not interview, compare options, write the list, or start Specs. Open this answer with Route: plan-and-tasks · Depth: Standard.cf:debug until root cause is evidenced. Do not brainstorm fixes from a symptom. If at least two cause-aligned remedies remain, compare 2–3 here. Hand off to cf:fix only when the user explicitly requested a fix; diagnosis-only work returns the root-cause report and stops.For every non-direct request, choose the smallest adequate depth from current evidence and material risk:
--deep raises Standard to Deep. If three or more subsystems are independently deliverable, split them instead of using Deep as a monolithic substitute.Open every non-direct answer with one line naming its route and depth, for example Route: feature delivery · Depth: Standard. When the answer is a cf:debug report, that report's heading comes first and this line follows it.
Deep is selective, not a checklist. Apply a lens only when its trigger is present and otherwise record skipped: <reason>: feasibility for an unresolved material boundary; stakeholders for externally affected roles; system boundaries for cross-component state; failure isolation for partial or cascading failure across boundaries; reversibility and recovery for costly or irreversible failure; operability for runtime ownership; migration/rollback for data or public compatibility; testability for a material proof gap; and second-order effects for downstream behavior or incentives.
For feature/docs delivery and every bug/failure, resolve four user-owned fields:
After front-door routing, run cf:scout or a narrow equivalent before technical design. Inspect relevant modules, patterns, docs/plans, contracts, and runtime constraints; summarize only useful findings in 3–6 bullets.
For supplied images, video, PDFs, or mockups, use cf:ai-multimodal when the optional document bundle is installed; otherwise use the runtime's available multimodal capability or report the evidence gap. Add a diagram only when it clarifies a material choice or flow.
Derive technical touchpoints from repository evidence. Ask the user about a touchpoint only when its ownership or scope boundary is a product decision that cannot be discovered. Keep intent separate from current-state evidence.
On every route, keep feasibility (confirmed | plausible | unknown | infeasible), confidence (high | medium | low), and disposition (chosen | rejected | deferred) separate and cite evidence or basis. Missing evidence forces feasibility unknown and confidence low. A numeric estimate requires range, unit, basis, evidence, and assumptions; otherwise report unknown.
If the request spans three or more independently deliverable subsystems, split it. A subsystem is independent only when its outcome, boundary, and verification or deployment path can move through the lifecycle separately.
Load references/question-framework.md before the first discovery question. Generate questions from scout evidence, user intent, contract gaps, applicable domain guidance, and risk surfaces. Never ask the user for a technical fact that code, docs, or trusted current research can answer.
Use the runtime's native structured user-input tool when available. Ask one highest-impact question by default; batch at most three independent questions only when none depends on an earlier answer. Record confirmed decisions, assumptions, and open questions separately in the decision register.
Stop asking when remaining details have safe implementation defaults. Do not force questions merely to consume a budget.
When the user delegates a choice ("pick whichever is fastest"), choose from the recorded evidence, say that you chose on the user's behalf and why, record it in the Decision register as a delegated choice, and ask only for the approvals its route requires.
A material design choice exists only when at least two viable paths would satisfy the contract with meaningfully different consequences.
Unless the user names cf:brainstormer, call it only for a material architectural choice that benefits from deeper pressure-testing. When the user names cf:brainstormer, call it; tell it which route applies; the routes are feature delivery; an explicitly authorized fix; diagnosis-only bug work; non-bug exploration. Pass the contract with it; it may return a single-path conclusion. Use researcher only for current external facts the repository cannot establish. The controller remains responsible for questions, approval, persistence, and handoff.
--visual may present inline Mermaid or ASCII for any non-direct analysis and falls back to equivalent text when rendering is unavailable. Durable or external rendering requires explicit user authority before invocation. --advice invokes cf:brainstormer only after the material-choice gate; if advice is unavailable or fails, label it unavailable and continue with controller analysis. Before an external visual tool or adviser handoff, minimize context and redact secrets, credentials, private keys, access tokens, and unnecessary PII. Neither overlay writes, approves, persists, dispatches, or completes work.
For feature or documentation delivery:
Revise material disagreement before handoff. An already accepted, current contract is not re-approved unless new evidence changes it.
Persist only approved decisions and semantics, only with user authority, and only when they must survive the session or feed Specs. Use the repository's configured report path and naming convention. Do not create a report merely to satisfy this skill. Before writing, redact live secrets, credentials, private keys, access tokens, and unnecessary PII; preserve exact approved meaning with a safe placeholder and ownership reference instead of copying the sensitive value.
The default handoff stays in chat Markdown. Use these exact headings: Target and evidence freshness, Outcome, Constraints, Non-goals, Acceptance, Touchpoints, Direction and alternatives, Relevant impacts and failure behavior, Rollout and recovery, Proof mapping, Decision register, Assumptions, and Open questions. The first section records target identity, current source revision and worktree state or [UNVERIFIED], an evidence-as-of value, and what change invalidates the brief. Durable file output requires explicit authority and creates no readiness, approval, proof, or execution state.
cf:specs explicitly in a new request.Brainstorm is complete when the selected route is explicit, current evidence is separated from intent, every material user-owned gap is resolved or named, and the route-specific output has been returned without unauthorized persistence or implementation. Never claim live behavior from this written contract alone.
What SKILL.md sets; muted values are Claude Code's defaults
Use when an outcome is agreed and designs compete, an idea wants exploring, or a candidate needs a decision; skip direct factual answers, undiagnosed bugs, and requests that need a plan and its tasks.
npx claudepluginhub haposoft/cafekit --plugin cf18 skills in this plugin
/advcf:advInterview until the user and the agent hold the same picture of the outcome, preview it, then deliver honest evidence-backed advice. It writes only its own reports and previews and never implements what it advises./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.Other plugins' skills for the same job