browser-scripting

Execute cross-tab JavaScript to control browser tabs and extract page data.

1|1|Updated Jan 21, 2026
One-click install
npx skills add https://github.com/Birdywen/genspark-agent --skill browser-scripting
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: browser-scripting
Source: https://github.com/Birdywen/genspark-agent/tree/main/skills/browser-scripting
Command: npx skills add https://github.com/Birdywen/genspark-agent --skill browser-scripting

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables browser-page scripting to automate tasks inside the browser using the genspark-agent Chrome extension, reducing repetitive manual work and enabling cross-tab data collection.

Core Features & Use Cases

  • Cross-tab JavaScript execution: Run code in any open tab to inspect pages, extract data, or modify content.
  • DOM and data extraction: Scrape links, titles, or page data across sites with simple tools.
  • Use Case: Imagine collecting titles from multiple open tabs and compiling them into a report.

Quick Start

Use the browser-scripting skill to list all open tabs and fetch a page title from a target tab using the built-in tools.

Frequently Asked Questions about browser-scripting

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

FAQPage Schema
How do I run JavaScript across multiple open browser tabs?

You can execute cross-tab JavaScript by using this skill within the genspark-agent Chrome extension environment. It enables you to run code in any open tab to inspect pages, extract data, or modify content without requiring external dependencies.

Can I scrape page data and extract DOM elements from open tabs?

Yes, DOM and data extraction is supported natively. You can scrape links, titles, or page data across sites by executing JavaScript in targeted browser tabs using built-in tools like eval_js.

What do I need to automate web interactions and control browser tabs?

You need the genspark-agent Chrome extension installed to control browser tabs. This skill relies on built-in tools such as list_tabs and eval_js to execute JavaScript and manipulate page content without external dependencies.

Does browser automation with this skill require external libraries?

No, browser automation here requires zero external dependencies. It operates entirely within the genspark-agent Chrome extension environment, utilizing built-in tools to execute JavaScript and extract DOM data.

How do I list all open tabs and fetch a page title for a report?

Use the skill to call list_tabs to identify open tabs, then run eval_js in the target tab to fetch the page title. This allows you to compile data from multiple tabs into a single report.

Are there limitations to cross-tab scripting in the browser?

Cross-tab scripting is limited to operations within the genspark-agent Chrome extension environment. It handles DOM manipulation and data extraction but does not support external dependencies or execution outside the browser context.