browser-tools
Skill2.6k starsChanged 12 months agoMITView on GitHub
Interactive browser automation via Chrome DevTools Protocol. Use when you need to interact with web pages, test frontends, or when user interaction with a visible browser is required.
- Installs packages
5 other projects use a version of this, 3 of them edited.
Trending
Quiet since September.about the whole repository
Most recently taken up by
- puilp0502/skillsedited, first seen Jul 21, 2026
- VodouAI/OStheir own version, first seen Jul 19, 2026
- massielvasquez193-dot/Claude-skilledited, first seen Jun 10, 2026
- b1tank/skillstheir own version, first seen Apr 4, 2026
- brettatoms/agent-skillsedited, first seen Jan 30, 2026
Who's talking about badlogic/pi-skills
- @tom-doerr.bsky.social“https://github.com/badlogic/pi-skills”Bluesky · Mar 20, 2026 · 1 likes
- @arifsolmaz.bsky.social“A curated collection of production-ready skills that supercharge AI coding agents with real-world …”Bluesky · Feb 26, 2026 · 1 likes
- @mariozechner.at“Here you go github.com/badlogic/pi-...”Bluesky · Dec 15, 2025 · 1 likes
- sudosubin/agents.nix“agent-skills.github.badlogic.pi-skills: init at 0-unstable-2026-06-06”GitHub · Sep 25, 2026
- darellchua2/civiltekk-skills“[Feature]: installer target layer + shared ~/.agents/ target”GitHub · Sep 20, 2026
The biggest 5 of 16 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 16
Talked about on GitHub and Bluesky (16 times).
On GitHub · 12
- Sep 25, 2026agent-skills.github.badlogic.pi-skills: init at 0-unstable-2026-06-06 — sudosubin/agents.nix0 reactions
- Sep 20, 2026[Feature]: installer target layer + shared ~/.agents/ target — darellchua2/civiltekk-skills0 reactions
- Sep 20, 2026[Feature]: Cross-platform npx install support (epic) — darellchua2/civiltekk-skills0 reactions · 1 comment
- Aug 25, 2026Harness skills and context files reach Pi sessions like other hosts — jstoup111/ai-conductor0 reactions · 2 comments
- Aug 20, 2026Manual: Add Pi Skills to PI Community Skills Collection — azrtydxb/procoder0 reactions
7 more on GitHub
- Aug 17, 2026Official host distribution channels missing from source registries for 4 of 7 hosts (Claude Code marketplaces, Codex plugins, Pi skills repo, OpenCode ecosystem/docs, Copilot skills) — ar27111994/agent-harness0 reactions
- Jul 18, 2026/usr/bin/env: ‘node’: No such file or directory error — carderne/pi-sandbox0 reactions · 1 comment
- Jun 8, 2026Add pi-skills source to skill index — luongnv89/asm0 reactions
- May 11, 2026Install agent browser & skills for Claude Code to use a browser during client development — opencrvs/opencrvs-core0 reactions
- May 3, 2026[bug] pi-skills shown as "not installed" on sf-welcome splash when cloned the README way — salesforce/sf-pi0 reactions · 1 comment
- Apr 12, 2026fix(packages): make recommended skill install actually provision local skill files — gustavonline/pi-desktop0 reactions
- Mar 10, 2026Proposal: Add strict validation checks against deprecated {baseDir} placeholder in skills-ref — agentskills/agentskills0 reactions · 2 comments
On Bluesky · 4
- Mar 20, 2026https://github.com/badlogic/pi-skills — @tom-doerr.bsky.social1 likes and repost
- Feb 26, 2026A curated collection of production-ready skills that supercharge AI coding agents with real-world capabilities like web search, browser… — @arifsolmaz.bsky.social1 likes and repost · 1 reply
- Dec 15, 2025Here you go github.com/badlogic/pi-... — @mariozechner.at1 likes and repost · 1 reply
- Dec 27, 2025This is great set of tools that are token efficient and useful! github.com/badlogic/pi-... — @mahdiyusuf.com0 likes and reposts · 1 reply
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 3
- brettatoms/agent-skills★ 3100% same
- massielvasquez193-dot/Claude-skill★ 099% same
- puilp0502/skills★ 080% same
Wrote their own version · 2
- b1tank/skills★ 1same name
- VodouAI/OS★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository7 other files it gives its agents.
- brave-searchSkill
- gccliSkill
- gdcliSkill
- gmcliSkill
- transcribeSkill
- vscodeSkill
- youtube-transcriptSkill
The file
We split this skill into the rules it gives an agent
5 rules. 2 are common, 3 are distinctive, and 0 are very specific to this project.
2
Common
Most of the 5 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Run once before first use:
- Common: line 65
When you need specific selectors but the page structure is complex or ambiguous
- Common: line 87
When user needs to visually see or interact with a page
- Distinctive: line 174
If DOM updates after actions, add a small delay with bash:
- Distinctive: line 182
Always start by understanding the page structure:
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Browser Tools
Chrome DevTools Protocol tools for agent-assisted web automation. These tools connect to Chrome running on :9222 with remote debugging enabled.
Setup
Run once before first use:
cd {baseDir}/browser-tools
npm installStart Chrome
{baseDir}/browser-start.js # Fresh profile
{baseDir}/browser-start.js --profile # Copy user's profile (cookies, logins)Launch Chrome with remote debugging on :9222. Use --profile to preserve user's authentication state.
Navigate
{baseDir}/browser-nav.js https://example.com
{baseDir}/browser-nav.js https://example.com --newNavigate to URLs. Use --new flag to open in a new tab instead of reusing current tab.
Evaluate JavaScript
{baseDir}/browser-eval.js 'document.title'
{baseDir}/browser-eval.js 'document.querySelectorAll("a").length'Execute JavaScript in the active tab. Code runs in async context. Use this to extract data, inspect page state, or perform DOM operations programmatically.
Screenshot
{baseDir}/browser-screenshot.jsCapture current viewport and return temporary file path. Use this to visually inspect page state or verify UI changes.
Pick Elements
{baseDir}/browser-pick.js "Click the submit button"IMPORTANT: Use this tool when the user wants to select specific DOM elements on the page. This launches an interactive picker that lets the user click elements to select them. The user can select multiple elements (Cmd/Ctrl+Click) and press Enter when done. The tool returns CSS selectors for the selected elements.
Common use cases:
- User says "I want to click that button" → Use this tool to let them select it
- User says "extract data from these items" → Use this tool to let them select the elements
- When you need specific selectors but the page structure is complex or ambiguous
Cookies
{baseDir}/browser-cookies.jsDisplay all cookies for the current tab including domain, path, httpOnly, and secure flags. Use this to debug authentication issues or inspect session state.
Extract Page Content
{baseDir}/browser-content.js https://example.comNavigate to a URL and extract readable content as markdown. Uses Mozilla Readability for article extraction and Turndown for HTML-to-markdown conversion. Works on pages with JavaScript content (waits for page to load).
When to Use
- Testing frontend code in a real browser
- Interacting with pages that require JavaScript
- When user needs to visually see or interact with a page
- Debugging authentication or session issues
- Scraping dynamic content that requires JS execution
Efficiency Guide
DOM Inspection Over Screenshots
Don't take screenshots to see page state. Do parse the DOM directly:
// Get page structure
document.body.innerHTML.slice(0, 5000)
// Find interactive elements
Array.from(document.querySelectorAll('button, input, [role="button"]')).map(e => ({
id: e.id,
text: e.textContent.trim(),
class: e.className
}))Complex Scripts in Single Calls
Wrap everything in an IIFE to run multi-statement code:
(function() {
// Multiple operations
const data = document.querySelector('#target').textContent;
const buttons = document.querySelectorAll('button');
// Interactions
buttons[0].click();
// Return results
return JSON.stringify({ data, buttonCount: buttons.length });
})()Batch Interactions
Don't make separate calls for each click. Do batch them:
(function() {
const actions = ["btn1", "btn2", "btn3"];
actions.forEach(id => document.getElementById(id).click());
return "Done";
})()Typing/Input Sequences
(function() {
const text = "HELLO";
for (const char of text) {
document.getElementById("key-" + char).click();
}
document.getElementById("submit").click();
return "Submitted: " + text;
})()Reading App/Game State
Extract structured state in one call:
(function() {
const state = {
score: document.querySelector('.score')?.textContent,
status: document.querySelector('.status')?.className,
items: Array.from(document.querySelectorAll('.item')).map(el => ({
text: el.textContent,
active: el.classList.contains('active')
}))
};
return JSON.stringify(state, null, 2);
})()Waiting for Updates
If DOM updates after actions, add a small delay with bash:
sleep 0.5 && {baseDir}/browser-eval.js '...'Investigate Before Interacting
Always start by understanding the page structure:
(function() {
return {
title: document.title,
forms: document.forms.length,
buttons: document.querySelectorAll('button').length,
inputs: document.querySelectorAll('input').length,
mainContent: document.body.innerHTML.slice(0, 3000)
};
})()Then target specific elements based on what you find.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

