bb-browser-adapter

Author, test, and debug JavaScript adapters for bb-browser via JSON-RPC.

Updated Apr 18, 2026
One-click install
npx skills add https://github.com/yiplee/go-bb-browser --skill bb-browser-adapter
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: bb-browser-adapter
Source: https://github.com/yiplee/go-bb-browser/tree/main/skills/bb-browser-adapter
Command: npx skills add https://github.com/yiplee/go-bb-browser --skill bb-browser-adapter

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill provides a structured guide to author and maintain adapter scripts for bb-browser, enabling teams to extend go-bb-browser with custom automations.

Core Features & Use Cases

  • Guidance on creating, testing, and debugging adapter JavaScript files.
  • How to map CLI arguments into adapter args via the @meta block and robust error handling.
  • Patterns for stable integration with a site using the bb-browser JSON-RPC workflow, including handling login state across pages.

Quick Start

Run an adapter script with bb-browser run and pass the path to your JS file to execute it in the target tab.

Frequently Asked Questions about bb-browser-adapter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build JavaScript adapters for web automation using JSON-RPC?▼

To build JavaScript adapters for web automation, you author scripts that integrate with a daemon via JSON-RPC, focusing on metadata usage, argument mapping, and safe error handling to robustly reverse-engineer site APIs.

How do I map CLI arguments into adapter args for web automation scripts?▼

You map CLI arguments into adapter args using the @meta block within your JavaScript file, ensuring that inputs are correctly parsed and passed through the JSON-RPC workflow for execution.

What patterns help handle login state across pages during web automation?▼

Handling login state across pages requires using stable integration patterns within the JSON-RPC workflow, ensuring your adapter script can robustly manage session persistence and authentication states across diverse sites.

How do you test and debug JavaScript adapter scripts for web automation?▼

You test and debug JavaScript adapter scripts by executing the file in a target tab via the run command, checking JSON-serializable outputs, and applying anti-change patterns to ensure stable site API integration.

Why should adapter scripts use JSON-serializable outputs for web automation?▼

Adapter scripts must use JSON-serializable outputs to ensure safe error handling and robust communication with the daemon via JSON-RPC, preventing serialization failures across diverse site integrations.

What are anti-change patterns for reverse-engineering site APIs in JavaScript adapters?▼

Anti-change patterns are structural design techniques used when reverse-engineering site APIs to ensure your JavaScript adapter remains stable and robust against site updates and breaking changes.