-
Notifications
You must be signed in to change notification settings - Fork 194
Slash Commands
Slash commands are utility commands you can run by typing / in the chat input. They execute outside the normal agent loop and are used for session management, quick summaries, and information retrieval.
Type / to see the full list, or /help for descriptions.
List all available slash commands with their descriptions.
/help
Show the current engagement status. The LLM reviews the session history and extracts a structured summary including:
- Targets and IPs
- Open ports and services
- Discovered credentials
- Identified vulnerabilities
- Files of interest
- Suggested next steps
/status
Summarize the entire session so far. The LLM reads through all messages and produces a concise summary of what has been done, what was found, and what remains.
This is also useful for freeing up context space in long sessions.
/summarize
Extract and list all targets, IPs, and hostnames mentioned in the session. Useful for keeping track of the scope during a large engagement.
/targets
Export session findings as a structured report. The LLM organizes all discoveries, vulnerabilities, credentials, and recommendations into a report format.
/export
List all shell sessions, both active and closed. Shows shell IDs, labels, types, who created them (agent or user), and their current status.
/shells
Focus the agent on a specific CTF challenge. Requires a CTF to be connected and synced (see CTF Solver).
/solve <challenge_name> [extra notes]
The command resolves your query against the synced challenge list (exact name, then directory name, then substring). Once matched, it reads the challenge details and file list from the attack box and injects them into the agent's system prompt as <current_challenge>.
Typing /solve (with a space) in the chat input shows an autocomplete menu of all synced challenges, filterable by name or category.
You can append extra notes after the challenge name:
/solve "Web 101" focus on the login endpoint, flag format is flag{...}
To clear the active challenge focus:
/solve clear
See CTF Solver for the full workflow.
Clear the conversation context. This removes all messages from the session except the system prompt. The agent starts fresh, but shell sessions and other state remain.
/clear
Reset the session entirely. Clears all messages, resets agent state, and starts from scratch.
/reset
Getting Started
Using Pentest Copilot
Configuration
Integrations
Reference