bitbucket-browser-fetch
Installation
SKILL.md
Bitbucket Browser Fetch
Use this skill when a user wants all repositories in a Bitbucket Cloud project inventoried through an authenticated browser session. This is useful when Bitbucket app passwords/API tokens are unavailable or inconvenient because the organization uses Atlassian SSO.
The script opens/reuses Chrome with a dedicated profile, lets the user complete Bitbucket login once, extracts Bitbucket cookies via Chrome DevTools, verifies project access, and fetches the repository list using Bitbucket's browser/internal API.
Safety
- Never ask the user to paste Bitbucket cookies, app passwords, or API tokens into chat.
- The skill is read-only and does not clone repositories itself.
- It writes clone URL lists and a helper script; review before executing any clone script.
- Treat repository names/URLs as potentially confidential.
Script
scripts/bitbucket-browser-fetch.js <PROJECT_URL> [options]