code-yeongyu/oh-my-openagent / packages/shared-skills/skills/browser
browser
VerifiedDrives a real browser through the omowright library from the js eval kernel: sites the user is already signed into, forms and clicks, JS-rendered pages, screenshots, web QA, extension popups, a human handoff for login, CAPTCHA or OTP, and a browser you own for scraping, bot-scored targets, network capture and QA traces. Use for any interactive browser task; not for a plain search or an unblocked static fetch.
| File | Kind | Size |
|---|---|---|
| .gitignore | other | 303 B |
| .npmignore | other | 160 B |
| ATTRIBUTION.md | markdown | 2.1 KB |
| SKILL.md | skill md | 10.3 KB |
| references/commands.md | markdown | 8.6 KB |
| references/install.md | markdown | 5.7 KB |
| references/owned-engine/README.md | markdown | 3.2 KB |
| references/owned-engine/frames-and-humans.md | markdown | 3.1 KB |
| references/owned-engine/ladder.md | markdown | 3.8 KB |
| references/owned-engine/network.md | markdown | 2.9 KB |
| references/recipes/1password.md | markdown | 2.8 KB |
| references/remote.md | markdown | 1.1 KB |
| scripts/browser-doctor-report.mjs | script | 5.5 KB |
| scripts/browser-doctor.mjsexecutable | script | 1.9 KB |
| scripts/browser-engine-guard.mjs | script | 3.5 KB |
| scripts/browser-install.mjsexecutable | script | 3.0 KB |
| scripts/omowright.mjs | script | 2.1 KB |
scripts/browser-install.mjs
View on GitHub#!/usr/bin/env node
import { loadOmowright } from "./omowright.mjs"
const json = process.argv.includes("--json")
const waitArg = process.argv.find((arg) => arg.startsWith("--wait-ms="))
const waitTotalMs = waitArg ? Number(waitArg.slice("--wait-ms=".length)) : 0
const browserArg = process.argv.find((arg) => arg.startsWith("--browser="))
const browser = browserArg ? browserArg.slice("--browser=".length) : undefined
const { omowright } = await loadOmowright()
const steps = []
const result = await omowright.bskOnboard({
browser,
onHumanStep: (step) => steps.push(step),
waitForBrowserMs: waitTotalMs > 0 ? Math.min(15_000, waitTotalMs) : 0,
waitTotalMs,
})
const summary = {
ready: result.ready,
cli: result.cli,
installerRan: result.install !== null,
daemon: {
running: result.daemon.running,
version: result.daemon.version ?? null,
error: result.daemon.error ?? null,
},
browser: result.primary
? {
id: result.primary.id,
label: result.primary.label,
confidence: result.identification.confidence,
reason: result.identification.reason,
}
: null,
needsChoice: result.needsChoice,
candidates: result.identification.candidates.map((c) => ({ id: c.id, label: c.label, signals: c.signals })),
registeredElsewhere: result.identification.registeredElsewhere,
registrations: result.registrations.map((r) => ({
browser: r.browser,
registered: r.registered,
alreadyPresent: r.alreadyPresent ?? false,
reason: r.reason ?? null,
needsRestart: r.needsRestart ?? null,
humanStep: r.humanStep ?? null,
})),
browsersConnected: result.browsersConnected.map((b) => ({
instanceId: b.instance_id,
name: b.browser_name,
version: b.browser_version,
})),
humanStep: result.humanStep,
}
if (json) {
console.log(JSON.stringify(summary, null, 2))
} else if (result.ready) {
console.log(`attached engine ready: ${summary.browsersConnected.map((b) => `${b.name} ${b.version}`).join(", ")}`)
} else {
console.log(`cli: ${result.cli.installed ? `${result.cli.bskBin} (${result.cli.version})` : "install failed"}`)
console.log(
`daemon: ${result.daemon.running ? "running" : `not running${result.daemon.error ? ` - ${result.daemon.error}` : ""}`}`,
)
console.log(
summary.browser
? `browser: ${summary.browser.label} [${summary.browser.id}] (${summary.browser.reason})`
: `browser: not identified (${result.identification.reason})`,
)
for (const r of summary.registrations) {
console.log(
`extension for ${r.browser}: ${r.registered ? (r.alreadyPresent ? "already registered" : "registered") : `not registered (${r.reason})`}`,
)
}
if (result.needsChoice) {
console.log(
`\nNothing was registered. ${result.humanStep}\nRe-run: node "<skill-root>/scripts/browser-install.mjs" --browser=<id>`,
)
} else {
console.log(`\nTell the user exactly this, then re-run browser-doctor.mjs:\n ${result.humanStep}`)
}
}
process.exitCode = result.ready ? 0 : 2
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |