Bitbucket Automation for Openclaw

A powerful automation suite for managing Bitbucket repositories, pull requests, and issues through AI-driven workflows.

sohamganatra
v0.1.0
Feb 6, 2026
1
2.9k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install bitbucket-automation

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install bitbucket-automation using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Bitbucket Automation?

This skill enables AI agents to interact directly with the Bitbucket Cloud API via the Rube MCP. It provides a robust set of tools for managing the entire development lifecycle—from creating repositories and branches to handling complex pull request reviews and issue tracking. By leveraging this integration among your Openclaw Skills, developers can automate repetitive administrative tasks and maintain better repository hygiene without leaving their AI-powered IDE.

The integration utilizes Composio's Bitbucket toolkit, ensuring secure OAuth authentication and access to advanced features like Bitbucket Query Language (BBQL) for granular filtering. Whether you are performing bulk repository audits or automating PR feedback, this skill provides the necessary endpoints to scale your DevOps operations efficiently.

Bitbucket Automation Use Cases

  • Automated creation and management of pull requests across multiple workspaces.
  • Programmatic repository cleanup and workspace administration.
  • AI-driven code reviews utilizing diff and diffstat data for context-aware feedback.
  • Dynamic issue tracking and synchronization with external project management tools.
  • Bulk branch management and organization based on commit history.

How Bitbucket Automation Works

  1. Initialize the Rube MCP server and verify the connection status.
  2. Authenticate the Bitbucket toolkit via RUBE_MANAGE_CONNECTIONS to establish an ACTIVE OAuth session.
  3. Resolve workspace and repository slugs using discovery tools like BITBUCKET_LIST_WORKSPACES.
  4. Execute specific automation tasks such as creating branches or posting PR comments using resolved IDs.
  5. Process paginated results and apply BBQL filters to handle large datasets effectively.

Bitbucket Automation Setup

To get started with this skill, add the Rube MCP server to your configuration:

https://rube.app/mcp

Follow these steps for the Bitbucket toolkit:

  1. Verify availability by confirming RUBE_SEARCH_TOOLS responds.
  2. Initiate connection by calling RUBE_MANAGE_CONNECTIONS with toolkit bitbucket.
  3. Complete OAuth by following the provided link to authorize access.
  4. Confirm connection status shows ACTIVE before running any workflows.

Bitbucket Automation Data Schema & Taxonomy

Data Type Format/Structure Description
Workspace Slug or {UUID} Unique identifier for Bitbucket workspaces.
Repository repo_slug URL-friendly name used in API paths.
Pull Request Integer ID Numeric identifier for PR operations.
Reviewers Array of {uuid} List of reviewer objects with curly-braced UUIDs.
BBQL Query Double-quoted strings name~"pattern" syntax for filtering.

Bitbucket Automation Advanced Features

  • Full support for Bitbucket Query Language (BBQL) for complex data filtering.
  • Inline code commenting capabilities for automated PR reviews.
  • Comprehensive issue management including state transitions and priority levels.
  • Multi-workspace support for managing distributed repository architectures.
  • Detailed diff and diffstat retrieval with max_chars management to prevent context overflow.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*