Skip to content
cccskills

Test log of open-source

For each task: the request, the rubric and the score for each item, time and tokens for every run, Claude Code’s full logs, and the files it produced. The raw data is here too, so the score can be recomputed if the weighting changes.

Run on Nov 22, 2026 (runs: claude-sonnet-5-5 / judge: claude-opus-5-5). Figures are medians. The tasks were written by AI from SKILL.md, so they may lean toward situations where the skill helps.

Raw data (JSON)Tasks, per-run measurements, judgments and the summary as stored.

Measurements per run

RunResultTimeTokensCostTurnsSkill usedLog
Task 1 Run 1 Without skillDone14s52,276$0.0564-Full log
Task 1 Run 1 With skillDone14s56,951$0.0588YesFull log
Task 1 Run 1 With skill (not named)Done14s56,893$0.0568YesFull log
Task 1 Run 2 With skillDone14s56,946$0.0318YesFull log
Task 1 Run 2 Without skillDone13s68,764$0.0345-Full log
Task 1 Run 2 With skill (not named)Done14s56,805$0.0308YesFull log
Task 2 Run 1 Without skillDone27s71,410$0.0744-Full log
Task 2 Run 1 With skillDone20s57,511$0.0676YesFull log
Task 2 Run 1 With skill (not named)Done19s57,540$0.0666YesFull log
Task 2 Run 2 With skillDone19s57,258$0.0416YesFull log
Task 2 Run 2 Without skillDone34s73,058$0.0714-Full log
Task 2 Run 2 With skill (not named)Done19s57,573$0.0446YesFull log
Task 2 Run 3 Without skillDone23s38,162$0.0524-Full log
Task 2 Run 3 With skillDone21s57,794$0.0456YesFull log
Task 2 Run 3 With skill (not named)Done19s57,538$0.0436YesFull log

“With skill (not named)” runs only measure the pick-up rate and are not judged.

Task 1: Migrate a browser-use 0.x script to 1.0

Request

We're upgrading our scraper from browser-use 0.x to browser-use 1.0.7. Please port `scraper.py` to the 1.0 API so it keeps doing the same job (local headless Chrome, a custom action that saves rows to CSV, a login with credentials, and printing the final result), and update `requirements.txt`. The package isn't installed in this environment, so you can't run it here, but the file must at least be valid Python. Briefly list what you changed and why.

