agentleFS
JuliusBrusseeJuliusBrussee/caveman/browse/CLAUDE.md

caveman / browse

CLAUDE.md110k starsChanged 8 months agoApache-2.0View on GitHub

Repository routing: do not continue Browse product work here. Source of truth is JuliusBrussee/caveman-browse, local checkout /Users/julb/Desktop/GitHub/caveman-browse. This directory is a consumer copy; edit only for pinned integration, migration/removal, or an explicit cross-repo sync. Accessibility-compressor work stays here in engine/compressors/axtree.go because Engine is owned by this repo. Local, agent-facing browser interaction for the open Caveman surface. It serves stdio MCP tools that read a real Chrome accessibility tree, compress it with the engine's forced-only a11y compressor, act on uid handles,…

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Sep 27: 0 new projectsWeek of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projectsWeek of Nov 8: 0 new projectsWeek of Nov 15: 0 new projects
Sep 2026Oct 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Who's talking about JuliusBrussee/caveman

The biggest 5 of 103 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 103

Talked about on GitHub, Bluesky and Hacker News (103 times).

On GitHub · 50

45 more on GitHub

On Bluesky · 50

45 more on Bluesky

The file

Files
CLAUDE.md

browse — caveman-browse browser driver

Repository routing: do not continue Browse product work here. Source of truth is JuliusBrussee/caveman-browse, local checkout /Users/julb/Desktop/GitHub/caveman-browse. This directory is a consumer copy; edit only for pinned integration, migration/removal, or an explicit cross-repo sync. Accessibility-compressor work stays here in engine/compressors/axtree.go because Engine is owned by this repo.

Local, agent-facing browser interaction for the open Caveman surface. It serves stdio MCP tools that read a real Chrome accessibility tree, compress it with the engine's forced-only a11y compressor, act on uid handles, and recover the byte-exact original AX payload through CCR. Every saving here is inferred; Browse never emits verified.

Layout

  • session.go — MCP tool handlers, engine/CCR integration, UID target cache.
  • cdp.go — chromedp-backed Mode-A dedicated Chrome driver and bounded actionability recipe.
  • cmd/caveman-browse/ — stdio MCP binary.

Gotchas

  • This package may import CDP/network/browser dependencies. public/mcp may not.
  • go test ./public/browse/... is setup-free. make test-browse resolves an installed Playwright Chromium or system Chrome and runs the integration build-tagged CDP contract across the package and direct CLI; make test-browser adds extension tests and make test-e2e includes both.
  • The actionability layer is intentionally bounded: same-origin dashboards and predictable design-system controls, not arbitrary-open-web parity.
  • Unknown handles/actions fail closed with cave_snake_code errors.
  • Snapshot output is compact indented text, not JSON-lines. query keeps at most 12 highest-scoring task matches plus ancestors; recovery metadata exposes only UIDs actually shown. Keep tokens_after equal to exact agent-visible result cost and view_tokens equal to serializer output cost.
  • Direct CLI Chrome is detached so separate snapshot/act/eval processes can share a target. close must terminate it. Fresh CAVEMAN_HOME must work; state writes stay atomic and mode 0600.
  • CDP action acknowledgement is not application settlement. Non-wait actions return settled:false and require a focused resnapshot for proof.
  • Navigation denies file:, javascript:, and privileged Chrome schemes.
  • Benchmark contract and reproducible Playwright comparison live in BENCHMARK.md; keep token budgets executable in tests.
  • The uid map is browser_snapshot's contract, not a side effect of a compression ratio. On engine pass-through (no recovery handle — a tree that did not get smaller, or no CCR store) snapshotTool fails closed with cave_browser_snapshot_uncompressed and returns the prior page's uids intact; it MUST NEVER dump the raw AX tree into uids (strictly worse than not using Browse) nor wipe the target cache. Regressing this reopens issue #140.
  • An <iframe> is a leaf, not a broken tree. Accessibility.getFullAXTree returns one frame at a time, so an iframe node's childId points at a child document absent from this payload; the a11y compressor (engine/compressors/axtree.go) treats an unresolvable childId as a leaf and still curates the frame-visible nodes. Because of that the CDP driver keeps Chrome's default Site Isolation (site-per-process) — do not disable it to "fix" cross-origin iframes.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.