Agent skill

Brightdata SDK Patterns

by jeremylongshore in jeremylongshore/tons-of-skills-marketplace

Wrap the official Bright Data Python SDK and REST contracts behind a typed, testable client boundary.

MITAuto-check passedData & Analytics

Install Brightdata SDK Patterns

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill brightdata-sdk-patterns -a claude-code

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

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace brightdata-sdk-patterns --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/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/brightdata-sdk-patterns .claude/skills/brightdata-sdk-patterns && 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
brightdata-sdk-patterns
GitHub stars
2.8k
Token cost
~921 tokens
SKILL.md length
325 words
Files
2 (incl. references)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Wrap the official Bright Data Python SDK and REST contracts behind a typed, testable client boundary.

  • Works in 4 steps: Pin and inspect → Define the port → Implement adapters → …
  • Adding SDK calls
  • SKILL.md covers Overview, Prerequisites, Instructions and Tool Discipline, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Brightdata SDK Patterns is an agent skill from jeremylongshore/tons-of-skills-marketplace. Wrap the official Bright Data Python SDK and REST contracts behind a typed, testable client boundary. Use when adding SDK calls, isolating provider upgrades, or normalizing scraper and Browser API results. Trigger with: "wrap the Bright Data SDK", "design a Bright Data client", "pin Bright Data Python dependencies".

