mcpbeat Sign in

Opencli Browser Sitemap Agent Skill

Use when driving a website with opencli browser and sitemap context is available, requested, or needed to avoid blind navigation. Guides agents to consume site sitemap files lazily, choose adapter/browser fallback paths, resume from state signatures, and mark stale sitemap entries without trusting them over live browser state.

995 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
458
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/mxyhi/ok-skills --skill opencli-browser-sitemap

The instruction itself

7 sections, as written by the author

opencli-browser-sitemap

Use this skill when opencli browser open or opencli browser analyze reports sitemap.available: true, or when the user asks you to use a site's sitemap.

The sitemap is prior knowledge, not ground truth. It should reduce blind clicking, but it must never override the live browser state.


Consumption Loop

  • Run or reuse opencli browser <session> state to know the current page.
  • Read only the smallest relevant sitemap files:
  • SITE.md for site-level orientation.
  • One matching pages/<page-id>.md for current state.
  • One matching workflows/<task-id>.md for the user goal.
  • pitfalls.md only when blocked or warned by the workflow.
  • Prefer the workflow's Best path. If it names an adapter such as opencli twitter post, use that before raw browser actions.
  • If the adapter is unavailable or fails, use the Fallback path browser workflow.
  • After each navigation or state-changing action, refresh state and compare the workflow's state_signature.
  • If reality disagrees, trust reality, continue probing, and write a local stale note or draft patch.
  • If an action recovery includes adapter_health_update: <adapter> -> suspect|broken, update the local overlay workflow that references that adapter so future agents go straight to the fallback path.

Lookup Order

Read local overlay first, then global seed:

~/.opencli/sites/<site>/sitemap/    # local overlay
sitemaps/<site>/                    # repo seed (top-level)

Local files override global files with the same stable id.

Do not load an entire large sitemap into context. If the directory is large, list filenames first and then read only the page/workflow you need.


Trust Reality Rule

If sitemap says a button, URL, route, or API should exist but the browser does not show it:

  • Re-run state or find with semantic anchors.
  • Check whether login, locale, viewport, A/B test, or route state differs.
  • Follow the real page if a safe path is visible.
  • Mark the sitemap item stale in local overlay.

Never keep clicking because "the sitemap says it should work."


Stale / Draft Notes

When you discover drift, write a small local note under the relevant page/workflow file or a draft file in the local overlay:

Stale note:
- observed_at: YYYY-MM-DD
- current_url:
- expected:
- actual:
- next_probe:

Do not edit global seed files unless the task is explicitly a sitemap-authoring or repo PR task.

Adapter Health Write-Back

When an adapter fails and the sitemap action or workflow tells you to update adapter health:

  • Find the local workflow file under ~/.opencli/sites/<site>/sitemap/workflows/ whose Best path references the adapter command.
  • If no local workflow exists, copy the matching global workflow into the local overlay first; never edit the global seed directly during browser task execution.
  • Set adapter_health: suspect or broken as directed.
  • Add a short stale note with observed error, current URL, and timestamp.
  • Continue with the browser fallback path.

This write-back is the memory loop: the current agent falls back once, and the next agent does not waste a turn retrying a known-suspect adapter.


Output Discipline

When reporting back, include:

  • Path chosen: adapter best path or browser fallback.
  • Checkpoint reached: current URL/state signature.
  • Sitemap health: used as-is, stale marked, or missing workflow.

Keep the report task-focused. Do not summarize the whole sitemap.

Other skills for the same job

different authors, same section of the catalogue
Webapp Testing
by anthropics
vendor ×12

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

6k tokens scripts
Notebooklm
by ZhanlinCui
×6

Use this skill to query your Google NotebookLM notebooks directly from Claude Code for source-grounded, citation-backed answers from Gemini. Browser automation, library management, persistent auth. Drastically reduced hallucinations through document-only responses.

26k tokens scripts
Playwright Skill
by lackeyjb
×4

Complete browser automation with Playwright. Auto-detects dev servers, writes clean test scripts to /tmp. Test pages, fill forms, take screenshots, check responsive design, validate UX, test login flows, check links, automate any browser task. Use when user wants to test websites, automate browser interactions, validate web functionality, or perform any browser-based testing.

12k tokens scripts
Electron
by vercel-labs
vendor ×2

Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include "automate Slack app", "control VS Code", "interact with Discord app", "test this Electron app", "connect to desktop app", or any task requiring automation of a native Electron application.

2k tokens
Anchor Browser Automation
by christophacham
×2

Automate Anchor Browser tasks via Rube MCP (Composio). Always search tools first for current schemas.

756 tokens needs MCP
Browser Tool Automation
by christophacham
×2

Automate Browser Tool tasks via Rube MCP (Composio). Always search tools first for current schemas.

749 tokens needs MCP
Giil
by Dicklesworthstone
×2

Get Image [from] Internet Link - Zero-setup CLI for downloading full-resolution images from iCloud, Dropbox, Google Photos, and Google Drive share links. Four-tier capture strategy, browser automation, HEIC conversion, album support. Node.js/Playwright.

3k tokens
Browser Extension Builder
by ComeOnOliver
×2

Expert in building browser extensions that solve real problems - Chrome, Firefox, and cross-browser extensions. Covers extension architecture, manifest v3, content scripts, popup UIs, monetization strategies, and Chrome Web Store publishing. Use when: browser extension, chrome extension, firefox addon, extension, manifest v3.

4k tokens

How to use it

Copy the folder

Take mxyhi/opencli-browser-sitemap from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.