skills/opencli-browser-sitemap/SKILL.md
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.
npx skillsauth add jackwener/opencli opencli-browser-sitemapInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
opencli browser <session> state to know the current page.SITE.md for site-level orientation.pages/<page-id>.md for current state.workflows/<task-id>.md for the user goal.pitfalls.md only when blocked or warned by the workflow.opencli twitter post, use that before raw browser actions.state and compare the workflow's state_signature.adapter_health_update: <adapter> -> suspect|broken, update the local overlay workflow that references that adapter so future agents go straight to the fallback path.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.
If sitemap says a button, URL, route, or API should exist but the browser does not show it:
state or find with semantic anchors.Never keep clicking because "the sitemap says it should work."
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.
When an adapter fails and the sitemap action or workflow tells you to update adapter health:
~/.opencli/sites/<site>/sitemap/workflows/ whose Best path references the adapter command.adapter_health: suspect or broken as directed.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.
When reporting back, include:
Keep the report task-focused. Do not summarize the whole sitemap.
tools
--- name: opencli-sitemap-author description: Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo. allowed-tools: Bash(opencli:*), Read, Edit, Write, Grep --- # opencli-sitemap-author You are authoring a **task execution graph for agents
tools
Use when writing an OpenCLI adapter for a new site or adding a new command to an existing site. Guides end-to-end from first recon through field decoding, adapter coding, and verify. Replaces opencli-oneshot / opencli-explorer. For ad-hoc browser driving (no adapter), see opencli-browser instead; for a top-level orientation to opencli, see opencli-usage.
tools
Use at the start of any OpenCLI session — this is the top-level map of what `opencli` can do, how to discover adapters, what flags and output formats are universal, and which specialized skill to load next. Point here when an agent asks "what can opencli do?" or "how do I find the right command?".
tools
Use when an agent needs to drive a real Chrome window via opencli — inspect a page, fill forms, click through logged-in flows, or extract data ad-hoc. Covers the selector-first target contract, compound form fields, stale-ref handling, network capture, and the agent-native envelopes the CLI returns. Not for writing adapters — see opencli-adapter-author for that.