Skip to content

[STG-2529] fix(openclaw-browserbase): repoint skill sync to browse-plugin#87

Draft
shrey150 wants to merge 1 commit into
mainfrom
shrey/openclaw-repoint-skill-sync
Draft

[STG-2529] fix(openclaw-browserbase): repoint skill sync to browse-plugin#87
shrey150 wants to merge 1 commit into
mainfrom
shrey/openclaw-repoint-skill-sync

Conversation

@shrey150

@shrey150 shrey150 commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Linear: STG-2529

What

@browserbasehq/openclaw-browserbase's dynamic skill sync (skills-sync.ts) pulled the browser-automation skill from browserbase/skills, which is stale — it references the deprecated @browserbasehq/browse-cli install command. This repoints it to browserbase/browse-plugin's current skills/browse/SKILL.md, the actively-maintained source for the browse CLI skill.

Both repos use the same top-level skills/ extraction convention, so this is a URL swap in TARBALL_BASE plus updated user-facing strings/docs (src/index.ts, README.md) — no change to the sync mechanism itself.

⚠️ Merge-order dependency — do NOT merge before browserbase/browse-plugin#3

browserbase/browse-plugin#3 is what adds a top-level skills/browse/ directory to browse-plugin's main (currently still the old nested plugins/browse/skills/browse/ layout, pre-flatten). Until #3 merges, this PR's new sync target has no skills/ dir at the repo root, and openclaw browserbase skills sync will fail loudly (verified below) instead of silently succeeding wrong — but it will still be a real regression for the ~180 monthly downloads of this package if merged first.

Recommended sequencing: merge browse-plugin#3, then this PR.

E2E Test Matrix

Command / flow Observed output Confidence / sufficiency
pnpm run check-types (this package) Clean, exit 0 Confirms the refactor didn't break typing.
pnpm run build Clean, exit 0 Confirms it compiles.
Real syncBrowserbaseSkills({ ref: 'main' }) against browserbase/browse-plugin main, run against the built dist/skills-sync.js Tarball extracted zero files under the skills/ prefix. Expected failure, not a bug — proves the code is correctly pointed at browse-plugin, and confirms the merge-order dependency above is real, not theoretical.
Real syncBrowserbaseSkills({ ref: 'shrey/all-marketplace-manifests' }) — the branch that becomes main once #3 merges filesWritten: ['<tmp>/browse/SKILL.md'] Proves the repoint is correct — once #3 merges, this exact code path extracts exactly the right file with zero further changes needed.
grep -rn "browserbase/skills" src/ README.md No matches Confirms no stale references were missed.

Test artifacts (/tmp/oc-sync-test-*) cleaned up after; no leftover state in the repo.

🤖 Generated with Claude Code

skills-sync.ts pulled the browser-automation skill from
browserbase/skills, which references the deprecated
@browserbasehq/browse-cli install command. browserbase/browse-plugin's
skills/browse/SKILL.md is the current, actively-maintained source (same
top-level skills/ extraction convention, so this is a URL swap, not a
mechanism change).

Verified live against both refs before writing this: main (no skills/
dir yet, browse-plugin#3 unmerged) fails with "Tarball extracted zero
files under the skills/ prefix"; the shrey/all-marketplace-manifests
branch (previewing post-merge main) succeeds and extracts exactly
browse/SKILL.md. This PR must merge after browse-plugin#3, not before.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant