| name | setup |
| description | Install pentest-cli and verify the security testing environment. Run this first. |
| user-invocable | true |
| allowed-tools | ["Bash","Read"] |
/setup — Security Testing Environment Setup
Check if pentest-cli is installed and working. If not, install it automatically.
Steps
-
Check if pentest is installed:
pentest --version 2>/dev/null
-
If NOT installed, install it:
curl -fsSL https://raw.githubusercontent.com/sabania/pentest-cli/main/install.sh | bash
export PATH="$HOME/.local/bin:$PATH"
-
Verify installation:
pentest --version
-
Check optional tools:
for tool in nmap sqlmap hydra nikto nuclei whatweb dnsrecon gobuster; do
path=$(which $tool 2>/dev/null)
if [ -n "$path" ]; then
echo " ✓ $tool ($path)"
else
echo " ✗ $tool (not installed - optional)"
fi
done
-
Report to user:
- Show pentest-cli version
- Show which optional tools are available
- Show available commands:
pentest --help
- Suggest: "Run
/pentest-full <url> to start a full security audit"
If Installation Fails