ai-research-browser-cli
Skill3 starsChanged 6 months agoMITView on GitHub
Use when running, debugging, or explaining the ai-research-browser CLI for real Browser/CDP AI-provider automation, including Brave/Comet live sessions, restart recovery, workflow-live-run, workflow-suite, Deep Research/Agent/image runs, rate-limit cooldowns, screenshots, clipboard output, and safe E2E evidence.
In this repository34 other files it gives its agents.
- tool-comparison-heatmapSkill
- ascii-artSkill
- excalidrawSkill
- p5jsSkill
- songwriting-and-ai-musicSkill
- webhook-subscriptionsSkill
- himalayaSkill
- github-authSkill
- github-code-reviewSkill
- github-issuesSkill
- github-pr-workflowSkill
- find-nearbySkill
- native-mcpSkill
- songseeSkill
- youtube-contentSkill
- ai-research-output-publisherSkill
- notionSkill
- ocr-and-documentsSkill
- arxivSkill
- blogwatcherSkill
- comparison-deep-researchSkill
- polymarketSkill
- multi-search-engineSkill
- ai-research-browserSkill
- cross-agent-skill-syncSkill
- oracle-ai-research-e2eSkill
- planSkill
- requesting-code-reviewSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- writing-plansSkill
- telegram-approval-gateSkill
- telegram-channel-posterSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 8 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Use this skill when the user wants to operate the ai_research_browser.py CLI, verify real logged-in AI-provider sessions, run E2E …
- Very specific: line 25
Prefer real live CDP sessions for true E2E.
- Very specific: line 27
Never claim a provider works until the status JSON proves login/account/plan, an automation target_id, screenshot evidence, output text, …
- Distinctive: line 28
Do not use temporary clone/sibling success as proof of a real account login.
- Very specific: line 29
Before typing or submitting, require provider inventory: signed-in state, visible account, plan, model/feature evidence, screenshot, and no …
- Distinctive: line 32
If CAPTCHA, Cloudflare, Turnstile, login challenge, provider warning, or rate-limit text appears, stop and persist cooldown.
- Very specific: line 34
Use --artifact-privacy redacted by default.
- Distinctive: line 35
After implementation or changes, run syntax, lint, unit tests, and at least one low-cost real provider smoke before saying the CLI is …
- Distinctive: line 68
Only after the preflight proves the real account, plan, feature, screenshot, and CDP target should a paid Deep Research run be planned or …
- Distinctive: line 71
Before submitting a real Deep Research prompt, measure it:
- Distinctive: line 85
Verify the real CDP owner and provider session:
- Distinctive: line 96
Run a low-cost live smoke and copy the verified output:
- Distinctive: line 132
Before reporting completion after a code or skill change:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
AI Research Browser CLI
Use this skill when the user wants to operate the ai_research_browser.py CLI, verify real logged-in AI-provider sessions, run E2E workflows, or understand which command/flag to use.
CLI path:
python3 skills/software-development/ai-research-browser/scripts/ai_research_browser.pyOperating Rules
- Prefer real live CDP sessions for true E2E. The examples use a Brave work profile on port
9223; always verify the CDP owner/profile instead of trusting a port number. - If the user only says "Starte Deep Research" / "start Deep Research" and does not name a browser or provider, default to Comet + Gemini Deep Research:
--browser comet --profile work --provider google --mode deep-research, with preferred port9333only after owner/profile verification. Preflight first, no--submituntil the actual research prompt and quota permission are explicit. - Never claim a provider works until the status JSON proves login/account/plan, an automation
target_id, screenshot evidence, output text, and no challenge/rate-limit wall. - Do not use temporary clone/sibling success as proof of a real account login. Clone/sibling runs are diagnostic or explicit fallback only.
- Before typing or submitting, require provider inventory: signed-in state, visible account, plan, model/feature evidence, screenshot, and no CAPTCHA/rate-limit/challenge.
- Paid/quota workflows such as Deep Research, Agent, image generation, research, artifacts, or Labs need
--allow-paid-quota-use. - Deep Research prompts must pass the prompt-budget guard before submit: ideal
<= 6,000chars, default automated max<= 12,000chars, review required above that, and block above24,000chars. Seedocs/DEEP_RESEARCH_PROMPT_BUDGETS.md. - If CAPTCHA, Cloudflare, Turnstile, login challenge, provider warning, or rate-limit text appears, stop and persist cooldown. Do not solve or bypass it.
- For restart recovery, generate a dry-run plan first. Execute restart only when the user explicitly allowed it or supplied the required restart flags.
- Use
--artifact-privacy redactedby default. Usefullonly when the user explicitly needs raw URLs/text and accepts the privacy tradeoff. - After implementation or changes, run syntax, lint, unit tests, and at least one low-cost real provider smoke before saying the CLI is stable.
Fast Workflow
For the ambiguous one-line prompt "Starte Deep Research", do not route to a Brave-first fallback or a broad matrix. Start with the Comet/Gemini preflight:
python3 skills/software-development/ai-research-browser/scripts/ai_research_browser.py real-session-preflight \
--browser comet \
--profile work \
--provider google \
--port 9333 \
--output /tmp/arb-preflight-comet-gemini.jsonPort 9333 is not proof of Comet. If preflight says port_collision.detected=true
or shows VS Code/Code Helper/non-CDP ownership on that port, do not block on
9333 and do not ask the user to manually reuse it. If the preflight also shows
alternate_cdp.found=true, use its attach_port directly. Otherwise produce a
recovery dry-run that lets the CLI choose a free loopback CDP port for the real
Comet profile:
python3 skills/software-development/ai-research-browser/scripts/ai_research_browser.py browser-cdp-recover \
--browser comet \
--profile work \
--provider google \
--port 9333 \
--dry-run \
--output /tmp/arb-recover-comet-gemini.jsonOnly after the preflight proves the real account, plan, feature, screenshot, and CDP target should a paid Deep Research run be planned or submitted.
Before submitting a real Deep Research prompt, measure it:
python3 skills/research/comparison-deep-research/scripts/deep_research_prompt_budget.py \
--file /tmp/deep-research-prompt.txt \
--json- Discover browsers/profiles:
python3 skills/software-development/ai-research-browser/scripts/ai_research_browser.py discover- Verify the real CDP owner and provider session:
python3 skills/software-development/ai-research-browser/scripts/ai_research_browser.py real-session-preflight \
--browser brave \
--profile work \
--provider chatgpt \
--port 9223 \
--output /tmp/arb-preflight.json- Run a low-cost live smoke and copy the verified output:
python3 skills/software-development/ai-research-browser/scripts/ai_research_browser.py workflow-live-run \
--browser brave \
--profile work \
--provider chatgpt \
--mode chat \
--cdp-port 9223 \
--prompt "Reply with exactly: CLI_SMOKE_E2E_OK" \
--submit \
--copy-output \
--response-timeout 120 \
--output /tmp/arb-live-smoke.json- Inspect the result. Treat only
verifiedor a clearly successfulcapturedresult with output as success. - For Deep Research/Agent/image runs, add:
--allow-paid-quota-use --confirm-start --max-daily-paid-runs 1Command Reference
For complete command recipes, status interpretation, recovery flows, and E2E checklists, read references/cli-reference.md.
Load the reference when:
- the user asks how to use any CLI subcommand;
- a run hits
blocked,timeout,real-session-required,signed-out-or-wall, orrate-limited; - you need examples for restart recovery, workflow suites, attachments, cache/follow-up, AI Exporter, or provider-specific modes.
Validation
Before reporting completion after a code or skill change:
python3 -m py_compile skills/software-development/ai-research-browser/scripts/ai_research_browser.py
ruff check skills/software-development/ai-research-browser/scripts/ai_research_browser.py skills/software-development/ai-research-browser/tests/test_ai_research_browser.py
python3 -m unittest skills/software-development/ai-research-browser/tests/test_ai_research_browser.pyFor real E2E, start with one low-cost workflow-live-run against a verified account. Do not launch a broad paid matrix until single-flow evidence is green.
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.

