local-browser-inspector
Skill1 starsChanged 3 months agoMITView on GitHub
Inspect a user's already-open local browser session without losing tab context. TRIGGER when: user asks to look at their Chrome, Brave, Safari, or already-open browser tab; mentions /chrome, browser relay, CDP, AppleScript, authenticated pages, Claude artifacts, or says a page is open in their browser. DO NOT TRIGGER when: static public content can be fetched with read, writing Playwright end-to-end tests (use playwright), auditing frontend quality (use frontend-slop-audit), or taking consequential account actions without explicit user instruction.
In this repository61 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- adversarial-reviewerSkill
- agent-designerSkill
- architectSkill
- autoresearchSkill
- blockscoutSkill
- ci-cd-pipeline-builderSkill
- claude-apiSkill
- codebase-onboardingSkill
- code-reviewSkill
- coingeckoSkill
- database-designerSkill
- dependency-auditorSkill
- design-uxSkill
- digestSkill
- droo-stackSkill
- env-secrets-managerSkill
- ethskillsSkill
- ffmpeg-asmSkill
- focused-fixSkill
- frontend-slop-auditSkill
- git-guardrailsSkill
- git-worktree-managerSkill
- humanizerSkill
- interface-designerSkill
- llm-cost-optimizerSkill
- mcp-server-builderSkill
- native-codeSkill
- nixSkill
- noirSkill
- observability-designerSkill
- patchbotSkill
- performance-profilerSkill
- playwrightSkill
- polymathSkill
- prd-to-planSkill
- prepperSkill
- property-testingSkill
- qaSkill
- rag-architectSkill
- raxol-paymentsSkill
- raxolSkill
- raxol-symphonySkill
- recallSkill
- refactoring-strategySkill
- regenSkill
- releaseSkill
- security-auditorSkill
- self-improving-agentSkill
- sentinelSkill
- signozSkill
- skill-creatorSkill
- solidity-auditorSkill
- tddSkill
- tech-debt-trackerSkill
- ubiquitous-languageSkill
- watchdogSkill
- web-asset-generatorSkill
- writing-voiceSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
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 20
Use this when the useful state is in the user's existing browser: authenticated tabs, locally focused pages, extension-backed sessions, or …
- Distinctive: line 33
Do not navigate, submit, delete, purchase, sign, or approve anything in the user's real browser unless the user explicitly asked for that …
- Distinctive: line 34
Do not close user-owned tabs.
- Distinctive: line 35
Do not read unrelated tabs beyond URL/title enumeration needed to find the target.
- Distinctive: line 36
Treat extension pages and wallet pages as sensitive.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Local Browser Inspector
Use this when the useful state is in the user's existing browser: authenticated tabs, locally focused pages, extension-backed sessions, or Claude artifact frames that do not resolve from a cold fetch.
Workflow
- Prefer non-invasive reads first. Fetch static URLs directly with
read. Use a managed browser only when JavaScript, authentication, or rendered state matters. - Target the exact browser and tab. Enumerate windows/tabs by browser application before copying or driving anything. Match on URL and title; do not assume the front tab is the requested page.
- Use browser relay or CDP when available. Adopt a named target tab instead of navigating the user's visible tab. If relay times out or attaches to a test browser, fall back to local browser automation.
- For Chromium-family browsers on macOS, use app scripting as a read-only fallback. Brave and Chrome expose tabs and
execute ... javascriptthrough AppleScript when enabled. - For Claude artifacts, inspect the outer shell's iframe. The visible artifact content usually lives under
*.frame.claudeusercontent.com/_f/...; read that iframe URL directly once extracted. - Only use clipboard copy as the last fallback. First focus the target tab and click page body; save and restore clipboard; never trust copied text unless the selected tab was verified immediately before copying.
Safety rules
- Do not navigate, submit, delete, purchase, sign, or approve anything in the user's real browser unless the user explicitly asked for that exact action.
- Do not close user-owned tabs. Release managed tool sessions only.
- Do not read unrelated tabs beyond URL/title enumeration needed to find the target.
- Treat extension pages and wallet pages as sensitive; collect only the minimum metadata needed to identify the target.
Common pitfalls
| Mistake | Fix |
| Copying the front tab and assuming it is the target | Enumerate tabs and select the matching URL/title first |
Reading document.body.innerText from the Claude artifact shell | Extract iframe#frame-content.src, then read that frame URL |
| Using Chrome automation when the user said Brave | Address Brave Browser explicitly; Chrome and Chrome for Testing can be separate apps |
| Retrying browser relay after repeated timeouts | Switch to CDP or app scripting; repeated relay opens add no evidence |
What You Get
- A safe decision tree for inspecting already-open local browser sessions.
- Brave and Chrome tab-targeting guidance that avoids copying the wrong page.
- A Claude artifact iframe recipe for recovering rendered artifact content when the shell URL is insufficient.
Reading guide
| Topic | File |
| Claude artifact and Brave/Chrome inspection recipes | artifact-tabs.md |
See also
playwrightfrontend-slop-audit
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.

