Configuration
bap config
View and set persistent configuration options. Settings are stored in~/.bap/config.json.
Configuration key to set. Omit to view all settings.
Value to set for the key.
Available Settings
| Key | Default | Description |
|---|---|---|
browser | chrome | Default browser: chrome, chromium, firefox, webkit, edge |
headless | false | Run browser in headless mode |
timeout | 30000 | Default timeout in milliseconds |
port | 9222 | Server port |
install-skill
Install the BAP skill file to detected AI coding agents.Preview what would be installed without making changes.
Install to global agent configurations.
Install to the current project directory.
skill init
Install skill files to the current project directory.Global Flags
These flags can be used with any BAP command:Named session. Commands with the same
-s value share a browser context.Server port for the BAP daemon.
Browser to use:
chrome, chromium, firefox, webkit, edge.Run browser in headless mode. Useful for CI or background runs.
Show the browser window (default behavior).
Chrome profile directory. Default: auto-detect.
Launch a fresh browser without any user profile.
Reduce bot detection fingerprint.
Auto-attach to a running Chrome instance.
Output format:
pretty (colored, for TTY), json (machine-readable), agent (concise markdown).Fuse observation with
goto or act commands.Incremental observation (only changes since last observe).
Response tier for observation:
full, interactive, minimal.Maximum number of elements for observation.
Command timeout in milliseconds.
Enable verbose output for debugging.
Show help text.
Show BAP CLI version.