← 返回 Skills 市场
salamankakit

Gumtree UK — bb-browser

作者 SalamankaKit · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
31
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install gumtree-search-uk
功能描述
Search [Gumtree UK](https://www.gumtree.com/) from the terminal with bb-browser: property and flats to buy or rent, general second-hand deals, pets, used car...
使用说明 (SKILL.md)

Gumtree UK + bb-browser

Use this skill when you need UK local classifieds as data an agent can reason over: homes for sale, rentals and flatshares, second-hand goods, pets, used cars, and other Gumtree categories—without manual copy-paste from the site.

What this helps with

  • Property (buy): search sale listings; open a listing for full text, price, location, and all photos.
  • Renting / flatshare: same flow for rental and shared-accommodation style listings on Gumtree.
  • Second-hand & general trade: furniture, phones, bikes, and other “for sale” items—compare results using titles, prices, snippets, and thumbnails.
  • Pets: find or inspect pet listings (always follow platform rules and local animal-welfare laws).
  • Used cars & motors: browse motors listings; pull detail pages for specs in the description and image sets.

All of the above use the same two commands: gumtree/search then gumtree/listing for any result URL.

Prerequisites

  • bb-browser installed globally (npm i -g bb-browser).
  • Adapter files: bb-sites/gumtree/search.js and bb-sites/gumtree/listing.js.

Install adapters (private site overrides the community bundle):

mkdir -p ~/.bb-browser/sites/gumtree
cp bb-sites/gumtree/search.js ~/.bb-browser/sites/gumtree/search.js
cp bb-sites/gumtree/listing.js ~/.bb-browser/sites/gumtree/listing.js

After you change adapter files, copy again or use symlinks.


1) Search: gumtree/search

Each hit includes:

  • firstImageUrl — absolute URL for the lead image (same role as image when present)
  • firstImageMarkdown — ready-to-paste Markdown image line for chat UIs that render Markdown
  • url, title, price, location, snippet
bb-browser site gumtree/search "2 bed flat Manchester" --json
bb-browser site gumtree/search "VW Golf" --json
bb-browser site gumtree/search "sofa" --json

Comparing multiple results in chat: paste firstImageMarkdown per row (or ![title](firstImageUrl)). If remote images are blocked, fall back to showing firstImageUrl as a link.

Positional arguments (order follows bb-browser field order):

  1. query (required)
  2. location — default United Kingdom
  3. page — default 1
  4. category — Gumtree search_category, default all (e.g. cars-vans-motorbikes; for property, pets, or other verticals use the slug from Gumtree’s category URLs / filters)
bb-browser site gumtree/search sofa Manchester --json
bb-browser site info gumtree/search

Note: unknown --flags are dropped by bb-browser’s global parser—use positionals, not --page 2.


2) Listing detail: gumtree/listing

Fetches the listing page: full description (JSON-LD Product when available, else og:description), plus all image URLs and a lead image.

bb-browser site gumtree/listing "https://www.gumtree.com/p/..."
# Path-only input is OK (domain is filled in):
bb-browser site gumtree/listing /p/coffee-table/some-slug/1512630746

Typical JSON fields:

  • description — body text
  • title, price, location
  • firstImageUrl, imageUrls, firstImageMarkdown
  • Removed listings return error and hint
bb-browser site info gumtree/listing

When Gumtree HTML / JSON-LD changes

  • Search: update selectors in bb-sites/gumtree/search.js (e.g. article[data-q="search-result"]).
  • Listing: keep JSON-LD Product parsing first; fall back to og:description / og:image.

Logged-in-only flows

Contacting sellers or posting ads still requires bb-browser open and normal browser interaction.

Contributing upstream

Follow the bb-sites pattern: one JS file per command with /* @meta */.

Compliance

Respect Gumtree terms, robots.txt, and polite request rates.

安全使用建议
Before installing, make sure you are comfortable installing the bb-browser CLI globally and copying these adapters into ~/.bb-browser. Use it for public Gumtree searches/listings only, and avoid passing unrelated URLs to the listing command.
功能分析
Type: OpenClaw Skill Name: gumtree-search-uk Version: 1.0.0 The skill bundle provides legitimate adapters for searching and viewing Gumtree UK listings using the bb-browser tool. The JavaScript files (search.js and listing.js) implement standard web scraping logic to extract public product data from Gumtree's HTML and JSON-LD metadata, with no evidence of data exfiltration, malicious execution, or prompt injection.
能力评估
Purpose & Capability
The described purpose matches the code: it searches Gumtree public HTML and fetches listing details, returning structured fields and image URLs.
Instruction Scope
The listing adapter is intended for Gumtree listings, but the code will fetch any full http(s) URL supplied; users should keep usage to Gumtree URLs.
Install Mechanism
There is no automated install spec, but the instructions require a global bb-browser npm install and manual copying of adapter files.
Credentials
Network access to Gumtree is expected for the stated search/listing function, and no credentials or local files are requested.
Persistence & Privilege
The adapter files persist under the user's bb-browser site directory, but no background service, credential storage, or privilege escalation is shown.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gumtree-search-uk
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gumtree-search-uk 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of Gumtree UK search skill for bb-browser: - Search Gumtree UK's classifieds (property, rentals, used cars, pets, etc.) and get results as structured JSON, with lead image Markdown for chat/assistant use. - Includes two terminal commands: gumtree/search (for results) and gumtree/listing (for full listing details). - Supports queries with optional location, page, and category arguments. - Requires bb-browser and custom adapter files; setup instructions provided. - Provides detailed search results and listing fields, including price, description, location, image URLs, and error handling.
元数据
Slug gumtree-search-uk
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Gumtree UK — bb-browser 是什么?

Search [Gumtree UK](https://www.gumtree.com/) from the terminal with bb-browser: property and flats to buy or rent, general second-hand deals, pets, used car... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 31 次。

如何安装 Gumtree UK — bb-browser?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install gumtree-search-uk」即可一键安装,无需额外配置。

Gumtree UK — bb-browser 是免费的吗?

是的,Gumtree UK — bb-browser 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Gumtree UK — bb-browser 支持哪些平台?

Gumtree UK — bb-browser 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Gumtree UK — bb-browser?

由 SalamankaKit(@salamankakit)开发并维护,当前版本 v1.0.0。

💬 留言讨论