/brightdata-pack:brightdata-upgrade-migrationfrom brightdata-pack
Analyzes, plans, and executes Bright Data SDK upgrades with breaking change detection. Guides migration between proxy types, API versions, and zone configurations.
Ships in brightdata-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Guide for migrating between Bright Data products, API versions, and zone configurations. Since Bright Data uses proxy protocols and REST APIs (not versioned SDKs), migrations typically involve changing zone types, proxy endpoints, or API payload formats.
| Migration | From | To | Effort |
|---|---|---|---|
| Zone upgrade | Web Unlocker v1 | Web Unlocker v2 | Low |
| Product switch | Residential Proxy | Web Unlocker | Medium |
| Browser migration | Puppeteer direct | Scraping Browser | Medium |
| API migration | Datasets v2 | Datasets v3 | Medium |
| Full platform | Competitor | Bright Data | High |
// BEFORE: Raw residential proxy (manual CAPTCHA handling)
const oldProxy = {
host: 'brd.superproxy.io',
port: 22225, // Old residential port
auth: {
username: `brd-customer-${CID}-zone-residential_zone`,
password: OLD_PASSWORD,
},
};
// AFTER: Web Unlocker (automatic CAPTCHA, fingerprinting)
const newProxy = {
host: 'brd.superproxy.io',
port: 33335, // Web Unlocker port
auth: {
username: `brd-customer-${CID}-zone-web_unlocker1`,
password: NEW_PASSWORD,
},
};
// Changes: port 22225 → 33335, zone name, password
// Web Unlocker handles CAPTCHAs automatically — remove manual solving code
// BEFORE: Self-hosted Puppeteer with proxy
import puppeteer from 'puppeteer';
const browser = await puppeteer.launch({
args: [`--proxy-server=http://brd.superproxy.io:22225`],
});
// AFTER: Bright Data Scraping Browser (managed browser)
import puppeteer from 'puppeteer-core';
const AUTH = `brd-customer-${CID}-zone-scraping_browser1:${PASSWORD}`;
const browser = await puppeteer.connect({
browserWSEndpoint: `wss://${AUTH}@brd.superproxy.io:9222`,
});
// Changes: launch → connect, local browser → remote WebSocket
// Remove: browser install, proxy args, CAPTCHA solving libraries
// BEFORE: Datasets API v2
const v2Response = await fetch(
`https://api.brightdata.com/dca/trigger?collector=${collectorId}`,
{ method: 'POST', headers: { 'Authorization': `Bearer ${TOKEN}` }, body: JSON.stringify(input) }
);
// AFTER: Datasets API v3 (current)
const v3Response = await fetch(
`https://api.brightdata.com/datasets/v3/trigger?dataset_id=${datasetId}&format=json`,
{ method: 'POST', headers: { 'Authorization': `Bearer ${TOKEN}`, 'Content-Type': 'application/json' }, body: JSON.stringify(input) }
);
// Changes: /dca/trigger → /datasets/v3/trigger, collector → dataset_id
// v3 adds: format parameter, webhook delivery, snapshot status polling
# Create migration branch
git checkout -b migrate/brightdata-zone-upgrade
# Update environment variables
# OLD
BRIGHTDATA_ZONE=residential1
# NEW
BRIGHTDATA_ZONE=web_unlocker1
BRIGHTDATA_ZONE_PASSWORD=new_password
# Test against staging
BRIGHTDATA_ZONE=web_unlocker1_staging npm test
# Verify scraping still works
npm run scrape -- --url https://example.com --dry-run
# Keep old zone active during migration window
# Rollback = switch BRIGHTDATA_ZONE back to old zone name
export BRIGHTDATA_ZONE=old_zone_name
export BRIGHTDATA_ZONE_PASSWORD=old_password
| Issue | Cause | Solution |
|---|---|---|
| 407 after migration | New zone password not set | Update BRIGHTDATA_ZONE_PASSWORD |
| Different response format | Zone type changed | Update response parsing |
| Higher latency | Web Unlocker overhead | Expected; CAPTCHA solving takes time |
| Missing data fields | API v3 schema change | Update TypeScript interfaces |
For CI integration during upgrades, see brightdata-ci-integration.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
18 skills in this plugin
/brightdata-ci-integrationConfigure Bright Data CI/CD integration with GitHub Actions and testing.
Use when setting up automated testing, configuring CI pipelines,
or integrating Bright Data tests into your build process.
Trigger with phrases like "brightdata CI", "brightdata GitHub Actions",
"brightdata automated tests", "CI brightdata".
/brightdata-common-errorsDiagnose and fix Bright Data common errors and exceptions.
Use when encountering Bright Data errors, debugging failed requests,
or troubleshooting integration issues.
Trigger with phrases like "brightdata error", "fix brightdata",
"brightdata not working", "debug brightdata".
/brightdata-core-workflow-aScrape structured data with Bright Data Scraping Browser using Playwright/Puppeteer.
Use when scraping JavaScript-rendered pages, SPAs, or sites requiring browser interaction.
Trigger with phrases like "brightdata scraping browser", "brightdata playwright",
"brightdata puppeteer", "scrape SPA with brightdata", "browser scraping".
/brightdata-core-workflow-bExecute Bright Data secondary workflow: Core Workflow B.
Use when implementing secondary use case,
or complementing primary workflow.
Trigger with phrases like "brightdata secondary workflow",
"secondary task with brightdata".
/brightdata-cost-tuningOptimize Bright Data costs through tier selection, sampling, and usage monitoring.
Use when analyzing Bright Data billing, reducing API costs,
or implementing usage monitoring and budget alerts.
Trigger with phrases like "brightdata cost", "brightdata billing",
"reduce brightdata costs", "brightdata pricing", "brightdata expensive", "brightdata budget".
/brightdata-debug-bundleCollect Bright Data debug evidence for support tickets and troubleshooting.
Use when encountering persistent issues, preparing support tickets,
or collecting diagnostic information for Bright Data problems.
Trigger with phrases like "brightdata debug", "brightdata support bundle",
"collect brightdata logs", "brightdata diagnostic".
npx claudepluginhub flight505/skill-forge --plugin brightdata-packOther plugins' skills for the same job