Install
$ agentstack add skill-mxyhi-ok-skills-opencli-browser-sitemap ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
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 stateto know the current page. - Read only the smallest relevant sitemap files:
SITE.mdfor site-level orientation.- One matching
pages/.mdfor current state. - One matching
workflows/.mdfor the user goal. pitfalls.mdonly 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
stateand compare the workflow'sstate_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: -> 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//sitemap/ # local overlay
sitemaps// # 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
stateorfindwith 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//sitemap/workflows/whoseBest pathreferences 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: suspectorbrokenas 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.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: mxyhi
- Source: mxyhi/ok-skills
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.