Agent skill

Bitbucket Data Center

by OpenHands in OpenHands/extensions

Bitbucket Data Center (self-hosted Bitbucket Server) specifics — authenticate with BITBUCKETDATACENTERTOKEN, use the REST API 1.0, PROJECT/reposlug repositories, scm/ git remotes, and the…

MITAuto-check passedBackend & APIs

Install Bitbucket Data Center

skills CLI
$ npx skills add OpenHands/extensions --skill bitbucket-data-center -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install OpenHands/extensions bitbucket-data-center --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/OpenHands/extensions.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/bitbucket-data-center .claude/skills/bitbucket-data-center && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
bitbucket-data-center
GitHub stars
157
Token cost
~993 tokens
SKILL.md length
434 words
Files
5
Skills in repo
78
Repo updated
First seen
Licence
MIT

At a glance

Bitbucket Data Center (self-hosted Bitbucket Server) specifics — authenticate with BITBUCKETDATACENTERTOKEN, use the REST API 1.0, PROJECT/reposlug repositories, scm/ git remotes, and the…

  • Tasks that involve REST APIs
  • Calls git, python3 and curl; needs BITBUCKET_DATA_CENTER_TOKEN

What it does

Bitbucket Data Center is an agent skill from OpenHands/extensions. Bitbucket Data Center (self-hosted Bitbucket Server) specifics — authenticate with BITBUCKETDATACENTERTOKEN, use the REST API 1.0, PROJECT/reposlug repositories, scm/ git remotes, and the createbitbucketdatacenterpr tool. Loaded on demand by the bitbucket skill once a Data Center environment is detected.

Its SKILL.md is about 990 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files (for example `.plugin/plugin.json` and `README.md`).

It sits in Backend & APIs, covering REST APIs. It works with Bitbucket and Git. The repository describes itself as: Public registry for OpenHands extensions. The licence is MIT.

When your agent uses it

  • Tasks that involve REST APIs

Example prompts

  • “/bitbucket-data-center”

Requirements

  • Python 3
  • A credential in BITBUCKET_DATA_CENTER_TOKEN

What it can do on your machine

Read from SKILL.md and the folder at commit d008b81. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • python3
    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git and curl, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • BITBUCKET_DATA_CENTER_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Bitbucket Data Center loads about 993 tokens when it runs. Until then it costs about 84 tokens; SKILL.md has 434 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~84
When it runs · the whole SKILL.md, loaded when a task matches
~993

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from OpenHands/extensions at commit d008b81, republished under its MIT licence (© OpenHands). 434 words, ~993 tokens.

Download SKILL.mdSave it as .claude/skills/bitbucket-data-center/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
bitbucket-data-center
description
Bitbucket Data Center (self-hosted Bitbucket Server) specifics — authenticate with BITBUCKET_DATA_CENTER_TOKEN, use the REST API 1.0, PROJECT/repo_slug repositories, scm/ git remotes, and the create_bitbucket_data_center_pr tool. Loaded on demand by the bitbucket skill once a Data Center environment is detected.

Use authenticated Bitbucket Data Center MCP tools first when they are available in the agent's environment. Detect this by tool availability, without depending on a particular MCP server name. Use the token and direct REST API instructions below only when those tools are unavailable or when raw API or curl access is explicitly needed.

You are working with Bitbucket Data Center (self-hosted Bitbucket Server). You have access to an environment variable, BITBUCKET_DATA_CENTER_TOKEN, which contains a basic auth token in the format username:your-token that allows you to interact with the git repository and the REST API.

Environment variable names are case-sensitive. If BITBUCKET_DATA_CENTER_TOKEN is not present, use whichever case variant actually exists (for example bitbucket_data_center_token). Run env | grep -i 'bitbucket_data_center' to find it.

  • REST API base URL: https://{domain}/rest/api/1.0
  • Repository identifier format: PROJECT/repo_slug (project key, slash, repo slug)

You can use this token to interact with the Bitbucket Data Center REST API:

bash
curl -u "${BITBUCKET_DATA_CENTER_TOKEN}" https://{domain}/rest/api/1.0/...
<IMPORTANT>
ALWAYS use the Bitbucket Data Center API for operations instead of a web browser.
ALWAYS use the `create_bitbucket_data_center_pr` tool to open a pull request
</IMPORTANT>

