browser-automation
Local iPolloWork Electron browser automation with CDP. Use when driving a local Electron dev app, browser_list, browser_snapshot, browser_eval, composer automation, or local UI smoke tests.
pinned to #c2d3a52updated 2 weeks ago
Ask your AI client: “install skills/browser-automation”.
Requires the metahub MCP server installed in your client. Set up MCP.
mh install skills/browser-automationmetahub onboarded this repo on the author's behalf.
If you own github.com/Devin-AXIS/iPolloWork on GitHub, claim the listing to take over publishing. Your claim preserves the existing eval history and badges; only the curator label is replaced with verified-publisher on your next publish.
Stars
1,202
Last commit
2 weeks ago
Latest release
published
- #a2a-protocol
- #ai-agent-network
- #bnb-chain
- #ethereum
- #mcp-server
- #protocol
- #smart-contracts
- #token-economy
- #web3
- #x402-compatible
Evaluation report
WarningsAutomated checks the publisher passed at publish time — structure, docs, safety, and whether the artifact behaves as claimed.c2d3a52· 2 weeks ago
Kind-specific
31Skill: SKILL.md present
found at .opencode/skills/browser-automation/SKILL.md · frontmatter source: SKILL.md
Skill: body content present
358 words · 2,799 chars · 6 sections · 8 code blocks
Skill: triggers declaredwarn
No `trigger` phrases in SKILL.md frontmatter
Add `trigger:` lines so Claude knows when to activate this skill — e.g. `when building MCP servers` or `for diagram creation`.
Skill: allowed-tools scope
no allowed-tools restriction (Claude may use anything)
Release history
1- releasecurrentc2d3a52warn2 weeks ago
Contents
What I Do
- Attach OpenCode browser tools to the iPolloWork Electron app during local development.
- Drive the app UI through Electron's Chrome DevTools Protocol endpoint.
- Send a task/session from the composer and confirm the response in the UI.
Local Dev Setup
pnpm dev enables Electron CDP by default:
IPOLLOWORK_ELECTRON_REMOTE_DEBUG_PORT=${IPOLLOWORK_ELECTRON_REMOTE_DEBUG_PORT:-9823}
The default browser URL for OpenCode browser tools is:
http://127.0.0.1:9823
The app UI normally loads at:
http://localhost:5173/
To use a different CDP port, launch with an override:
IPOLLOWORK_ELECTRON_REMOTE_DEBUG_PORT=9830 pnpm dev
To disable Electron CDP for a run:
IPOLLOWORK_ELECTRON_REMOTE_DEBUG_PORT=0 pnpm dev
Background Launch
Use a detached launch when the user wants the app running in the background:
nohup pnpm dev > /var/folders/d9/xqhkvsp94rg0n0n523snqztm0000gn/T/opencode/ipollowork-dev.log 2>&1 &
Then wait for the CDP port:
lsof -nP -iTCP:9823 -sTCP:LISTEN
Browser Tool Flow
- List targets with
browser_listusingbrowser_url: "http://127.0.0.1:9823". - Select the
iPolloWorktarget ID. - Read state with
browser_evalorbrowser_snapshot. - Fill the Lexical composer by targeting
[contenteditable="true"][data-lexical-editor="true"]. - Click the
Run taskbutton. - Confirm the session response by checking
document.body.innerTextor the current URL.
Send A Session
Use this browser_eval pattern after selecting the iPolloWork target:
(() => {
const editor = document.querySelector('[contenteditable="true"][data-lexical-editor="true"]');
if (!editor) return { ok: false, reason: 'editor not found' };
editor.focus();
const data = new DataTransfer();
data.setData('text/plain', 'Say hello from the Electron browser test.');
editor.dispatchEvent(new ClipboardEvent('paste', {
bubbles: true,
cancelable: true,
clipboardData: data,
}));
const run = Array.from(document.querySelectorAll('button'))
.find((button) => button.innerText.trim() === 'Run task');
if (!run) return { ok: false, reason: 'Run task not found', inserted };
if (run.disabled) return { ok: false, reason: 'Run task disabled', inserted, text: editor.innerText };
run.click();
return { ok: true, inserted: true, text: editor.innerText };
})()
Notes
- Electron CDP is used for development test tooling. User browser tasks should use the built-in iPolloWork Browser target.
- A successful local attach should show an
iPolloWorktarget athttp://127.0.0.1:9823. - The known-good smoke prompt is
Say hello from the Electron browser test.and the expected response isHello from the Electron browser test.
Reviews
No reviews yet. Be the first.
Related
Gpt Researcher
An autonomous agent that conducts deep research on any data using any LLM providers
Verification Before Completion
Evidence before assertions, always
Writing Plans
Turn specs into phased implementation plans
mh install skills/browser-automation