Overview
- Skill Key
- filipmartinsson/online-shopping
- Author
- filipmartinsson
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/filipmartinsson/online-shopping
- Latest Commit SHA
- fd4c9ec2093281ef50357e877312a376467e757a
Browse and buy products from online stores, including Cloudflare-protected sites. Use when the user asks to find, compare, or order products online. Handles product search, price comparison, adding to cart, filling checkout forms, and navigating to payment. Uses a stealth browser (Patchright) to bypass bot detection.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 online-shopping 技能。 若已安装,则直接安装 online-shopping 技能。
# Online Shopping
## Overview
Search for products, compare options, and complete purchases on online stores — even those protected by Cloudflare. Uses Patchright (stealth Playwright) to avoid bot detection.
## First-Time Setup
Run the setup script to install all dependencies:
```bash
bash <skill-dir>/scripts/setup.sh
```
This installs xvfb, Patchright, and Chromium, then verifies everything works. See [references/setup.md](references/setup.md) for manual steps or troubleshooting.
## Workflow
1. **Understand the request** — product type, specs, size, brand preference, budget
2. **Browse the store** — use stealth browser script to search and extract product listings
3. **Recommend** — present options with price, availability, ratings. Give a clear recommendation.
4. **Confirm** — get explicit approval before adding to cart
5. **Checkout** — fill shipping/contact details, select delivery and payment
6. **Stop before paying** — always confirm with the user before completing a purchase
## Using the Stealth Browser
All browsing goes through Patchright scripts executed with `xvfb-run`. Do NOT use OpenClaw's built-in `browser` tool for Cloudflare-protected sites — it connects via CDP which leaks `Runtime.enable` calls that Cloudflare detects.
### Quick browse (bundled script)
```bash
xvfb-run --auto-servernum node <skill-dir>/scripts/browse.mjs "<url>" --screenshot /tmp/page.png --text
```
### Custom scripts
Write `.mjs` scripts in `/tmp/` for multi-step flows. Auto-detect Patchright path:
```javascript
import { createRequire } from 'module';
import { execSync } from 'node:child_process';
import { existsSync } from 'node:fs';
function findPatchright() {
const root = execSync('npm root -g 2>/dev/null').toString().trim();
const candidates = [
root + '/openclaw/node_modules/patchright',
process.env.HOME + '/.npm-global/lib/node_modules/openclaw/node_modules/patchright',
root + '/patchright',
];
for (const p of candidates) {
try { if (exi...
openbotx
An open-source platform for orchestrating AI agents — secure, simple, and built for everyone. Multi-agent, real-time task board, web control panel, skills system, browser automation, multi-provider, scheduler, and more. One command to start. Everything from the browser. No coding required.
sealiu1997
OpenClaw skill for 知识星球 / ZSXQ digests with token-first auth and browser recovery.
abczsl520
🌐 OpenClaw skill for Browser-Use — AI-powered browser automation for complex multi-step workflows (login, form filling, scraping, posting)
chizhongwang
Teach AI agents to discover hidden APIs, data functions & browser automation recipes for any website. Works with Claude Code, ClawHub, Cursor & any AgentSkills-compatible agent.
ashemag
OpenClaw skill to crosspost X/Twitter posts to Reddit via browser automation
canbirlik
A visual, human-like web browser for OpenClaw agents.Supports reading,screenshots, and visible mode.