Skip to main content

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

Slash Commands

Slash commands provide quick access to Cyberstrike features directly from the input prompt. Type / at the beginning of a line to see available commands.

🎬 GIF: g03-slash-autocomplete.gif

Slash command otomatik tamamlama demosu (8s)

📸 SCREENSHOT: s08-slash-menu.png

Slash command menüsü görünümü

Command Categories

CategoryCommandsPurpose
Session/new, /sessions, /share, /compactSession management
Agent/models, /agents, /mcpsAI model and agent switching
Navigation/timeline, /fork, /undo, /redoMessage navigation and history
System/help, /status, /themes, /exitSystem information and settings
CustomUser-definedProject-specific skills

Session Commands

/new

Creates a new session, optionally preserving the current prompt.

/new

Aliases: /clear

Keyboard shortcut: <leader>n


/sessions

Opens the session list to switch between sessions.

/sessions

Aliases: /resume, /continue

Keyboard shortcut: <leader>l


/share

Shares the current session and copies the URL to clipboard.

/share

Requirements: Sharing must be enabled in configuration (share: "manual" or share: "auto")


/unshare

Removes public sharing for the current session.

/unshare

/rename

Opens a dialog to rename the current session.

/rename

/compact

Summarizes the session to reduce context size while preserving important information.

/compact

Aliases: /summarize

Keyboard shortcut: <leader>c

Use this when the session becomes too long and you want to continue without losing context.


/undo

Reverts to the previous user message, allowing you to edit and resend.

/undo

Keyboard shortcut: u (in normal mode)


/redo

Restores a previously undone message.

/redo

Keyboard shortcut: Ctrl+R


/timeline

Opens a message timeline to jump to specific messages in the session.

/timeline

Keyboard shortcut: <leader>t


/fork

Creates a new session branch from a selected message, preserving the original.

/fork

Keyboard shortcut: <leader>f


/timestamps

Toggles timestamp visibility on messages.

/timestamps

Aliases: /toggle-timestamps


/thinking

Toggles visibility of AI reasoning/thinking blocks.

/thinking

Aliases: /toggle-thinking


Agent Commands

/models

Opens the model selection dialog.

/models

Keyboard shortcut: <leader>m


/agents

Opens the agent selection dialog.

/agents

Keyboard shortcut: <leader>a


/agent-settings

Opens agent configuration settings.

/agent-settings

Aliases: /settings


/mcps

Opens the MCP server toggle dialog.

/mcps

/connect

Opens the provider connection dialog to add new AI providers.

/connect

System Commands

/help

Shows the help dialog with keybindings and commands.

/help

/status

Shows system status including connected providers and active MCPs.

/status

Keyboard shortcut: <leader>s


/themes

Opens the theme selection dialog.

/themes

Keyboard shortcut: <leader>T


/exit

Exits Cyberstrike.

/exit

Aliases: /quit, /q


Custom Skills

Skills are user-defined commands that extend Cyberstrike functionality. Create skills by adding markdown files to .cyberstrike/skills/.

Creating a Skill

Create SKILL.md in a skill directory:

.cyberstrike/skills/my-skill/SKILL.md
---
name: my-skill
description: Description for autocomplete
---
Instructions for the AI when this skill is invoked.
## Steps
1. First step
2. Second step

Using Skills

Invoke custom skills with /skill-name:

/my-skill

Example: OWASP Testing Skill

.cyberstrike/skills/owasp-test/SKILL.md
---
name: owasp-test
description: Run OWASP WSTG tests on a target
---
Follow the OWASP Web Security Testing Guide v4.2 methodology:
1. Information Gathering (WSTG-INFO)
2. Configuration Testing (WSTG-CONF)
3. Authentication Testing (WSTG-ATHN)
4. Session Management (WSTG-SESS)
5. Input Validation (WSTG-INPV)

Skill Locations

Skills are loaded from:

LocationScope
.cyberstrike/skills/Project-specific
~/.cyberstrike/skills/Global (all projects)
.claude/skills/Claude Code compatible
~/.claude/skills/Global Claude Code

Autocomplete

Slash command autocomplete activates when you type / at the start of a line.

KeyAction
Up / Ctrl+PMove up in list
Down / Ctrl+NMove down in list
Tab / EnterSelect command
EscapeClose autocomplete

Fuzzy Matching

Autocomplete supports fuzzy matching:

/ses → /sessions, /share, /agent-settings
/mod → /models
/comp → /compact

@ Mentions

Use @ to mention files, agents, or MCP resources in your prompt.

File Mentions

Reference files from your project:

@src/index.ts can you explain this file?

Line Range Mentions

Reference specific lines:

@src/auth.ts#45-60 check these lines for vulnerabilities

Agent Mentions

Invoke a specific agent for part of your prompt:

@web-application scan the login form

MCP Resource Mentions

Reference MCP server resources:

@mcp-resource-name use this context

MCP Tool Commands

MCP tools appear in the slash command menu with the tool: prefix:

/tool:kali_nmap
/tool:nuclei_scan

Selecting an MCP tool inserts a prompt to use that tool.


Command Palette

Access all commands through the command palette:

Keyboard shortcut: <leader><leader> or Ctrl+Shift+P

The command palette shows:

  • All slash commands
  • Keyboard shortcuts for each command
  • Suggested commands based on context
  • MCP tools (with tool: prefix)

Configuration

Disabling Built-in Commands

Built-in commands cannot be disabled, but you can override them with custom skills of the same name.

Keybind Customization

Customize command keybindings in ~/.cyberstrike/config.json:

{
"keybinds": {
"session_new": "<leader>n",
"session_list": "<leader>l",
"model_list": "<leader>m",
"agent_list": "<leader>a"
}
}

See Configuration Reference for all keybind options.


Quick Reference

Session

CommandShortcutDescription
/new<leader>nNew session
/sessions<leader>lList sessions
/shareShare session
/renameRename session
/compact<leader>cSummarize session
/undouUndo last message
/redoCtrl+RRedo message
CommandShortcutDescription
/timeline<leader>tJump to message
/fork<leader>fFork from message
/timestampsToggle timestamps
/thinkingToggle thinking

Agent

CommandShortcutDescription
/models<leader>mSwitch model
/agents<leader>aSwitch agent
/mcpsToggle MCPs
/connectAdd provider

System

CommandShortcutDescription
/helpShow help
/status<leader>sSystem status
/themes<leader>TSwitch theme
/exitExit app

Tip

Type / to see all available commands, or <leader><leader> to open the full command palette.