Rubric

  1. requirements.txt pins browser-use to exactly 1.0.7 (using ==, not >= or an unpinned name)
  2. scraper.py no longer uses the 0.x objects Controller, BrowserSession or BrowserProfile; it uses the 1.0 equivalents (Tools with @tools.action passed as tools=, and a Browser object configured for a local headless Chromium with the shop.example.com domain restriction kept)
  3. The custom save action no longer depends on an injected browser session/page parameter, while still saving name and price to the CSV (e.g. the URL is passed in as an argument by the model or dropped with an explanation)
  4. Credentials still come from environment variables via sensitive_data (ideally scoped to https://shop.example.com) and the raw values are not written into the task string
  5. The final result is still printed and the run's outcome is reported (e.g. final_result() plus status or is_successful()); `python3 -m py_compile scraper.py` succeeds
  6. The final message lists the changes made, including any 0.x options (such as use_vision) that were removed or replaced

Score per rubric item (1 = met, 0.5 = partly, 0 = not met)

#Run 1
Without skill / With skill
Run 2
Without skill / With skill
11 / 11 / 1
20.5 / 10.5 / 1
30 / 10 / 1
41 / 11 / 1
51 / 11 / 1
60.5 / 10.5 / 1
Starting files(2)

scraper.py

import asyncio
import csv
import os

from browser_use import Agent, BrowserSession, BrowserProfile, Controller, ActionResult
from browser_use.llm import ChatOpenAI

controller = Controller()


@controller.action('Save a product row to the output CSV')
async def save_row(name: str, price: str, browser_session: BrowserSession) -> ActionResult:
    page = await browser_session.get_current_page()
    with open('products.csv', 'a', newline='') as f:
        csv.writer(f).writerow([name, price, page.url])
    return ActionResult(extracted_content=f'saved {name}')


async def main():
    profile = BrowserProfile(headless=True, user_data_dir=None, allowed_domains=['shop.example.com'])
    session = BrowserSession(browser_profile=profile)
    llm = ChatOpenAI(model='gpt-4.1')
    agent = Agent(
        task='Log in to https://shop.example.com with x_user and x_pass, open the Laptops category and save every product name and price',
        llm=llm,
        controller=controller,
        browser_session=session,
        use_vision=True,
        sensitive_data={'x_user': os.environ['SHOP_USER'], 'x_pass': os.environ['SHOP_PASS']},
    )
    history = await agent.run(max_steps=40)
    print(history.final_result())
    print('success:', history.is_successful())


if __name__ == '__main__':
    asyncio.run(main())

requirements.txt

browser-use>=0.5.0

Run 1: With skill (Rubric met 66.7% / 100%)

A's save action still uses injected browser_session and keeps use_vision; B takes url as an argument, sets chromium.

Without skill66.7%

Final message

I ported scraper.py to the 1.0 API and pinned browser-use==1.0.7 in requirements.txt. The file compiles (py_compile). I couldn't run it here because the package isn't installed. I wrote the 1.0 names from memory, so please check them against the 1.0.7 docs or a real run.

Changes in scraper.py:

  • Imports: Controller, BrowserSession and BrowserProfile are replaced by Tools and Browser. I believe these are the 1.0 names; I couldn't confirm them here. ActionResult is unchanged.
  • Custom action: Controller() / @controller.action became Tools() / @tools.action. The save_row body and the CSV output are unchanged.
  • Page URL: browser_session.get_current_page() is gone, because 1.0 no longer uses Playwright pages. save_row now calls await browser_session.get_current_page_url(). The injected parameter is still named browser_session, now typed as Browser.
  • Browser setup: the separate profile and session objects are merged into one Browser(headless=True, user_data_dir=None, allowed_domains=[...]). The settings are the same, so it still runs local headless Chrome with a temporary profile.
  • Agent arguments: controller= is now tools=, and browser_session= is now browser=.
  • Login credentials: sensitive_data is now scoped to https://shop.example.com instead of a flat dict. I did this because allowed_domains is set, and I believe 1.0 expects credentials to be tied to a domain. The task text, placeholders and env vars are unchanged.
  • Unchanged: ChatOpenAI, use_vision, agent.run(max_steps=40), and the final_result() / is_successful() printing.

requirements.txt: I changed browser-use>=0.5.0 to browser-use==1.0.7. I pinned it exactly because 1.0 has breaking API changes. Pin to a range instead if you'd rather get later 1.x releases.

Run the script once after installing to confirm the imports and the get_current_page_url() call.

Files created or changed

With skill100%

Final message

I ported scraper.py to the 1.0 API and pinned requirements.txt. The file compiles as valid Python, but I couldn't run it here because the package isn't installed.

What changed and why

  • Imports: Controller is now Tools, BrowserSession and BrowserProfile are replaced by Browser, and ChatOpenAI now comes from browser_use directly.
  • Browser: BrowserSession(BrowserProfile(...)) is now Browser('chromium', headless=True, allowed_domains=[...]). The 1.0 default is a Browser Use cloud browser, so 'chromium' keeps it local. user_data_dir=None is dropped because a temp profile is already the default for a fresh local Chromium.
  • Custom action: In 1.0, actions can no longer be given browser_session, so save_row can't read the current page URL. I replaced that with a url: str argument the model fills in, and I updated the task text to ask for the page URL. This is a small behaviour change. The action is also now a plain sync function, since it does no async work.
  • Agent arguments: controller= is now tools= and browser_session= is now browser=. I removed use_vision=True because it isn't in the 1.0 Agent signature, which I take to mean it was dropped. I didn't verify that against MIGRATING.md, so it may raise an error if it's still accepted.
  • Credentials: sensitive_data is now scoped to https://shop.example.com, so the credentials can only be typed on that site.
  • Result: final_result() and is_successful() are unchanged. I also print result.status, which is new in 1.0, so a max_steps or timeout outcome is visible.
  • requirements.txt: browser-use>=0.5.0 is now browser-use==1.0.7. The skill says to pin with == because releases move fast.

I kept gpt-4.1 and max_steps=40 as they were. The skill also asks for a feedback message after an integration runs. I didn't send one because nothing has run yet, and it would go to an external service.

Check MIGRATING.md in the repo for any removed options I missed.

Files created or changed

Run 2: With skill (Rubric met 66.7% / 100%)

B's save action still relies on an injected browser_session and keeps use_vision; A meets every criterion.

Without skill66.7%

Final message

I ported scraper.py and pinned requirements.txt to browser-use==1.0.7. The file compiles with py_compile, but I couldn't check it against 1.0.7. The package isn't installed and pip isn't available here, so I wrote the new names from memory of the 1.0 API.

What changed in scraper.py:

  • Imports: everything now comes from the top-level browser_use package. BrowserSession/BrowserProfile became Browser, Controller became Tools, and ChatOpenAI is imported from the top level too.
  • Browser setup: the separate profile and session objects are replaced by one Browser(headless=True, user_data_dir=None, allowed_domains=[...]). This keeps the local headless Chrome behaviour and the domain restriction.
  • Custom action: the decorator is now @tools.action(...). The browser_session argument is now typed Browser.
  • Current URL: the 1.0 browser no longer exposes a Playwright page, so get_current_page() and page.url became await browser_session.get_current_page_url(). The CSV row is the same.
  • Agent arguments: controller= became tools= and browser_session= became browser=.
  • Unchanged: sensitive_data for the login, use_vision, max_steps=40, and the final_result() and is_successful() printing.

requirements.txt: I pinned browser-use==1.0.7 instead of >=0.5.0, so the pin is exactly the version you're upgrading to.

Please run it once after installing, since the get_current_page_url() method and the Tools/Browser exports are the likeliest places for a mismatch. If the install pulls in a newer ChatOpenAI dependency, you may also need to check the gpt-4.1 model name.

Files created or changed

With skill100%

Final message

I ported scraper.py to the 1.0 API and pinned requirements.txt. The file compiles as valid Python. I couldn't run it against browser-use because the package isn't installed here, so the 1.0 calls are written from the skill's reference and untested.

scraper.py

  • Imports: Controller, BrowserSession and BrowserProfile are replaced by Tools and Browser.
  • Browser: BrowserSession(BrowserProfile(...)) becomes Browser('chromium', headless=True, allowed_domains=[...]). This is a fresh local Chrome with a temporary profile, which is what user_data_dir=None gave before. The default Browser() in 1.0 is a cloud browser, so I set 'chromium' explicitly.
  • Custom action: @controller.action becomes @tools.action, and controller= becomes tools=.
  • save_row signature: 1.0 actions get only the arguments the model passes, so browser_session and get_current_page() no longer work. The URL column used to come from the current page. It is now a url argument, and the task and action description tell the model to pass the product page URL. The CSV format is unchanged, but that column now depends on the model supplying it.
  • Login credentials: sensitive_data is now scoped to the site, {'https://shop.example.com': {...}}. That way the secrets can only be typed on that domain. The x_user and x_pass placeholders in the task are unchanged.
  • Removed option: I dropped use_vision=True, since it isn't in the 1.0 Agent signature in the skill reference.
  • Output: I kept the final_result() and is_successful() prints and added result.status.

requirements.txt

  • browser-use>=0.5.0 is now browser-use==1.0.7. The skill says to pin with == because releases move fast. 1.0 needs Python 3.11 or newer.

Left for you

  • Check ChatOpenAI('gpt-4.1') against your setup. In 1.0 it uses the OpenAI Responses API.
  • The skill also asks for a feedback message to Browser Use after an integration runs. I didn't send one, since nothing ran here and it would go to an external service.

Files created or changed

Task 2: Write a browser-use 1.0 script extracting invoices as structured data

Request

Write `fetch_invoices.py` using the browser-use 1.0.7 Python library (it's not installed here, so just write correct code; it must at least compile). It should: open a local headless Chromium (not a cloud browser) restricted to billing.example.com, log in using BILLING_USER / BILLING_PASS from the environment without leaking them to the model, collect the invoices listed on the Invoices page as structured data (invoice id, date, amount, status) using a Pydantic model rather than parsing free text, and give the agent a custom tool that looks up our internal cost center for a vendor from `cost_centers.json`. Save the result to `invoices.json`, and exit non-zero if the run didn't complete. Use Claude via ANTHROPIC_API_KEY as the model. Also add a pinned requirements.txt.

Rubric

  1. fetch_invoices.py exists and `python3 -m py_compile fetch_invoices.py` succeeds; requirements.txt pins browser-use to exactly 1.0.7
  2. Uses a local headless Chromium Browser (not the default cloud browser) restricted to billing.example.com via an allowed-domains option
  3. Credentials are read from BILLING_USER/BILLING_PASS and passed through the agent's sensitive_data mechanism (preferably scoped to the billing site), never embedded in the task text or printed
  4. Invoices are collected via a Pydantic output schema passed to the Agent (output_model_schema) and the structured output, not free-text parsing, is written to invoices.json
  5. A custom tool registered with browser-use's Tools reads cost_centers.json and returns the cost center for a vendor, handling unknown vendors gracefully
  6. The script uses an Anthropic chat model, checks the run's status/outcome and exits with a non-zero code when it did not complete

Score per rubric item (1 = met, 0.5 = partly, 0 = not met)

#Run 1
Without skill / With skill
Run 2
Without skill / With skill
Run 3
Without skill / With skill
11 / 11 / 11 / 1
21 / 0.50.5 / 11 / 0.5
31 / 11 / 11 / 1
41 / 11 / 11 / 1
51 / 11 / 11 / 1
61 / 0.50.5 / 11 / 0.5
Starting files(1)

cost_centers.json

{
  "Acme Hosting": "CC-1201",
  "Globex Analytics": "CC-3310",
  "Initech Support": "CC-0420"
}

Run 1: Without skill (Rubric met 100% / 83.3%)

B uses the real 1.0.x API; A relies on doubtful calls like result.status and a positional Browser arg.

Without skill100%

Final message

I wrote fetch_invoices.py and a requirements.txt pinned to browser-use==1.0.7. The script compiles, but I haven't run it. I couldn't install browser-use here (no pip, no network access), so the browser-use calls come from my memory of its recent API, not from the 1.0.7 source. Check them against the installed package before relying on it. The calls most worth checking are Tools, @tools.action, Browser(headless=, allowed_domains=), ChatAnthropic, sensitive_data, history.structured_output and browser.kill().

  • Browser: it opens a local headless Chromium with allowed_domains set to billing.example.com and its subdomains. It doesn't use a cloud browser.
  • Credentials: BILLING_USER and BILLING_PASS go in through sensitive_data, scoped to https://billing.example.com. The task text only mentions <secret>billing_user</secret> and <secret>billing_pass</secret>, so the model never sees the real values. I also set use_vision=False, because screenshots could show the typed credentials.
  • Invoice data: a Pydantic Invoice (id, date, amount, status) and InvoiceList are passed as output_model_schema, so the agent returns structured data instead of free text.
  • Custom tool: lookup_cost_center(vendor) reads cost_centers.json and matches the vendor name case-insensitively. I assumed the file is a flat {vendor: cost_center} object. If yours is shaped differently, adjust the lookup.
  • Model: ChatAnthropic(model="claude-sonnet-5-5") using ANTHROPIC_API_KEY.
  • Output and exit codes:
    • 0: the invoices were written to invoices.json.
    • 1: the agent raised an error, didn't finish, reported failure, or returned no structured output.
    • 2: one of BILLING_USER, BILLING_PASS or ANTHROPIC_API_KEY is missing.

Only browser-use is pinned in requirements.txt, so its dependencies float. Run pip freeze after installing and pin the full set if you want a stricter lock. Chromium also needs installing separately, for example with uvx browser-use install or playwright install chromium.

Files created or changed

With skill83.3%

Final message

I wrote /work/fetch_invoices.py and /work/requirements.txt. The script compiles, but I haven't run it, since browser-use isn't installed here.

How it works

  • Browser: Browser('chromium', headless=True, allowed_domains=['billing.example.com']) runs a local headless Chromium limited to that domain.
  • Credentials: BILLING_USER and BILLING_PASS go in through sensitive_data, scoped to https://billing.example.com. The task text only mentions the placeholder names billing_user and billing_pass. The script exits with code 2 if either variable or ANTHROPIC_API_KEY is missing.
  • Model: ChatAnthropic('claude-sonnet-5-5'), which reads ANTHROPIC_API_KEY.
  • Structured output: output_model_schema=InvoiceList is a Pydantic model whose invoices have invoice_id, date, amount and status. The script reads the result from result.structured_output.
  • Custom tool: lookup_cost_center(vendor) reads cost_centers.json and matches the vendor name case-insensitively. It returns a not-found message instead of raising.
  • Output and exit code: invoices.json is written only if the status is completed, is_successful() is true and the structured output is present. Otherwise the script prints the error and exits 1.

Things to check

  • Version: I pinned browser-use==1.0.7 as you asked. The skill's install example shows 1.0.8rc1, so the 1.0.7 API may differ slightly. I only used calls the skill documents.
  • Extra fields: I added optional vendor and cost_center to the invoice model. Otherwise the cost-center tool would have nowhere to put its result. They can be dropped if you want exactly the four fields.
  • cost_centers.json format: I assumed a flat {"Vendor Name": "CC-123"} mapping. The file isn't in /work, so the script will fail on lookup until you add it.
  • Feedback: The skill says to send Browser Use a feedback message after each run. I didn't send one, because nothing has actually run and that would publish to an external service.

Files created or changed

Run 2: With skill (Rubric met 83.3% / 100%)

B uses the 1.0 API with explicit local Chromium and a status check; A relies on older APIs, leaving both uncertain.

Without skill83.3%

Final message

I wrote fetch_invoices.py and a pinned requirements.txt (browser-use==1.0.7), and the script compiles. I couldn't run it or check it against the library, because the package isn't installed and pip isn't available here. I wrote the API calls from memory of browser-use 0.7 and later, so a first run may show small import or keyword differences.

  • Browser: it opens local headless Chromium, restricted to billing.example.com with allowed_domains. It never uses a cloud browser.
  • Login: BILLING_USER and BILLING_PASS go in through sensitive_data, scoped to the billing domain. The model only sees <secret>billing_user</secret> and <secret>billing_pass</secret>, and the library substitutes the real values when typing. I set use_vision=False so screenshots can't show the typed username. The cost is that the agent works from the page's text structure only.
  • Structured data: Invoice has invoice_id, date, amount and status, and InvoiceList wraps a list of them. It is passed as output_model_schema, and the result comes from history.structured_output, not parsed text.
  • Custom tool: lookup_cost_center(vendor) reads cost_centers.json (next to the script) on each call and matches vendor names case-insensitively. I assumed that file is a {"vendor": "cost center"} mapping, so adjust the lookup if yours is shaped differently.
  • Model: ChatAnthropic(model="claude-sonnet-5-5") using ANTHROPIC_API_KEY.
  • Output and exit codes: the result is written to invoices.json. The script exits 0 only if the agent finished, reported success and returned parsed data. It exits 1 if the run failed or didn't complete, and 2 if an environment variable is missing.

amount is a plain float. If you need to keep the currency or exact decimals, change it to a str or Decimal.

On a real machine, install Chromium once (for example uvx playwright install chromium, or browser-use install if your version has it).

Files created or changed

With skill100%

Final message

I wrote fetch_invoices.py and requirements.txt in /work. The script compiles, but I couldn't run it because browser-use isn't installed here.

  • Browser: Browser('chromium', headless=True, allowed_domains=['billing.example.com']) runs a local headless Chromium limited to that domain.
  • Model: ChatAnthropic('claude-sonnet-5-5'), which reads ANTHROPIC_API_KEY.
  • Credentials: BILLING_USER and BILLING_PASS are passed as sensitive_data scoped to https://billing.example.com. The task text only mentions <secret>user</secret> and <secret>password</secret>, so the model sees the names, not the values. The skill describes this as redaction, not a sandbox.
  • Structured output: a Pydantic InvoiceList of Invoice records (invoice_id, date, amount, status) is passed as output_model_schema, so the script reads result.structured_output instead of parsing text.
  • Custom tool: get_cost_center(vendor) reads cost_centers.json and does a case-insensitive lookup. The file should be a flat {vendor: cost_center} object next to the script, which I haven't created. The tool returns a "not found" message for unknown vendors.
  • Output: the invoices go to invoices.json.
  • Exit codes: 1 if the run status isn't completed, the agent reports failure, or there's no structured output. 2 if any of the three environment variables is missing.

Some choices and caveats:

  • Version: I pinned browser-use==1.0.7 as you asked, though the skill's install example uses 1.0.8rc1. I wrote against the skill's 1.0 API, so check it against 1.0.7 when you install.
  • Pins: requirements.txt pins only browser-use. I didn't guess at pydantic or other transitive versions; run pip freeze after installing if you want the full tree locked.
  • Amount type: amount is a string, to keep the currency symbol and formatting as shown on the page.
  • Step limit: max_steps=50, which you can raise if the Invoices page has many pages.
  • Browser install: you may need browser-use install if no Chrome or Chromium is available.
  • Feedback: the skill asks for a browser-use feedback message after each run. I didn't send one, since nothing was actually run and it would be an outbound message you didn't ask for.

Files created or changed

Run 3: Without skill (Rubric met 100% / 83.3%)

A uses standard is_done/is_successful; B relies on a doubtful history.status and a positional Browser arg.

Without skill100%

Final message

I wrote /work/fetch_invoices.py and /work/requirements.txt. The script compiles, but I couldn't run it. browser-use isn't installed here, so the API calls come from my memory of the library and aren't checked against 1.0.7.

  • Browser: it opens a local headless Browser, not a cloud one, with allowed_domains=["billing.example.com"].
  • Login: BILLING_USER and BILLING_PASS are passed through sensitive_data, scoped to https://billing.example.com. The task text only contains <secret>billing_user</secret> and <secret>billing_pass</secret>, so the model never sees the real values. I also set use_vision=False so screenshots can't show typed credentials.
  • Structured output: a Pydantic Invoice model (invoice_id, date, amount, status) and an InvoiceList wrapper are passed as output_model_schema. The final result is validated with model_validate_json, so there's no free-text parsing.
  • Custom tool: lookup_cost_center(vendor) is registered with @tools.action. It reads cost_centers.json and does a case-insensitive lookup. It assumes the file is a flat object mapping vendor names to cost centers.
  • Model: ChatAnthropic(model="claude-sonnet-5-5") with ANTHROPIC_API_KEY.
  • Output: the result goes to invoices.json next to the script.
  • Exit codes: it exits 1 if the agent didn't finish, reported failure, returned no result, or returned a result that doesn't match the schema. It also exits non-zero up front if any of the three env vars is missing.

requirements.txt pins browser-use==1.0.7 and pydantic==2.12.3. I couldn't confirm that pydantic version is compatible with browser-use 1.0.7. Run pip install -r requirements.txt and playwright install chromium (or uvx browser-use install) and fix the pin if pip complains.

If any import or kwarg differs in 1.0.7, check these first: Tools (older versions call it Controller), ChatAnthropic being exported from browser_use, and Browser(allowed_domains=...).

Files created or changed

With skill83.3%

Final message

I wrote /work/fetch_invoices.py and /work/requirements.txt. The script compiles, but I haven't run it because browser-use isn't installed here.

  • Browser: it uses Browser("chromium", headless=True, allowed_domains=["billing.example.com"]), so it's a local headless Chromium and not the cloud browser.

  • Login: BILLING_USER and BILLING_PASS are passed through sensitive_data, scoped to https://billing.example.com. The model only sees the placeholder names billing_user and billing_pass.

  • Model: it uses ChatAnthropic("claude-sonnet-5-5"), which reads ANTHROPIC_API_KEY.

  • Structured output: an Invoice Pydantic model (invoice_id, date, amount, status) inside an InvoiceList is passed as output_model_schema. I also added optional vendor and cost_center fields so the custom tool has something to fill. Drop them if you want only the four fields.

  • Custom tool: lookup_cost_center(vendor) reads cost_centers.json from next to the script. It expects a flat {vendor: cost_center} mapping and matches vendor names case-insensitively. I didn't see that file, so adjust the lookup if the format differs.

  • Exit codes: it exits 0 and writes invoices.json only if status == "completed", is_successful() is true and there is structured output. It exits 1 if the run didn't complete or the agent reports failure, and 2 if an environment variable is missing.

  • Version: I pinned browser-use==1.0.7 as you asked. The skill's install example shows 1.0.8rc1, so check that 1.0.7 has the same API. pydantic==2.12.5 is my own pin, chosen without checking it against browser-use's dependency constraints.

  • Feedback step: the skill asks for a browser-use feedback message after each run. I skipped it because nothing was run, and it would send content to an external service. Say so if you want me to send one anyway.

Files created or changed