Skip to main content

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

TUI

The TUI (Terminal User Interface) is CyberStrike’s primary interface. Unlike a traditional CLI where you type commands and get text output, the TUI is a persistent, interactive application that runs inside your terminal — with a prompt area, a scrollable response panel, a status bar, and real-time streaming from AI agents.

Terminal window
cyberstrike

That single command opens the TUI. You stay inside it for the entire session.

TUI vs CLI

TUICLI
Launchcyberstrikecyberstrike run "prompt"
InteractionContinuous — type, read, type againOne-shot — run, get output, exit
SessionsPersistent, resumable, renameableEphemeral (or --continue to resume)
Agent outputStreams in real-time with formattingStreams to stdout as plain text
CommandsSlash commands (/hackbrowser, /bolt)CLI flags (--model, --agent)
Best forInteractive assessments, explorationScripting, CI/CD, automation

The TUI is where you do hands-on work. The CLI is for piping output into other tools or running from scripts.

The Prompt

At the bottom of the TUI is the input prompt. This is where you type:

  • Natural language — describe what you want to test, and the harness dispatches agents
  • Slash commands — type / to open the command palette, or type the full command
  • Follow-ups — continue the conversation like a chat

Press Enter to submit. Press Shift+Enter for a new line.

Slash Commands

Slash commands are TUI actions triggered by typing / followed by the command name. They control the harness — launching tools, switching models, managing sessions — without leaving the prompt.

Type / to open the command palette with autocomplete, or type the full command directly.

Session

CommandWhat it does
/newStart a new session in a new tab
/sessionsBrowse and switch between sessions
/renameRename the current session
/forkFork the current session into a new tab
/compactSummarize the conversation to free context
/shareCreate a shareable session link
/exportExport the session transcript
/copyCopy the conversation to clipboard
/undoUndo the last action
/redoRedo the last undone action

Security Tools

CommandWhat it does
/hackbrowserLaunch HackBrowser — opens the crawl dialog with target, credentials, and scope
/hackbrowser-stopStop the running HackBrowser crawl
/boltPair or manage a Bolt security tool server
/mcpManage MCP server connections
/skillsBrowse available WSTG skill scripts

Assessment

CommandWhat it does
/vulnerabilitiesView all findings with severity and status
/webInspect captured endpoints, roles, credentials, objects
/methodologySee WSTG coverage — which categories tested, which pending
/reportGenerate a structured pentest report
/qpausePause the agent queue
/qresumeResume the agent queue

Configuration

CommandWhat it does
/connectConnect an AI provider (API key or OAuth)
/modelsSwitch the active model
/statusShow connected providers, MCPs, and system info
/thinkingToggle visibility of model reasoning
/timelineJump to a specific message in the conversation
/helpShow all available commands and keyboard shortcuts

Typing a Slash Command

When you type / the command palette opens with filtered suggestions:

> /hack
┌──────────────────────────────────┐
│ /hackbrowser Launch crawler │
│ /hackbrowser-stop Stop crawl │
└──────────────────────────────────┘

Select with arrow keys and Enter, or keep typing to filter further.

Some commands open dialogs (like /hackbrowser which shows a form for target URL, credentials, and scope). Others execute immediately (like /compact).

Keyboard Shortcuts

ShortcutAction
EnterSubmit message
Shift+EnterNew line in prompt
EscapeInterrupt the running agent
Ctrl+POpen command palette
TabSwitch to next agent
Ctrl+RRename session
Ctrl+DExit CyberStrike
↑ / ↓Navigate input history

Configuration

Customize the TUI with tui.json (or tui.jsonc) in your project or config directory:

{
"$schema": "https://cyberstrike.io/tui.json",
"theme": "cyberstrike",
"keybinds": {
"leader": "ctrl+x"
},
"scroll_speed": 3,
"scroll_acceleration": {
"enabled": true
},
"diff_style": "auto"
}
OptionDescriptionDefault
themeUI color themecyberstrike
keybinds.leaderLeader key for shortcutsctrl+x
scroll_speedScroll velocity (min: 0.001)3
scroll_acceleration.enabledmacOS-style scroll accelerationfalse
diff_styleauto adapts to width, stacked single-columnauto

Use CYBERSTRIKE_TUI_CONFIG to specify a custom config path.

Themes

CyberStrike ships with built-in themes. Switch via the command palette — press Ctrl+P and search for “theme”.

Theme picker with built-in themes