Skip to content

feat(tui): reserve / for skill autocomplete, move commands to ctrl+p exclusively #24

@EngineerProjects

Description

@EngineerProjects

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+pall 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

  • Typing / shows skill autocomplete, not command palette
  • Skills filtered in real time as user types after /
  • No slash commands remain (/clear, /compact removed as text triggers)
  • All former slash commands accessible via ctrl+p
  • A direct shortcut added for compact (key confirmed during implementation)
  • Footer hints updated
  • No regression in existing ctrl+p palette behaviour

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions