Gemini CLI
Install
gemini extensions install https://github.com/stackhawk/agent-skills
Set Your API Key
export HAWK_API_KEY=hawk.xxxxxxxxxxxxxxxxxxxx
Verify
After installation, ask Gemini: “What StackHawk skills do you have?”
Usage
Ask Gemini to scan your application:
Scan my app running on localhost:8080 for security vulnerabilities
Gemini will configure HawkScan, run the scan, parse findings, and help you fix them.
Tips
- The agent checks if your app is running and will prompt you to start it if needed
- For authenticated endpoints, describe your auth pattern and Gemini will configure the scan
- Use
hawk validate config stackhawk.ymlto debug config issues