Summary
Currently / opens the commands palette and also triggers slash commands
like /clear. This PR splits the two concerns cleanly:
/ → skill autocomplete only (injects context into the prompt)
ctrl+p → all system commands (clear, compact, sessions, model, quit…)
Rationale
Skills inject context into the current message — they are part of the
input composition flow. Commands act on the system — they belong in the
command palette. Mixing them under / forces users to remember which
slash-words are skills and which are commands.
Changes
/ behaviour (new)
- Typing
/ on an empty input opens a skill autocomplete overlay
- Lists skills from
.nexus/skills/ filtered as the user types
enter injects @skill-name (or the skill content) into the input
esc closes without inserting
Commands moved to ctrl+p only
Shortcut for compact (proposal)
ctrl+b added as a direct shortcut for "Compact context"
- Note: conflicts with tmux default prefix — alternatives:
ctrl+k, ctrl+/
- Final key TBD during implementation
Acceptance criteria
Summary
Currently
/opens the commands palette and also triggers slash commandslike
/clear. This PR splits the two concerns cleanly:/→ skill autocomplete only (injects context into the prompt)ctrl+p→ all system commands (clear, compact, sessions, model, quit…)Rationale
Skills inject context into the current message — they are part of the
input composition flow. Commands act on the system — they belong in the
command palette. Mixing them under
/forces users to remember whichslash-words are skills and which are commands.
Changes
/behaviour (new)/on an empty input opens a skill autocomplete overlay.nexus/skills/filtered as the user typesenterinjects@skill-name(or the skill content) into the inputesccloses without insertingCommands moved to
ctrl+ponly/clear→ available in palette as "Clear chat"/compact→ available in palette as "Compact context" (see feat(engine): manual /compact command and configurable compaction threshold #22)Shortcut for compact (proposal)
ctrl+badded as a direct shortcut for "Compact context"ctrl+k,ctrl+/Acceptance criteria
/shows skill autocomplete, not command palette//clear,/compactremoved as text triggers)ctrl+pctrl+ppalette behaviour