Spikee CLI Cheatsheet

July 1, 2026 ยท View on GitHub

This is a quick CLI reference guide for using Spikee, containing commands, arguments and links to more detailed documentation.

Jump to Links:

spikee init

Initializes a new Spikee project in the current directory.

mkdir workspace && cd workspace
spikee init
ArgumentDescriptionDocs
--forceOverwrite existing directories
--include-builtinCopy built-in modules to local workspace

spikee list

Lists all local and built-in modules available. Use --description to include module descriptions.

spikee list seeds
spikee list datasets
spikee list targets
spikee list plugins
spikee list attacks
spikee list judges
spikee list providers --description

spikee generate

Generates a dataset from a seed folder.

spikee generate --seed-folder my_seeds
Source ArgumentsDescriptionDocs
--seed-folderRequired Path of seed folder
--include-standalone-inputsInclude standalone_user_inputs.jsonlLink
--include-system-messageIncludes system_messages.tomlLink
--tagInclude an identifying tag in the dataset filename
Transformation ArgumentsDescriptionDocs
--pluginsSpace-separated list of pluginsLink
--plugin-optionsApply options as "plugin1:option1=value1,option2=value2;plugin2:option2=value2"Link
--plugin-onlyOnly output plugin entries
--include-fixesComma-separated list (e.g., 'adv_prefixes', 'adv_suffixes', prefixes=, suffixes=)Link
Formatting ArgumentsDescriptionDocs
--formatOutput format: user-input (default / apps), full-prompt (LLMs), or burp
--languagesComma-separated list of languages to filter jailbreaks and instructions (e.g., en)Link
--match-languagesOnly combine jailbreaks and instructions with matching languages (default: True)Link
--positionsPosition to insert jailbreaks (start, middle, end). ignored if <PLACEHOLDER> is presentLink
--injection-delimitersDelimiters to use when injecting jailbreaks (default: \nINJECTION_PAYLOAD\n)Link
--spotlighting-data-markersComma-separated list of data markers (placeholder: "DOCUMENT")Link
--instruction-filterComma-separated list of instruction types to includeLink
--jailbreak-filterComma-separated list of jailbreak types to includeLink

spikee test

Tests a dataset against a target.

spikee test --dataset my_dataset.jsonl --target my_target
Dataset ArgumentsDescriptionDocs
--datasetPath to a dataset fileLink
--dataset-folderPath to a dataset folder containing multiple dataset files

(NB, These args can be used multiple times to specify multiple datasets, at least one of --dataset or --dataset-folder is required)

Module ArgumentsDescriptionDocs
--targetRequired Name of the target to test (local or built-in)Link
--target-optionsOptions to pass to the target
--judge-optionsOptions to pass to the judgeLink
Testing ArgumentsDescriptionDefaultDocs
--threadsNumber of threads for parallel processing4Link
--attemptsNumber of attempts per entry1Link
--max-retriesNumber of retries for rate-limiting controls / 429 errors3Link
--throttleTime in seconds to wait between entries per thread0Link
--sampleOnly test a sample of a dataset (e.g., 0.15 for 15%)1Link
--sample-seedSeed for random sampling42Link
--tagInclude a tag at the end of the results filename
Attack ArgumentsDescriptionDocs
--attackName of the attack moduleLink
--attack-iterationsNumber of attack iterations / maximum number of turns per dataset entryLink
--attack-optionsOptions to pass to the attack moduleLink
--attack-onlyOnly run the attack module without standard attemptsLink

(NB, attacks are only run if the core test flow fails, or --attack-only is set)

Resume ArgumentsDescriptionDocs
--resume-filePath to a results JSONL file to resume from. Only works with a single datasetLink
--auto-resumeSilently pick the latest matching results file if presentLink
--no-auto-resumeCreate new results file, do not attempt to resumeLink

spikee results

analyze

Analyzes results files to produce aggregate statistics and visualizations - Link

spikee results analyze --results-file results.jsonl
ArgumentDescription
--results-filePath to a results JSONL file
--results-folderPath to a folder containing multiple results JSONL files
--false-positive-checksPath to a JSONL file with benign prompts for false positive analysis. Only works with a single dataset.
--output-formatOutput format: console (default) or html
--overviewOnly output the general statistics of results files
--combineCombine results from multiple files into a single analysis.

(NB, Result file/folder args can be used multiple times to specify multiple datasets, but at least one is required)

rejudge

Rejudges a results file - Link

spikee results rejudge --results-file results.jsonl
ArgumentDescription
--results-filePath to a results JSONL file
--results-folderPath to a folder containing multiple results JSONL files
--judge-optionsOptions to pass to the judge
--resumeAttempt to resume the most recent re-judge file

(NB, Result file/folder args can be used multiple times to specify multiple datasets, but at least one is required)

extract

Searches for result entries by category or search term and extracts them to another JSONL file - Link

spikee results extract --results-file results.jsonl --category "success"
ArgumentDescription
--results-filePath to a results JSONL file
--results-folderPath to a folder containing multiple results JSONL files
--categoryExtracts prompts by category: success (default), failure, error, guardrail, no-guardrail, custom
--custom-searchCustom search string to filter prompts when --category=custom. Formats: 'search_string', 'field:search_string' or '!search_string' to invert match
--tagInclude a tag at the end of the results filename

(NB, Result file/folder args can be used multiple times to specify multiple datasets, but at least one is required)

spikee webui

Launches the Spikee web UI. Run from a workspace directory (one initialised with spikee init).

The web UI covers the full Spikee workflow: generate datasets, run tests, monitor live job output, and explore results interactively.

Arguments

ArgumentDescription
--hostHost address to bind to (default: 127.0.0.1)
-p, --portPort number to listen on (default: 8080)
-d, --debugRun with Flask debug mode and hot-reloading (default: False)
--databasePath to a SQLite file for persistent job history (created on first run if absent)
spikee webui

# Custom host and port
spikee webui --host 0.0.0.0 -p 8081

# Persist job history across restarts
spikee webui --database jobs.db