A CLI tool for generating AttackMate playbooks using LLMs (currently supports OpenAI's GPT models).
This is a proof of concept and currently can only generate playbooks with the
browser and sleep commands of AttackMate.
-
Clone the repository and create a
.envfile in the project root:OPENAI_API_KEY="your_api_key"
-
Install the package (choose one method):
With
uvuv venv source .venv/bin/activate uv pip install -e .
⚠️ Note:uv pip installinstalls into the.venvcreated byuv venv, even if the environment isn't manually activated.With
pippython -m venv venv source venv/bin/activate pip install -e .
-
Install Playwright with its dependencies:
playwright install-deps playwright install
playbookgen --helpTo generate a playbook run the following, then insert prompt and press enter:
playbookgen --output playbook.yml