If you encounter authentication issues when pushing to Bitbucket Data Center (such as password prompts or permission errors), the old token may have expired. In such case, update the remote URL to include the current token: git remote set-url origin https://${BITBUCKET_DATA_CENTER_TOKEN}@{domain}/scm/{project_lower}/{repo}.git

The token is a username:token pair, so if the username or token contains characters that are reserved in URLs (such as @), split on the first : and URL-encode each part before embedding it in a remote:

bash
BB_USER="${BITBUCKET_DATA_CENTER_TOKEN%%:*}" && \
BB_PASS="${BITBUCKET_DATA_CENTER_TOKEN#*:}" && \
ENCODED_USER=$(python3 -c 'import sys, urllib.parse; print(urllib.parse.quote(sys.argv[1], safe=""))' "$BB_USER") && \
ENCODED_PASS=$(python3 -c 'import sys, urllib.parse; print(urllib.parse.quote(sys.argv[1], safe=""))' "$BB_PASS") && \
git remote set-url origin "https://${ENCODED_USER}:${ENCODED_PASS}@{domain}/scm/{project_lower}/{repo}.git"

Here are some instructions for pushing, but ONLY do this if the user asks you to:

Show full SKILL.md (166 more words)Show less
  • NEVER push directly to the main or master branch
  • Git config (username and email) is pre-set. Do not modify.
  • You may already be on a branch starting with openhands-workspace. Create a new branch with a better name before pushing.
  • Use the create_bitbucket_data_center_pr tool to create a pull request, if you haven't already
  • Once you've created your own branch or a pull request, continue to update it. Do NOT create a new one unless you are explicitly asked to. Update the PR title and description as necessary, but don't change the branch name.
  • Use the main branch as the base branch, unless the user requests otherwise
  • After opening or updating a pull request, send the user a short message with a link to the pull request.
  • Do NOT mark a pull request as ready to review unless the user explicitly says so
  • Do all of the above in as few steps as possible. E.g. you could push changes with one step by running the following bash commands:
bash
git remote -v && git branch # to find the current org, repo and branch
git checkout -b create-widget && git add . && git commit -m "Create widget" && git push -u origin create-widget

© OpenHands, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files in skills/bitbucket-data-center of OpenHands/extensions.

  • SKILL.md
  • .claude-plugin
  • .codex-plugin
  • .plugin/plugin.json
  • README.md

Open the folder on GitHubat commit d008b81

Compare with similar skills

Bitbucket Data Center next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Bitbucket Data Center compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Bitbucket Data Center this skillOpenHands/extensions157—~993Automated safety check: PassMIT
Datajunction APIDataJunction/dj161—~1.8kAutomated safety check: PassMIT
Accessing GitHub Reposoaustegard/claude-skills150—~2.2kAutomated safety check: NotesMIT
Bktavivsinai/bitbucket-cli2311 repos~1kAutomated safety check: PassMIT
GitHub IssuesRedWoodOG/Hermes-Desktop1775 repos~2.3kAutomated safety check: NotesMIT
Qodo PR Resolversbusso/claudeclaw194—~4kAutomated safety check: PassMIT

Similar skills

  • Datajunction API

    DataJunction/dj

    Activate this skill when authoring DataJunction (DJ) nodes via the REST API directly (curl, HTTP clients) — typically for exploration, ad-hoc prototyping, or namespaces that aren't repo-backed.

    161 GitHub stars~1.8k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Accessing GitHub Repos

    oaustegard/claude-skills

    GitHub repository access in containerized environments using REST API and credential detection.

    150 GitHub stars~2.2k tokensUpdated 5 days ago
    Backend & APIsAuto-check: notes
  • Bkt

    avivsinai/bitbucket-cli

    Operate Bitbucket Cloud or Data Center repositories, pull requests, branches, issues, pipelines, permissions, and webhooks with bkt.

    231 GitHub starsUsed in 1 repo~1k tokens
    DevelopmentAuto-check passed
  • GitHub Issues

    RedWoodOG/Hermes-Desktop

    Create, manage, triage, and close GitHub issues. An agent skill from RedWoodOG/Hermes-Desktop.

    177 GitHub starsUsed in 5 repos~2.3k tokens
    DevelopmentAuto-check: notes
  • Qodo PR Resolver

    sbusso/claudeclaw

    Review and resolve PR issues with Qodo - get AI-powered code review issues and fix them interactively (GitHub, GitLab, Bitbucket, Azure DevOps)

    194 GitHub stars~4k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • degit Project Scaffolding

    Rich-Harris/degit

    Downloads a repository snapshot or template with degit into an empty folder, from GitHub, GitLab, Bitbucket, Sourcehut or a Gist, optionally at a branch, tag or commit.

    7.9k GitHub stars~534 tokensUpdated 24 days ago
    DevelopmentAuto-check passed

