Skip to main content

Cyberstrike is now open source! AI-powered penetration testing for security professionals. Star on GitHub

Keyboard Shortcuts

Cyberstrike’s TUI is driven by leader-based keyboard shortcuts for efficient navigation. This page lists the common defaults. For the complete list of actions and how to customize them, see Keybindings.

Leader Key

The leader key is Ctrl+X by default. Many shortcuts are <leader> followed by another key.

To change the leader key:

~/.config/cyberstrike/cyberstrike.json
{
"keybinds": {
"leader": "ctrl+a"
}
}

Session Shortcuts

ShortcutAction
<leader>nNew session
<leader>lList sessions
<leader>cCompact/summarize session
<leader>gSession timeline
<leader>xExport session
Ctrl+RRename session
Ctrl+DDelete session
EscapeInterrupt the running session
ShortcutAction
PageUp / PageDownScroll one page
Ctrl+Alt+UScroll up half a page
Ctrl+Alt+DScroll down half a page
Ctrl+G / HomeJump to first message
Ctrl+Alt+G / EndJump to last message
<leader>yCopy message
<leader>uUndo message (revert)
<leader>rRedo message

Input

ShortcutAction
EnterSubmit message
Shift+EnterNew line
Ctrl+VPaste
Ctrl+CClear input
EscapeInterrupt the running session

Model & Agent

ShortcutAction
<leader>mModel selection
<leader>aAgent selection
TabNext agent
Shift+TabPrevious agent

Interface

ShortcutAction
<leader>tTheme selection
<leader>sStatus view
<leader>bToggle sidebar
<leader>eOpen in external editor
Ctrl+PCommand list

Dialogs

When a dialog is open (model selection, sessions list, etc.), navigate with the arrow keys, press Enter to select, and Escape to close. A few dialog-specific binds:

ShortcutAction
Ctrl+FToggle model favorite (in the model dialog)
F2 / Shift+F2Cycle to the next / previous recent model

Permission Prompts

When a tool needs approval, an inline prompt appears with three options — Allow once, Allow always, and Reject. Use the arrow keys and Enter to choose; Escape rejects.

Customizing Keybindings

Override defaults under keybinds in your config. Only valid action names are accepted (the object is validated strictly):

~/.config/cyberstrike/cyberstrike.json
{
"keybinds": {
"leader": "ctrl+x",
"app_exit": "ctrl+c,ctrl+d,<leader>q",
"session_new": "<leader>n",
"session_list": "<leader>l",
"model_list": "<leader>m",
"agent_list": "<leader>a",
"theme_list": "<leader>t",
"status_view": "<leader>s",
"sidebar_toggle": "<leader>b",
"editor_open": "<leader>e",
"session_export": "<leader>x",
"session_timeline": "<leader>g",
"session_rename": "ctrl+r"
}
}

See Keybindings for every configurable action and its default.

Keybinding Format

  • Modifiers: ctrl, alt, shift, super
  • Special keys: return, escape, tab, space, backspace, pageup, pagedown, home, end
  • Leader: <leader> (replaced with the configured leader key)
  • Alternatives: ctrl+c,ctrl+d (comma separates alternative bindings for one action)
  • Disable: none

Examples

ctrl+alt+u # Ctrl + Alt + U
alt+shift+f # Alt + Shift + F
<leader>n # Leader key then N
ctrl+c,ctrl+d # either binding triggers the action

Quick Reference Card

┌─────────────────────────────────────────┐
│ Cyberstrike Keyboard Shortcuts │
├─────────────────────────────────────────┤
│ Session │
│ <leader>n New session │
│ <leader>l List sessions │
│ <leader>c Compact session │
│ Ctrl+R Rename session │
├─────────────────────────────────────────┤
│ Navigation │
│ Ctrl+Alt+U/D Half-page scroll │
│ <leader>u Undo message │
│ <leader>r Redo message │
├─────────────────────────────────────────┤
│ Model/Agent │
│ <leader>m Models │
│ <leader>a Agents │
│ Tab Next agent │
├─────────────────────────────────────────┤
│ Interface │
│ <leader>s Status │
│ <leader>t Themes │
│ <leader>b Sidebar │
│ Ctrl+P Command list │
└─────────────────────────────────────────┘