Logo di Browser Use

Browser Use

OrganizzazionePopolare
QwenLM
browser-use

Controlla il Chrome dell'utente tramite il Node REPL persistente esistente e il Qwen Browser SDK.

Add to TypingMind

Panoramica

Pubblicato daQwenLM
Repositoryqwen-code
Nome della skillbrowser-use
Stelle
28.4K
Fork
3.2K
File inclusi
1
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 1

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da QwenLM su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Browser Use in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/QwenLM/qwen-code/tree/main/packages/core/src/skills/bundled/browser-use
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/QwenLM/qwen-code.git /tmp/qwen-code
mkdir -p .claude/skills
cp -r /tmp/qwen-code/packages/core/src/skills/bundled/browser-use .claude/skills/browser-use
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Browser Use in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Browser Use non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Browser Use non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Browser Use

Browser Use is bundled with Qwen Code and uses the generic Node REPL MCP tools and the Qwen Chrome extension. Do not install a separate Qwen extension or start a separate Browser Use MCP server.

Setup

Install and enable the Qwen Code Chrome extension in the profile the user wants to use. On macOS and Linux, first use of this SDK automatically registers the shared Native Messaging host in the user's installation directory. Windows is not supported: no Native Messaging host is ever registered there, so the extension has nothing to connect back to. Calls that start a browser session fail with BROWSER_DISCONNECTED, and browsers.list() waits out the connect budget and returns an empty list: on Windows an empty list means the platform is unsupported, not that no profile exists. If the user is on Windows, tell them Browser Use needs macOS or Linux and stop. Do not retry, and do not send them to the Chrome Web Store or to chrome://extensions; neither can fix this. A browser task opts into this local setup, which can finish before the extension connects. The SDK checks the actual connection and protocol instead of reading Chrome's extension preferences.

If the extension does not connect on macOS or Linux, ask the user to open Chrome and check the extension in the intended profile. It installs from the Chrome Web Store: https://chromewebstore.google.com/detail/qwen-code/hdhmmjclhibojdddmancfgbkleahfaph

If the store reports it is not available in the user's region, they can build it from packages/chrome-extension in the Qwen Code repository (its README) and load dist/extension through chrome://extensions (Developer mode → Load unpacked). After installation or enabling it, retry the connection.

A usable Host of the same protocol is reused. A Host installed by a newer Qwen Code is never downgraded: if setup reports one, tell the user to update Qwen Code and stop. The Host files persist after Qwen exits. The user can inspect or remove them with node <skill-base>/runtime/scripts/native-host-setup.js status or uninstall; install explicitly switches the Host to this Qwen Code's copy from the next time Chrome starts it. A later Browser Use initialization can register the Host again. If required Host files cannot be read or written, report the failing action and path so the user can resolve access and retry.

Multiple Qwen sessions can use the same profile, each controlling its own tabs. A tab held by another session reports TAB_OWNERSHIP_CONFLICT. Use another tab or wait for that session to release it. The setup below binds the runtime to the default profile through browserAgent.browsers.get('chrome'). Only when the user names a specific Chrome profile, call browserAgent.browsers.list() before that line and pass the returned ID to browserAgent.browsers.get(id) instead. The runtime stays bound to the first profile it connects to; to switch profiles, call node_repl_reset and run the setup again.

If node_repl is unavailable, configure it with:

bash
qwen mcp add --scope user node-repl npx -y @qwen-code/node-repl-mcp@0.1.7

Then tell the user to restart Qwen Code and stop. Do not start a separate Browser Use MCP server. Screenshot metadata requires @qwen-code/node-repl-mcp 0.1.7 or later, so keep this exact pin.

Qwen reports the absolute Base directory for this skill when loading this file. Use that directory as <skill-base>. The bundled SDK ships with its dependencies: import it directly, without installing packages or registering module directories, replacing the example skill base below with that absolute path. If the import reports a missing file or an incomplete runtime, stop and report an incomplete Browser Use runtime instead of installing dependencies into the workspace:

js
globalThis.browserAgent ??= await (
  await import('/absolute/skill/base/runtime/index.js')
).setupBrowserRuntime();
globalThis.browser ??= await browserAgent.browsers.get('chrome');
nodeRepl.write(await browser.documentation());

Create a tab or claim an exact result returned by openTabs():

js
globalThis.tab = await browser.tabs.new();
await tab.goto('https://example.com/');
nodeRepl.write(await tab.playwright.domSnapshot());
js
const candidates = await browser.user.openTabs();
nodeRepl.write(candidates);
globalThis.tab = await browser.user.claimTab(
  candidates.find((candidate) => candidate.url === 'https://example.com/'),
);

Interaction

Observe before acting and observe again after acting. Prefer semantic Playwright locators. Use tab.dom_cua.get_visible_dom() and its node_id values when snapshot refs are clearer, and use tab.cua for visual coordinate targets.

js
await tab.playwright.getByRole('button', { name: 'Continue' }).click();
await tab.playwright.getByLabel('Email').type('user@example.com');
await tab.dom_cua.click({ node_id: 'e4' });
await tab.dom_cua.type({ text: 'hello' });

When an action should navigate, arm the Playwright watcher around it:

js
await tab.playwright.expectNavigation(
  () => tab.playwright.getByRole('link', { name: 'Next' }).click(),
  { url: '**/next.html' },
);

Render screenshots with their metadata:

js
await nodeRepl.emitImage(await tab.screenshot());

The metadata reaches the model only through @qwen-code/node-repl-mcp 0.1.6 or later; an older server accepts the call and silently drops it. If node_repl was registered before this skill existed, check its command with qwen mcp list, and when it pins an older version, re-register it with the qwen mcp add command from Setup above and ask the user to restart Qwen Code.

Use tab.dev.logs() for bounded console diagnostics. Arm tab.playwright.waitForEvent('download' | 'filechooser') before the action that triggers it. Handle JavaScript dialogs through tab.getJsDialog(). Use a focused tab.playwright.evaluate() only when locators cannot obtain the needed data.

Use browser.user.history() only when the task needs browser history, with a focused query and bounded result count.

Finish

Treat browser.tabs.finalize({ keep }) as the final browser action of the turn. Omitted agent-created tabs close; omitted claimed tabs are released without closing. keep is the complete set for this call. Keep a user-facing result as deliverable, and keep a live page under control as handoff. Repeat a handoff in each later turn that still needs it; omitting it from the next finalize call or closing the runtime closes an agent-created tab.

js
await browser.tabs.finalize({
  keep: [{ tab, status: 'deliverable' }],
});

The Node kernel preserves globalThis and top-level bindings across cells. Keep cells short, await every Browser SDK promise, and use nodeRepl.write() to return text or structured data.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Browser Use?

Controlla il Chrome dell'utente tramite il Node REPL persistente esistente e il Qwen Browser SDK.

Perché usare Browser Use su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Browser Use è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Browser Use in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/QwenLM/qwen-code/tree/main/packages/core/src/skills/bundled/browser-use. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Browser Use?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Browser Use?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Browser Use: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Browser Use è gratuita?

Sì. È pubblicata su GitHub da QwenLM con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