feat(skills): add checkout-browser companion skill (browse → pay with Link)#136
Draft
shubh24 wants to merge 1 commit into
Draft
feat(skills): add checkout-browser companion skill (browse → pay with Link)#136shubh24 wants to merge 1 commit into
shubh24 wants to merge 1 commit into
Conversation
Adds a Browserbase-authored skill that drives a cloud (--remote) or local
(--local/--auto-connect) browser via the `browse` CLI to a merchant's
checkout, scrapes the live order total, then hands off to
`create-payment-credential` to pay with a Link one-time card.
This is the browsing half that `create-payment-credential` already assumes
("navigate to the merchant page", "enter card details into the checkout
form") but does not itself provide. Recipe-first (Browse.sh catalog) with a
generic own-flow fallback. Ships via the existing plugin without changes
(plugins/link/skills -> skills symlink). No other files touched.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a new companion skill,
checkout-browser(skills/checkout-browser/SKILL.md), that gives an agent the ability to browse a real merchant to checkout and then pay with a Link one-time card.Today
create-payment-credentialassumes the agent can already "navigate to the merchant page" and "enter card details into the checkout form" — but it doesn't provide that browsing capability. This skill is that missing half. The two compose cleanly:create-payment-credential→ the payment flow (auth →spend-request→ retrieve credential)checkout-browser→ the browsing flow (navigate the site → scrape the live total → hand off tocreate-payment-credential→ fill the card → place the order)It's authored by Browserbase and driven by the
browseCLI. Opening as a draft for your feedback on fit, placement, and conventions.Scope of this PR
skills/checkout-browser/SKILL.md. No source, README, CLAUDE.md, or manifest changes.plugins/link/skillsis a symlink toskills/, so no registration change is needed.0.1.0) and is not wired intoscripts/sync-skill-version.js. Happy to align it to the package version / add it to the sync script if you'd prefer skills track the package.Design
browse skills find); if one exists it's a warm-start, otherwise the agent runs a generic search → product → cart → checkout flow.browse --remote(Browserbase cloud: stealth, CAPTCHA solving, proxies, recording) or--local/--auto-connect(the user's own Chrome). Guidance on when to pick each is in the skill.spend-request, never an estimate, and stops if it exceeds the user's ceiling.Validated end-to-end
This was tested live before opening, including a real purchase:
A couple of real gotchas surfaced and are documented in the skill — most notably that cross-origin card iframes (Amazon's add-a-card form, Stripe Elements) block same-document
fill, but the accessibility tree crosses frames, sobrowse snapshot+ fill-by-@refreaches the fields.Open questions for maintainers
browserbase/browse.shif you'd rather not host a third-party skill in-repo.create-payment-credential?I'll sign the CLA. 🤖 Generated with Claude Code