Skip to content

fix(openclaw-browserbase): repoint skill sync to browse-plugin#87

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

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 — resolved

browserbase/browse-plugin#3 added the top-level skills/browse/ directory to browse-plugin's main (previously the old nested plugins/browse/skills/browse/ layout, pre-flatten). #3 merged 2026-07-16, so browse-plugin's main now has the skills/ dir this PR's sync target expects — this PR is unblocked and ready to merge on its own.

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 (built dist/skills-sync.js, run 2026-07-23 post-#3-merge) filesWritten: ['<tmp>/browse/SKILL.md'], 372-line SKILL.md with correct browse frontmatter Proves the fix works end-to-end against the current default branch — no further upstream changes needed.
grep -rn "browserbase/skills" src/ README.md No matches Confirms no stale references were missed.

Test artifacts 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>
@shrey150
shrey150 marked this pull request as ready for review July 16, 2026 17:17
@shrey150
shrey150 requested a review from a team as a code owner July 16, 2026 17:17

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit d1e9c6c. Configure here.


const TARBALL_BASE = 'https://codeload.github.com/browserbase/skills/tar.gz';
const TARBALL_BASE =
'https://codeload.github.com/browserbase/browse-plugin/tar.gz';

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale skills block auto-sync

Medium Severity

After repointing to the browse skill, hasBrowserbaseSkills still treats any directory with a SKILL.md as installed. Existing users who already synced the old skills keep those stale files, so startup auto-sync never fetches browse, and status keeps reporting skills as installed.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit d1e9c6c. Configure here.

@shrey150 shrey150 changed the title [STG-2529] fix(openclaw-browserbase): repoint skill sync to browse-plugin fix(openclaw-browserbase): repoint skill sync to browse-plugin Jul 23, 2026
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