Skip to content
Back to skills

Bkt

BSecurity

Operate Bitbucket Cloud or Data Center repositories, pull requests, branches, issues, pipelines, permissions, and webhooks with bkt. Use when a request names Bitbucket or bkt; confirm the platform before platform-specific commands.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 2, 2026
ai-agentsapi

Works with

  • cli
  • api
  • mcp

Security analysis

B75/100
  • criticalImpersonates system messages to override safety constraints

Pro scans all 19 files and shows the line behind each finding

Scanned September 20, 2026

npx -y skills add avivsinai/skills-marketplace --skill bkt --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Bkt?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Bkt
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/avivsinai-bkt/badge)](https://www.skillsdirectory.com/skills/avivsinai-bkt)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: bkt
version: 0.32.1
description: Operate Bitbucket Cloud or Data Center repositories, pull requests, branches, issues, pipelines, permissions, and webhooks with bkt. Use when a request names Bitbucket or bkt; confirm the platform before platform-specific commands.
metadata:
  short-description: Bitbucket CLI for repos, PRs, branches
  compatibility: claude-code, codex-cli
---

# Bitbucket CLI (`bkt`)

Use `bkt` for Bitbucket Cloud and Data Center operations. Prefer structured
`--json`, `--yaml`, `--jq`, or `--template` output for automation.

## Start with the requested operation

Run `bkt --version` only when installation or compatibility is uncertain. Run
`bkt auth status` when the command needs authentication or the active platform
and context are unknown. Do not make setup a prerequisite for an already
configured read-only request.

Cloud and Data Center have different feature sets. Determine the platform from
the active context or ask when it cannot be inferred. Do not suggest a Cloud-only
command for Data Center, or the reverse.

Read [setup and common workflows](rules/guide.md) when installing, authenticating,
creating a context, or learning the main command patterns. For config-free CI or
containers, read [headless authentication](rules/headless.md).

## Route to the command reference

Read only the reference for the requested command group:

- [pull requests](rules/pr.md), [repositories](rules/repo.md),
  [branches](rules/branch.md), [commits](rules/commit.md), or
  [statuses](rules/status.md)
- [Cloud issues](rules/issue.md), [pipelines](rules/pipeline.md), or
  [variables](rules/variable.md)
- [Data Center administration](rules/admin.md),
  [projects](rules/project.md), or [permissions](rules/perms.md)
- [authentication](rules/auth.md), [contexts](rules/context.md),
  [webhooks](rules/webhook.md), [extensions](rules/extension.md),
  [MCP](rules/mcp.md), [skills](rules/skill.md), or [raw API](rules/other.md)

## Mutation and credential boundaries

- Listing, viewing, status, and checks are read-only. Create, edit, approve,
  merge, delete, rerun, or permission changes modify Bitbucket; perform them
  only when the user requested that change.
- Never place tokens, OAuth secrets, or passwords in commands that could enter
  logs or committed files. Use the CLI's supported credential flow or environment
  variables described in the auth references.
- Official release binaries embed the Cloud browser-OAuth consumer credentials.
  Do not remove that behavior as generic hardening. Source and Nix builds may
  require `BKT_OAUTH_CLIENT_ID` and `BKT_OAUTH_CLIENT_SECRET`.
- Before a merge or other consequential write, inspect the exact target,
  repository, and current checks. Report the resulting URL or identifier.

## References

<!-- auto-generated by cmd/docgen — do not edit below this line -->

- [admin](rules/admin.md) — Administrative operations for Bitbucket *(DC)*
- [auth](rules/auth.md) — Manage Bitbucket authentication credentials
- [branch](rules/branch.md) — Inspect and manage branches
- [commit](rules/commit.md) — Work with commits
- [context](rules/context.md) — Manage Bitbucket CLI contexts
- [extension](rules/extension.md) — Manage bkt CLI extensions
- [issue](rules/issue.md) — Work with Bitbucket Cloud issues *(Cloud)*
- [mcp](rules/mcp.md) — Model Context Protocol server for agents
- [perms](rules/perms.md) — Manage Bitbucket permissions *(DC)*
- [pipeline](rules/pipeline.md) — Run and inspect Bitbucket Cloud pipelines *(Cloud)*
- [pr](rules/pr.md) — Manage pull requests
- [project](rules/project.md) — Work with Bitbucket projects *(DC)*
- [repo](rules/repo.md) — Work with Bitbucket repositories
- [skill](rules/skill.md) — Install and manage agent skills
- [status](rules/status.md) — Inspect commit and pull request statuses
- [variable](rules/variable.md) — Manage pipeline variables *(Cloud)*
- [webhook](rules/webhook.md) — Manage Bitbucket webhooks
- [other](rules/other.md) — api

<!-- end auto-generated -->

Files in this skill

  • SKILL.md5.7 KB
  • rules/admin.md5.3 KB
  • rules/auth.md7.4 KB
  • rules/branch.md12.6 KB
  • rules/commit.md2.2 KB
  • rules/context.md5 KB
  • rules/extension.md5.3 KB
  • rules/headless.md3.2 KB
  • rules/issue.md17.1 KB
  • rules/mcp.md29.1 KB
  • rules/other.md1.2 KB
  • rules/perms.md10.6 KB
  • rules/pipeline.md7.2 KB
  • rules/pr.md44.9 KB
  • rules/project.md4.2 KB
  • rules/repo.md11 KB
  • rules/status.md5.9 KB
  • rules/variable.md7.6 KB
  • rules/webhook.md6.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.