본문으로 건너뛰기
cccskills
무료GitHub에 공개

caveman-browse

Drive web pages through the caveman-browse MCP tools (browser_snapshot, browser_act, browser_eval, browser_recover). Use whenever interacting with a web page, dashboard, or form through caveman-browse — it teaches the snapshot→act→verify loop, query-first discipline on large pages, and when to recover exact bytes.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Driving pages with caveman-browse

Four tools. The loop is: snapshot → act on a uid → focused re-snapshot to prove the action settled → recover exact bytes only when compression hid something you need.

The loop

  1. browser_snapshot(url, query?) returns a compact accessibility tree: [uid] role "name" = "value" {state} lines plus one trailing accounting line (caveman before=… after=… ratio=… basis=inferred handle=ccr_…). uids are your action handles. They are valid for the current snapshot generation only.
  2. browser_act(action, uid, text?, option?) — click, type, select, scroll, wait. Non-wait actions return settled:false: that is CDP dispatch acknowledgement, NOT proof the app updated.
  3. Prove settlement: re-run browser_snapshot with a query focused on the expected outcome (e.g. the success toast text, the new row). Never chain a second action on top of an unproven first one.
  4. browser_recover(handle, query?) returns the byte-exact original AX payload for a snapshot handle (or BM25-narrowed sections with query). Use it when the compressed view seems to be missing something — never guess.

Token discipline

  • Large or unknown pages: pass query. browser_snapshot(url, query) keeps at most 12 best-matching nodes plus ancestors. On a 200-row dashboard that is ~98 tokens instead of ~12k. Phrase the query with the words you expect on the target control ("Save order ORD-0173", "Email Plan").
  • interactive: true keeps only uid-bearing lines plus placing ancestors — cheaper than a full snapshot, but it hides page text you may need to read. Use it when you already know the page and only need controls. It is never the default.
  • Full snapshot (no query) is for genuinely unknown task intent only.
  • After navigation, old uids are stale; a failed/uncompressed snapshot keeps the prior page's uid map and returns cave_browser_snapshot_uncompressed — do not act on uids after that error until a fresh snapshot succeeds.

Boundaries (fail closed, don't fight them)

  • Navigation allows http(s), about:blank, bounded data:text/html. file:, javascript:, and privileged Chrome schemes are denied.
  • Unknown uids/actions return cave_snake_code errors — re-snapshot instead of retrying blind.
  • Disabled controls are rejected; make the control enabled first (fill the form, dismiss the overlay).
  • Scope is same-origin, predictable controls. Cross-origin iframes appear as leaf nodes; OOPIF content, dialogs, downloads are out of scope — say so rather than looping.
  • browser_eval(expression) is the JS escape hatch for reading state the AX tree cannot express. Prefer snapshot queries first.
  • Every reported saving is inferred (offline BPE count). Never present these numbers as provider-verified.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

이 스킬의 문제 신고