You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Token-cost and agentic-quality measurements live in `benchmarks/`. See `benchmarks/CLAUDE.md` for file roles and how to run them.
21
+
18
22
## Specs directory
19
23
20
24
Planned and in-progress fixes are documented as Markdown specs in `specs/`.
@@ -24,6 +28,34 @@ Always check there before starting implementation work.
24
28
|---|---|
25
29
|[`specs/fix-parallel-streaming-routing.md`](specs/fix-parallel-streaming-routing.md)| Planned — parallel chunk routing for concurrent Opera AI calls |
26
30
31
+
## Common issues
32
+
33
+
### Stale bridge process after update (`BRIDGE_NOT_READY` / "different server")
`--full` variants (no char limit) are also measured; see the [detailed README](page-token-benchmark/README.md) and [results report](page-token-benchmark/results/report.md).
347
+
348
+
---
349
+
350
+
### Agentic Use
351
+
352
+
An LLM agent completes 7 browser tasks (adapted from the [axi bench-browser benchmark](https://github.com/kunchenguid/axi/tree/main/bench-browser)) across 4 conditions. Each run is graded pass/fail by an LLM judge. Captures input tokens, snapshot size, wall time, and tool call count.
353
+
The agent was selecting each tool with or without `--full` flag, depending on the context.
Copy file name to clipboardExpand all lines: SKILL.md
+28-2Lines changed: 28 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: Browser automation and web interaction using the opera-browser-cli
5
5
6
6
# Skill: opera-browser-cli Browser Automation
7
7
8
-
`opera-browser-cli` controls a Opera browser browser session.
8
+
`opera-browser-cli` controls an Opera browser session.
9
9
10
10
-**Standard commands** (`open`, `click`, `fill`, `screenshot`, etc.) — work with any Opera browser session.
11
11
-**`chat`** — available on any Opera browser.
@@ -17,4 +17,30 @@ Run `opera-browser-cli --help` for the full command list, or `opera-browser-cli
17
17
opera-browser-cli open https://example.com # start here — navigate and snapshot the page
18
18
```
19
19
20
-
If a user hits `Opera: user is not signed in` on an AI command, suggest they sign in to their Opera account. `invoke-do`, `make`, and `research` require Opera Neon with an active sign-in. Run `opera-browser-cli setup` or `opera-browser-cli doctor` to configure or diagnose.
20
+
## Snapshot format
21
+
22
+
By default snapshots are **compact**: role names are shortened, refs use `@PAGE.ELEM` form (e.g. `@2.4`), headings become markdown, and redundant ARIA attributes are stripped. Pass `--raw` to any snapshot-returning command to get the unprocessed MCP output instead.
23
+
24
+
Repeated or very long URLs in compact output are replaced with `$uN` tokens. A `urls:` trailer at the end of the snapshot lists what each token resolves to.
25
+
26
+
```
27
+
@2.4 link "Download" url=$u1
28
+
...
29
+
urls:
30
+
$u1 /downloads/installer-v3.2.1-x86_64.tar.gz
31
+
```
32
+
33
+
Use `opera-browser-cli url $uN` or `opera-browser-cli url @ref` to resolve a token or element ref to its full URL without taking a new snapshot.
|`--full`| Show complete snapshot without truncation |
40
+
|`--raw`| Unprocessed MCP output (disables compact format and URL LUT) |
41
+
42
+
Commands that accept these flags: `open`, `snapshot`, `click`, `fill`, `type`, `press`, `scroll`, `back`, `hover`, `drag`, `fillform`, `upload`, `newpage`, `selectpage`.
43
+
44
+
## Sign-in errors
45
+
46
+
If you hit `Opera: user is not signed in` on an AI command, suggest signing in to their Opera account. Run `opera-browser-cli setup` or `opera-browser-cli doctor` to configure or diagnose.
0 commit comments