Agent instructions command
bb agent-instructions prints the instructions for AI coding agents that ship
with the installed version of bb. It is the same text as the
AI Agent Integration guide shows, so a skill or rules
file generated from it always matches the CLI you have.
bb agent-instructions
Section titled “bb agent-instructions”bb agent-instructions [options]Examples
Section titled “Examples”bb agent-instructionsbb agent-instructions >> AGENTS.mdbb agent-instructions --json --jq '.instructions'JSON output
Section titled “JSON output”{ "version": "2.3.0", "instructions": "## Bitbucket CLI\n\nUse `bb` for Bitbucket Cloud operations.\n..."}version is the installed CLI version the instructions belong to.