Skip to content

Slash commands & prompts ​

Type / in the AI overlay to open the command list: filter while typing, navigate with ↑/↓, complete with Tab/Enter.

Two markers qualify commands:

  • πŸ’¬ interactive chat β€” opens a conversation session instead of answering in one shot.
  • ♻️ replaces content β€” the command rewrites the note (or the selection).

Related commands are grouped in category folders (e.g. πŸ“ Spec kit); typing after / filters across all commands regardless of groups.

Built-in commands ​

CommandKindWhat it does
/brainstormπŸ’¬Interactive Q&A to shape an idea
/interviewπŸ’¬Interactive prep of a user-interview guide
/critiqueπŸ’¬Devil's advocate: challenge your idea in a chat
/discussπŸ’¬Open discussion β€” structured summary at the end
/rewriteπŸ’¬ ♻️Rework the whole note β€” replaces it
/edit♻️Rewrite only the selected text (one shot)
/summarizeβ€”TL;DR + key points of the current note
/eli5β€”Explain the note simply, from first principles
/specifySpec kitTurn the note into a structured spec
/clarifyπŸ’¬ Spec kitInteractive Q&A that removes ambiguity from the spec
/planSpec kitSpec β†’ technical plan
/tasksSpec kitPlan β†’ implementation checklist with task IDs
/constitutionπŸ’¬ Spec kitInteractive interview to write the project constitution
/premortemSpec kitImagine it shipped and failed β€” list why
/reviewSpec kitReview the spec: gaps, ambiguities, contradictions

Interactive sessions ​

Starting a πŸ’¬ command opens a transcript panel above the input β€” user/assistant bubbles, live status, one question per turn. Nothing is written to the note until you press the button.

  • Generate draft writes the session's outcome at the end of the note; βœ• End session discards it.
  • The session survives hiding the overlay with Esc; hover a bubble to copy it.
  • The context toggles (current note, selected text, web search) and @ mentions work inside sessions too.

Replace commands β€” safe by design ​

/rewrite and /edit replace content under a strict contract:

  • The replacement is applied in one editor transaction β€” a single undo restores the previous version.
  • A reply that isn't a proper rewrite never touches the note: it lands in the chat instead, and the session stays open so you can retry.
  • YAML frontmatter is preserved.

Custom prompts ​

Every command is a plain markdown file: <vault>/prompts/<command>.md β€” one file per command, versioned with the vault.

md
---
description: Translate the note into English
category: My prompts
interactive: false
replace: false
---
You are a professional translator…
  • Any prompts/<name>.md whose name isn't a built-in becomes a brand-new /command, live immediately.
  • An on-disk file for a built-in overrides it field by field β€” edit the prompt, its description, even make it interactive.
  • Interactive commands keep their draft instruction in the same file under a ## Draft instruction heading.

Settings β†’ Prompts ​

The Prompts tab in Settings manages the files:

  • One row per command with its status: built-in (grey), on disk (orange), custom (blue), plus a version chip when a built-in default evolved since your file was generated.
  • ↻ regenerates a single file from the current default; Reset all to defaults deletes the built-in override files (custom prompts are never touched).
  • New custom prompt… scaffolds a ready-to-edit example file; Open folder reveals prompts/ in your file manager.

Znote β€” your notes, your files, your machine.