Its SKILL.md is about 920 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/official-docs.md`). Compatibility notes: Requires an approved Bright Data account or offline fixtures, current Bright Data documentation, and an authorized public-data collection purpose

It sits in Data & Analytics, covering Web scraping. It works with Bright Data and Python. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Adding SDK calls
  • Isolating provider upgrades
  • Normalizing scraper and Browser API results
  • With: wrap the Bright Data SDK

Example prompts

  • “wrap the Bright Data SDK”
  • “design a Bright Data client”
  • “pin Bright Data Python dependencies”
  • “/brightdata-sdk-patterns”

Requirements

  • Python 3
  • Compatibility (from SKILL.md): Requires an approved Bright Data account or offline fixtures, current Bright Data documentation, and an authorized public-data collection purpose
  • Pre-approved tools (allowed-tools): Read, Grep, Write, Edit, Bash(python:*)

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Pin and inspect
  2. Define the port
  3. Implement adapters
  4. Verify the seam

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Write
    • Edit
    • Bash(python:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python).

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

  • Network

    Links to these hosts (documentation or services it may open):

    • docs.brightdata.com

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

  • Credentials

    Names no API keys, tokens, secrets or passwords.

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

  • Compatibility

    Requires an approved Bright Data account or offline fixtures, current Bright Data documentation, and an authorized public-data collection purpose

    From compatibility in the SKILL.md frontmatter.

Context cost

Brightdata SDK Patterns loads about 921 tokens when it runs, and up to ~1.1k if it reads all its reference files. Until then it costs about 85 tokens; SKILL.md has 325 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~85
When it runs · the whole SKILL.md, loaded when a task matches
~921
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.1k

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 jeremylongshore/tons-of-skills-marketplace at commit 80f86df, republished under its MIT licence (© jeremylongshore). 325 words, ~921 tokens.

Download SKILL.mdSave it as .claude/skills/brightdata-sdk-patterns/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
brightdata-sdk-patterns
description
Wrap the official Bright Data Python SDK and REST contracts behind a typed, testable client boundary. Use when adding SDK calls, isolating provider upgrades, or normalizing scraper and Browser API results. Trigger with: "wrap the Bright Data SDK", "design a Bright Data client", "pin Bright Data Python dependencies".
allowed-tools
Read, Grep, Write, Edit, Bash(python:*)
compatibility
Requires an approved Bright Data account or offline fixtures, current Bright Data documentation, and an authorized public-data collection purpose
version
2.0.0
argument-hint
[client-module]
model
inherit
effort
high
license
MIT
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
saas, web-data, bright-data, sdk-patterns, operations

Bright Data Typed Client Boundary

Overview

Use the official Python SDK where it matches the workload, but keep product choice, authorization, retry policy, and domain schemas outside vendor objects. Pin the dependency and expose a small application-owned interface.

Prerequisites

  • A Python project with a lockfile and supported runtime
  • An approved Bright Data product and credential mode
  • Synthetic contract fixtures for every exposed operation

Instructions

Step 1: Pin and inspect

Read the lockfile and Grep for direct Bright Data imports. Pin the reviewed SDK release through the repository dependency workflow rather than embedding a version in this skill.

Step 2: Define the port

Write an application interface that returns normalized records and provider receipts, not raw SDK response objects.

python
from dataclasses import dataclass

@dataclass(frozen=True)
class CollectionReceipt:
    operation_id: str
    state: str
    records: int | None
    provider_code: str | None
Step 3: Implement adapters

Keep API-key, proxy-zone, and Browser API adapters separate. Map documented terminal states and current x-brd-* errors into stable application failure classes.

Step 4: Verify the seam

Use Bash(python:*) to run type checks and fixture tests. Compare the locked SDK behavior with the current official SDK docs before any upgrade.

Tool Discipline

Use Read and Grep to locate dependency and transport boundaries. Use Write and Edit for the typed port, provider adapters, and tests. Use Bash(python:*) only for local type/test commands; live SDK calls require a separate authorized workflow.

Output

  • Pinned SDK dependency and application-owned port
  • Separate credential/product adapters
  • Normalized receipts and fixture-backed failure mapping

Examples

Expose trigger_collection, get_progress, and download_snapshot through your own protocol. Keep a vendor response fixture at the boundary, map it once, and let downstream code depend only on CollectionReceipt.

Error Handling

FailureMeaningResponse
SDK object escapes the adapterProvider coupling reaches domain codeNormalize the response at the boundary
Upgrade changes a field or stateLockfile moved without contract reviewHold the upgrade and refresh fixtures from documentation
Client selects a product implicitlyPolicy and cost behavior become hiddenRequire an explicit product configuration

Resources

© jeremylongshore, 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 1 other file (references) in skills/.curated/brightdata-sdk-patterns of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • references/official-docs.md

Open the folder on GitHubat commit 80f86df

Compare with similar skills

Brightdata SDK Patterns 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.

Brightdata SDK Patterns compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Brightdata SDK Patterns this skilljeremylongshore/tons-of-skills-marketplace2.8k—~921Automated safety check: PassMIT
Brightdata SDKbrightdata/skills264—~5.2kAutomated safety check: PassMIT
Brightdata SDK JSbrightdata/skills264—~3kAutomated safety check: PassMIT
Crawl4AI Web Scrapingsmallnest/goclaw5991 repos~2.5kAutomated safety check: PassMIT
Boss Zhipin Scrapereatmoreduck/boss-zhipin-scraper1.5k—~2.6kAutomated safety check: PassMIT
Axyusukebe/ax7191 repos~918Automated safety check: PassMIT

Similar skills

  • Brightdata SDK

    brightdata/skills

    Web data extraction and discovery using the Bright Data Python SDK.

    264 GitHub stars~5.2k tokensUpdated 2 days ago
    Data & AnalyticsAuto-check passed
  • Brightdata SDK JS

    brightdata/skills

    Web data extraction and discovery using the Bright Data JavaScript/TypeScript SDK (@brightdata/sdk).

    264 GitHub stars~3k tokensUpdated 2 days ago
    Productivity & AutomationAuto-check passed
  • Crawl4AI Web Scraping

    smallnest/goclaw

    Scrapes sites, handles JavaScript-heavy pages and extracts structured data with Crawl4AI, through its crwl CLI or Python SDK, including schema-based extraction without an LLM.

    599 GitHub starsUsed in 1 repo~2.5k tokens
    Data & AnalyticsAuto-check passed
  • Boss Zhipin Scraper

    eatmoreduck/boss-zhipin-scraper

    Scrape BOSS直聘 (job listing site) via Chrome CDP. An agent skill from eatmoreduck/boss-zhipin-scraper.

    1.5k GitHub stars~2.6k tokensUpdated 10 days ago
    Data & AnalyticsAuto-check passed
  • Ax

    yusukebe/ax

    Use the ax CLI instead of curl + throwaway parsing scripts whenever you fetch a URL, explore an unknown web page, or extract structured data from HTML.

    719 GitHub starsUsed in 1 repo~918 tokens
    Data & AnalyticsAuto-check passed
  • Google Maps Scraper

    Mahanaicoach/google-maps-scraper-kit

    Scrape Google Maps business listings (name, address, phone, website, rating, reviews, lat/lng, hours, emails) via the local gosom google-maps-scraper REST API.

    1.3k GitHub stars~2.8k tokensUpdated 4 days ago
    Data & AnalyticsAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated yesterday
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated yesterday
    Auto-check passed

Questions about Brightdata SDK Patterns

What does Brightdata SDK Patterns do?

Wrap the official Bright Data Python SDK and REST contracts behind a typed, testable client boundary. Brightdata SDK Patterns is an agent skill from jeremylongshore/tons-of-skills-marketplace. Wrap the official Bright Data Python SDK and REST contracts behind a typed, testable client boundary.

When should I use Brightdata SDK Patterns?

Brightdata SDK Patterns fits situations like: adding SDK calls; isolating provider upgrades; normalizing scraper and Browser API results; with: wrap the Bright Data SDK.

How do I install Brightdata SDK Patterns in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill brightdata-sdk-patterns -a claude-code`. Or copy the skill folder (skills/.curated/brightdata-sdk-patterns in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/brightdata-sdk-patterns in your project. Claude Code loads it when a task matches its description.

How do I install Brightdata SDK Patterns in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill brightdata-sdk-patterns -a codex`. Or copy the skill folder (skills/.curated/brightdata-sdk-patterns in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/brightdata-sdk-patterns in your project. Codex loads it when a task matches its description.

Can I use Brightdata SDK Patterns 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 jeremylongshore/tons-of-skills-marketplace --skill brightdata-sdk-patterns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/brightdata-sdk-patterns, .gemini/skills/brightdata-sdk-patterns, .github/skills/brightdata-sdk-patterns and .opencode/skills/brightdata-sdk-patterns in your project.

What does Brightdata SDK Patterns need to run?

SKILL.md names no scripts, command-line tools or credentials: Brightdata SDK Patterns is instructions for the agent only. Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Grep, Write, Edit, Bash(python:*). Compatibility (from SKILL.md): Requires an approved Bright Data account or offline fixtures, current Bright Data documentation, and an authorized public-data collection purpose.

Does Brightdata SDK Patterns access the network?

SKILL.md names 1 domain. As links in the text: docs.brightdata.com. This is read from the text; nothing was executed.

Is Brightdata SDK Patterns 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 Brightdata SDK Patterns use?

Brightdata SDK Patterns is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Brightdata SDK Patterns use?

About 921 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 176 tokens, read only when the agent opens those files.

What are the alternatives to Brightdata SDK Patterns?

Skills that share tags, products or a category with Brightdata SDK Patterns: Brightdata SDK (brightdata/skills, 264 stars), Brightdata SDK JS (brightdata/skills, 264 stars), Crawl4AI Web Scraping (smallnest/goclaw, 599 stars) and Boss Zhipin Scraper (eatmoreduck/boss-zhipin-scraper, 1.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Brightdata SDK Patterns?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,825 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 9, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.