Claude Skill

bkt

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

LLM Mart · 0 points · 0 views 0 listing impressions 0 install-command copies
Download avivsinai-bitbucket-cli-.agents_skills_bkt-ef9b7b9.zip · 48 KB

Install

skills CLI npx skills add https://github.com/avivsinai/bitbucket-cli/tree/master/.agents/skills/bkt
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install avivsinai-bitbucket-cli@llmmart
Git git clone https://github.com/avivsinai/bitbucket-cli.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole avivsinai/bitbucket-cli collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

Bitbucket CLI (bkt)

Use bkt for Bitbucket Cloud and Data Center operations. Prefer structured --json, --yaml, --jq, or --template output for automation. Use --jq on its own to filter JSON when no output format flag is set.

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 when installing, authenticating, creating a context, or learning the main command patterns. For config-free CI or containers, read headless authentication.

Route to the command reference

Read only the reference for the requested command group:

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.
  • Every bkt build carries its Cloud browser-OAuth consumer, so bkt auth login --kind cloud --web needs no setup.
  • Before a merge or other consequential write, inspect the exact target, repository, and current checks. Report the resulting URL or identifier.

References

  • admin — Administrative operations for Bitbucket (DC)
  • auth — Manage Bitbucket authentication credentials
  • branch — Inspect and manage branches
  • commit — Work with commits
  • context — Manage Bitbucket CLI contexts
  • extension — Manage bkt CLI extensions
  • mcp — Model Context Protocol server for agents
  • perms — Manage Bitbucket permissions (DC)
  • pipeline — Run and inspect Bitbucket Cloud pipelines (Cloud)
  • pr — Manage pull requests
  • project — Work with Bitbucket projects (DC)
  • repo — Work with Bitbucket repositories
  • skill — Install and manage agent skills
  • status — Inspect commit and pull request statuses
  • variable — Manage pipeline variables (Cloud)
  • webhook — Manage Bitbucket webhooks
  • other — api
Files (bitbucket-cli)
  • rules
    • admin.md 5.3 KB
      Loading…
    • auth.md 8.3 KB
      Loading…
    • branch.md 12.6 KB
      Loading…
    • commit.md 2.2 KB
      Loading…
    • context.md 5 KB
      Loading…
    • extension.md 5.3 KB
      Loading…
    • guide.md 5.9 KB
      Loading…
    • headless.md 3.9 KB
      Loading…
    • mcp.md 29.1 KB
      Loading…
    • other.md 1.4 KB
      Loading…
    • perms.md 10.6 KB
      Loading…
    • pipeline.md 7.7 KB
      Loading…
    • pr.md 48.7 KB
      Loading…
    • project.md 4.2 KB
      Loading…
    • repo.md 14 KB
      Loading…
    • skill.md 17.1 KB
      Loading…
    • status.md 5.9 KB
      Loading…
    • variable.md 7.6 KB
      Loading…
    • webhook.md 6.7 KB
      Loading…
  • SKILL.md 3.9 KB
    ---
    name: bkt
    version: 0.41.1
    description: Operate Bitbucket Cloud or Data Center repositories, pull requests, branches, 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. Use `--jq`
    on its own to filter JSON when no output format flag is set.
    
    ## 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)
    - [pipelines](rules/pipeline.md) or [variables](rules/variable.md)
    - Bitbucket Cloud Issues no longer exist (Atlassian removed them in August
      2026); route issue tracking to Jira.
    - [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.
    - Every bkt build carries its Cloud browser-OAuth consumer, so
      `bkt auth login --kind cloud --web` needs no setup.
    - 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
    - [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 -->
    

Comments

Sign in to join the conversation.

No comments yet. Start the conversation.

Reviews (0)

No reviews yet.