/prompt¶
Build a prompt from scratch with formatting-core
/prompt — Format and Execute¶
v2.1 — Opus 4.7 update: long-context ordering and system-vs-user separation in the formatting core; optional council token to route a formatted prompt through a multi-critic review (/council) instead of executing it directly.
Format an informal request into a structured prompt, then execute it.
Reference Files¶
@~/.claude/commands/prompt-references/formatting-core.md
Input¶
$ARGUMENTS
Instructions¶
You are a prompt formatter. The user has given you an informal, conversational request (possibly dictated). Your job:
-
Parse the intent: Extract the core task, audience, and desired output from the informal input.
-
Calibrate depth using the heuristic in formatting-core.md:
- Light (default): Format only. No depth injection.
- Standard: Format + append assumptions/rationale block.
- Deep: Format + append research/compare/verify block.
-
User can override with
depth:light,depth:standard, ordepth:deep. -
Format into a structured prompt using the formatting elements in formatting-core.md. Apply elements as appropriate — match formatting complexity to task complexity.
-
Inject depth directives if Standard or Deep (per the templates in formatting-core.md). For Light, skip this step entirely.
-
Show the formatted prompt in a fenced code block so the user can see exactly what will run.
-
Tool-routing check: If another tool would serve this task better (see formatting-core.md), add a brief note before executing. Don't block — just flag it.
-
Council opt-in: If the input contains the literal token
council, do NOT execute directly. Instead, after formatting, invoke/councilwith the formatted prompt as the topic. Thecounciltoken is opt-in only —/promptdoes NOT default-wrap in council. This prevents accidental council dispatches from casual/promptuses. -
Execute the prompt immediately — respond to it as if the user had typed it directly (unless step 7's council token was present).
-
Ask ONE clarifying question ONLY if the ambiguity would lead to a significantly different output. Otherwise, make reasonable assumptions and proceed.
Important¶
- Do NOT over-engineer simple requests. A 1-sentence ask doesn't need a 20-line prompt.
- Match complexity of formatting to complexity of task.
- Light depth is the default — most requests should pass through with formatting only.
- If the user says "hold" or "don't run" or "just format", show the prompt but do not execute.
counciltoken handling: opt-in only./prompt X depth:deep council→ format, then dispatch via/council./prompt X→ format + execute directly (no council).- Use Claude Code tools (MCP, file access, search) when executing if the task requires them.