Xpersona
B

Bitbucket

CLAWHUB · Unverified

Browse Bitbucket Cloud repos, review pull requests, read diffs, check branches. Use when user mentions PRs, code changes, diffs, branches, Bitbucket, or repo... Skill: Bitbucket Owner: pejovicvuk Summary: Browse Bitbucket Cloud repos, review pull requests, read diffs, check branches. Use when user mentions PRs, code changes, diffs, branches, Bitbucket, or repo... Tags: latest:1.0.2 Version history: v1.0.2 | 2026-03-31T12:07:06.142Z | user atlassian-bitbucket v1.0.2 changelog - Documentation expanded with new usage recommendations for exploration and search. - Added command d

62
Rank
84
Safety
1.0k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17acm7h5493kqedacrvz7x57n83gstt:atlassian-bitbucket
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-pejovicvuk-atlassian-bitbucket/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

18,318 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: bitbucket
version: 1.0.0
description: Browse Bitbucket Cloud repos, review pull requests, read diffs, check branches. Use when user mentions PRs, code changes, diffs, branches, Bitbucket, or repo names.
author: Viksi.ai
license: MIT
metadata:
  openclaw:
    emoji: "🪣"
    requires:
      env: ["ATLASSIAN_EMAIL", "BITBUCKET_API_TOKEN", "BITBUCKET_WORKSPACE"]
      tools: ["curl", "python3"]
---

# Bitbucket Cloud (Read-Only)

Browse repos, review PRs, read diffs and source code via a bash CLI wrapper. Read-only access — the agent cannot create, merge, or modify anything. No `jq` required — uses `python3` for JSON parsing.

Script location: `{baseDir}/bitbucket-cli.sh`

## Setup

Set these environment variables on your OpenClaw gateway:

- `ATLASSIAN_EMAIL` — the Atlassian account email
- `BITBUCKET_API_TOKEN` — a scoped API token with **Repositories: Read** and **Pull requests: Read** only. Create at [id.atlassian.com/manage-profile/security/api-tokens](https://id.atlassian.com/manage-profile/security/api-tokens), select **Bitbucket** as the app.
- `BITBUCKET_WORKSPACE` — the workspace slug from your Bitbucket URLs (e.g. `mycompany` from `bitbucket.org/mycompany/repo`)

**Security note:** Use a separate read-only scoped token for Bitbucket, not the same token as Jira/Confluence. This ensures the agent cannot write to repositories even if instructed to.

Make the script executable: `chmod +x {baseDir}/bitbucket-cli.sh`

## Commands

### List repositories

```bash
{baseDir}/bitbucket-cli.sh repos
```

Returns: `[{ slug, name, full_name, language, updated, is_private, url }]`

### List pull requests

```bash
{baseDir}/bitbucket-cli.sh prs my-repo
{baseDir}/bitbucket-cli.sh prs my-repo MERGED
```

State: `OPEN` (default), `MERGED`, `DECLINED`.

Returns: `{ total, pullrequests: [{ id, title, author, source, destination, state, created, updated, url }] }`

### Get PR details

```bash
{baseDir}/bitbucket-cli.sh pr my-repo 42
```

Returns: `{ id, title, description, author, source, destination, state, reviewers, created, updated, comment_count, url }`

### Get PR diffstat (file change summary)

Use this first to understand scope before reading the full diff.

```bash
{baseDir}/bitbucket-cli.sh diffstat my-repo 42
```

Returns: `{ files_changed, total_added, total_removed, files: [{ path, status, lines_added, lines_removed }] }`

### Get full diff

```bash
{baseDir}/bitbucket-cli.sh diff my-repo 42
```

Returns raw unified diff text. For large PRs (500+ lines), read diffstat first.

### Get PR comments

```bash
{baseDir}/bitbucket-cli.sh comments my-repo 42
```

Returns: `{ count, comments: [{ id, author, content, inline, created }] }`

Inline comments include `{ path, from, to }` showing which file and line.

### List commits in a PR

```bash
{baseDir}/bitbucket-cli.sh pr-commits my-repo 42
```

Returns: `[{ hash, message, author, date }]`

### Lis

_meta.json

{
  "ownerId": "kn78km80m7b6gk22zd2sckkz4983fzqw",
  "slug": "atlassian-bitbucket",
  "version": "1.0.2",
  "publishedAt": 1774958826142
}

skill-card.md

## Description:

Browse Bitbucket Cloud repos, review pull requests, read diffs, check branches. Use when user mentions PRs, code changes, diffs, branches, Bitbucket, or repo names.

This skill is ready for commercial/non-commercial use.

## Publisher:

[pejovicvuk](https://clawhub.ai/user/pejovicvuk)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and engineers use this skill to inspect Bitbucket Cloud repositories and pull requests from an agent workspace. It supports read-only review of repositories, PR metadata, diffs, comments, commits, branches, files, directory trees, code search, and branch comparisons.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill can broadly read private Bitbucket source data.

Mitigation: Use a dedicated Bitbucket token with only repository and pull-request read permissions, and ask the agent to inspect only specific repos, PRs, branches, or files.

Risk: The Bitbucket API token may be exposed to local process inspection.

Mitigation: Run the skill in an isolated environment where other users cannot inspect process arguments or environment details.

Risk: Repository content, PR descriptions, diffs, and comments can contain untrusted text.

Mitigation: Treat retrieved content as untrusted input and verify any suggested code, commands, or conclusions before acting on them.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/pejovicvuk/skills/atlassian-bitbucket)
- [ClawHub publisher profile](https://clawhub.ai/user/pejovicvuk)
- [Atlassian API token management](https://id.atlassian.com/manage-profile/security/api-tokens)
- [Bitbucket Cloud API endpoint](https://api.bitbucket.org/2.0)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, configuration, guidance]

**Output Format:** [Markdown guidance with inline shell commands; CLI calls return JSON or raw text and diffs.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires ATLASSIAN_EMAIL, BITBUCKET_API_TOKEN, and BITBUCKET_WORKSPACE. Repository, PR, branch, commit, and comment listings are paginated.]

## Skill Version(s):

1.0.2 (source: ClawHub release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Bitbucket and adjacent AI workflows.