/command-name in the CyberStrike TUI. They let you encode common workflows — like running an OWASP assessment or generating a pentest report — as a single keystroke.
File location
Place command files in.cyberstrike/commands/:
~/.cyberstrike/commands/.
CyberStrike scans both command/ and commands/ subdirectories automatically.
Command file format
A command file is a Markdown file with optional YAML frontmatter. The Markdown body is the prompt template sent to the agent..md) becomes the command name. A file named owasp-assessment.md is invoked with /owasp-assessment.
Frontmatter fields
description
description
A short description shown in the command picker when you type
/. Optional but recommended.agent
agent
The agent to run this command with. Must match an agent name (e.g.
web-application, internal-network, or a custom agent). If omitted, the currently active agent is used.model
model
Override the model for this command. Uses the same
provider/model format as agent configuration.subtask
subtask
Set to
true to run the command as a background subtask rather than in the current session. Useful for long-running assessments that should not block the main session.Template variables
Use{{variable}} syntax in the command body to create dynamic prompts. CyberStrike will prompt you to fill in each variable before running the command.
/injection-test, CyberStrike prompts for url and method before dispatching the prompt.
Registering commands in cyberstrike.json
You can also define commands inline in cyberstrike.json under the "command" key:
Commands defined in
cyberstrike.json and commands defined as .md files are merged. If both define the same name, the .md file takes precedence.Using commands
Type/ in the TUI input to open the command picker. Start typing to filter by name or description, then press Enter to select.
Fill in template variables
If the command uses
{{variables}}, you’ll be prompted to enter values for each one.Subtask commands
Settingsubtask: true runs the command as a background task, spawning a child session that does not block your current session.