More from OpenHands/extensions

All 78 skills in this repo
  • Agent Readiness Report

    OpenHands/extensions

    Evaluate how well a codebase supports autonomous AI-assisted development.

    157 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Discord

    OpenHands/extensions

    Build and automate Discord integrations (bots, webhooks, slash commands, and REST API workflows).

    157 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • GitHub

    OpenHands/extensions

    Interact with GitHub repositories, pull requests, issues, and workflows using the GITHUBTOKEN environment variable and GitHub CLI.

    157 GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • GitHub Issue To PR

    OpenHands/extensions

    Create an automation that implements GitHub issues when a configurable trigger label is applied.

    157 GitHub stars~4.4k tokensUpdated today
    Auto-check passed
  • GitHub Repo Monitor

    OpenHands/extensions

    This skill should be used when the user asks to "monitor a GitHub repository", "watch GitHub for issues or PRs", "respond to @OpenHands mentions on GitHub", "set up an OpenHands GitHub integration"…

    157 GitHub stars~3.1k tokensUpdated today
    Auto-check passed
  • GitLab Issue To Mr

    OpenHands/extensions

    Create an automation that implements GitLab issues when a configurable trigger label is applied.

    157 GitHub stars~4.9k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Bitbucket Data Center

What does Bitbucket Data Center do?

Bitbucket Data Center (self-hosted Bitbucket Server) specifics — authenticate with BITBUCKETDATACENTERTOKEN, use the REST API 1.0, PROJECT/reposlug repositories, scm/ git remotes, and the…. Bitbucket Data Center is an agent skill from OpenHands/extensions.0, PROJECT/reposlug repositories, scm/ git remotes, and the createbitbucketdatacenterpr tool.

When should I use Bitbucket Data Center?

Bitbucket Data Center fits situations like: tasks that involve REST APIs.

How do I install Bitbucket Data Center in Claude Code?

Run `npx skills add OpenHands/extensions --skill bitbucket-data-center -a claude-code`. Or copy the skill folder (skills/bitbucket-data-center in OpenHands/extensions) into .claude/skills/bitbucket-data-center in your project. Claude Code loads it when a task matches its description.

How do I install Bitbucket Data Center in Codex?

Run `npx skills add OpenHands/extensions --skill bitbucket-data-center -a codex`. Or copy the skill folder (skills/bitbucket-data-center in OpenHands/extensions) into .agents/skills/bitbucket-data-center in your project. Codex loads it when a task matches its description.

Can I use Bitbucket Data Center in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add OpenHands/extensions --skill bitbucket-data-center -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/bitbucket-data-center, .gemini/skills/bitbucket-data-center, .github/skills/bitbucket-data-center and .opencode/skills/bitbucket-data-center in your project.

What does Bitbucket Data Center need to run?

Going by SKILL.md and its folder, Bitbucket Data Center needs the command-line tools its instructions call (git, python3 and curl) and credentials named BITBUCKET_DATA_CENTER_TOKEN. Our summary lists: Python 3; A credential in BITBUCKET_DATA_CENTER_TOKEN.

Does Bitbucket Data Center access the network?

SKILL.md contains no URLs. Its commands use git and curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Bitbucket Data Center safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Bitbucket Data Center use?

Bitbucket Data Center is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Bitbucket Data Center use?

About 993 tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Bitbucket Data Center?

Skills that share tags, products or a category with Bitbucket Data Center: Datajunction API (DataJunction/dj, 161 stars), Accessing GitHub Repos (oaustegard/claude-skills, 150 stars), Bkt (avivsinai/bitbucket-cli, 231 stars) and GitHub Issues (RedWoodOG/Hermes-Desktop, 177 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Bitbucket Data Center?

OpenHands (a GitHub organization) maintains it in OpenHands/extensions, which has 157 GitHub stars. The repository holds 78 skills in this directory. The repository was last updated on October 6, 2026.

Source: OpenHands/extensions on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.