BeClaude

bb-api

New
GitHub TrendingGeneralby restarter

Bitbucket Cloud CLI built for AI coding agents — single-file bash, with CLAUDE.md snippet, .claude/rule, and skill bundled out of the box

First seen 5/27/2026

Summary

bb-api is a single-file Bash CLI that wraps the Bitbucket Cloud REST API, designed specifically for AI coding agents.

  • claude/rule bundled for seamless integration into Claude Code workflows.

Install & Usage

1
Create the skills directory
mkdir -p .claude/skills
2
Download the skill file
mkdir -p .claude/skills && curl -o .claude/skills/bb-api.md https://raw.githubusercontent.com/restarter/bb-api/main/SKILL.md
3
Invoke in Claude Code
/bb-api

Use Cases

List all pull requests for a repository with their status and reviewers.
Create a new pull request from a feature branch with a title and description.
Fetch the diff of a specific pull request to review code changes.
List branches in a repository and filter by name or recent activity.
Get repository details including description, language, and last updated time.
Approve or merge a pull request directly from the CLI.

Usage Examples

1

/bb-api list-pull-requests --repo my-team/my-project

2

/bb-api create-pr --repo my-team/my-project --source feature/new-feature --title "Add new feature" --description "Implements the new feature as discussed"

3

/bb-api get-pr-diff --repo my-team/my-project --pr 42

View source on GitHub
apiagent

Security Audits

LicenseUnknownSourceWarnRepositoryPass

Frequently Asked Questions

What is bb-api?

bb-api is a single-file Bash CLI that wraps the Bitbucket Cloud REST API, designed specifically for AI coding agents. It provides authenticated access to repositories, pull requests, branches, and more, with a CLAUDE.md snippet and .claude/rule bundled for seamless integration into Claude Code workflows.

How to install bb-api?

To install bb-api: create the skills directory (mkdir -p .claude/skills), then run: mkdir -p .claude/skills && curl -o .claude/skills/bb-api.md https://raw.githubusercontent.com/restarter/bb-api/main/SKILL.md. Finally, /bb-api in Claude Code.

What is bb-api best for?

bb-api is a skill categorized under General. It is designed for: api, agent. Created by restarter.

What can I use bb-api for?

bb-api is useful for: List all pull requests for a repository with their status and reviewers.; Create a new pull request from a feature branch with a title and description.; Fetch the diff of a specific pull request to review code changes.; List branches in a repository and filter by name or recent activity.; Get repository details including description, language, and last updated time.; Approve or merge a pull request directly from the CLI..