The underscore

Type _ where a value should go. The text before it is the request, and the value is inserted in its place.

Blanks: type an underscore to fill in

Generation: ask for something that is not there yet

The line is the brief; the answer replaces it.

The line is the request

Everything before the underscore is sent as the request.

you type

the capital of japan is _

you get

the capital of japan is Tokyo

No question phrasing or selection is required: the sentence as written is the request. The only syntax is the underscore.

you type

2 + 2 is _

you get

2 + 2 is 4

The answer is shaped to fit the sentence

The missing part, not a reply.

The value matches the slot: a word where a word belongs, a number where a number belongs. No prefix, no explanation, no surrounding prose to trim. The completed sentence reads as typed.

The answer is inserted selected

One keypress changes it; typing over it replaces it.

the capital of japan is Tokyo

Because the value is selected on insertion, it can be cycled or replaced immediately, with no cursor movement first. Continuing to type accepts it.

No underscore remains in your text

Only the underscore is replaced when your words frame a slot for the value; the words stay. A free-form request with no slot to fill is replaced by its answer. Either way, nothing is left to delete before submitting.

Keyword blanks answer locally

A recognised keyword routes to a script instead of a model.

you type

volume _

you get

volume 19%

A keyword such as volume routes the request to a local script, and the inserted value is read from the system rather than generated. Each keyword blank is a folder under ~/.cues/blanks/, editable like any config.

Waiting shows a spinner

A request that reaches the network takes about a second.

the capital of japan is -

The slot shows a spinner while the request runs, so a stalled request is distinguishable from a running one.

With no usable answer, nothing is inserted

The underscore stays where you typed it.

the tallest mountain is _

If the model returns nothing usable, the line is left exactly as written: no apology text, no guess. An unwanted insertion would need noticing and undoing; no insertion needs neither.

Underscores in markdown

blank-trigger-mode: immediate | spaced

Default immediate: _ triggers as typed. In markdown surfaces, where _like this_ is emphasis, set blank-trigger-mode: spaced in ~/.cues/OPENCUES.md: a blank then triggers only when a space follows the underscore, so _italic_ is left alone and a trailing underscore-space still fires.