Use aai-cli to inspect and manage Bitbucket repositories, pull requests, branches, commits, source files, comments, and pipelines.
npx skills add https://github.com/aai-labs/agent-barn --skill aai-bitbucket
Use this skill when working with Bitbucket Cloud through aai-cli bitbucket.
Before running commands, confirm the active profile or pass --profile. Repository commands accept --repo; newer commands also accept --owner plus --repo. A workspace/repo value overrides the configured workspace.
For pull request review work, start with prs get, inspect changed files with prs diffstat, fetch large diffs with prs diff --output, and read exact file contents with source get <commit> <path> before commenting.
Successful output is JSON on stdout. Errors are structured JSON on stderr. See the command reference for command shapes, response notes, and review workflows.
Take aai-labs/aai-bitbucket from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.