← 返回 Skills 市场
alexanderhe88

Facebook Marketplace Search

作者 Alex He · GitHub ↗ · v0.1.3 · MIT-0
cross-platform ⚠ suspicious
375
总下载
3
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install facebook-marketplace-search
功能描述
Search Facebook Marketplace listings near a specified location with filters for radius, price range, limit, and pickup-only. This skill is a thin client for...
使用说明 (SKILL.md)

Facebook Marketplace Search

Search nearby Facebook Marketplace listings via a user-provided local Marketplace service.

Design goal

This published skill is intentionally a thin wrapper client.

It does not ship with:

  • embedded Facebook scraping logic
  • vendored Marketplace scraper code
  • built-in background services
  • LaunchAgent installers

That design keeps the published package smaller, easier to review, and less sensitive from a security-scanning perspective.

What this skill does

  • sends a search request to a local Marketplace-compatible service
  • supports:
    • query
    • location
    • radius_km
    • min_price
    • max_price
    • limit
    • pickup_only
    • sort
  • returns normalized JSON with:
    • id
    • title
    • price
    • location
    • seller_name
    • image_url
    • listing_url

Expected local service

By default this client calls:

  • http://127.0.0.1:8787/search

Override with:

  • MARKETPLACE_API_BASE_URL

The local service is expected to accept query parameters such as:

  • query
  • location
  • radius_km
  • min_price
  • max_price
  • limit
  • pickup_only
  • sort

Setup

Install deps:

python3 -m pip install -r skills/facebook-marketplace-search/requirements.txt

Optionally copy config:

cp skills/facebook-marketplace-search/config.example.json \
   skills/facebook-marketplace-search/config.json

Usage

python3 skills/facebook-marketplace-search/scripts/facebook_marketplace_search.py \
  --query "burrow sofa" \
  --location "Livingston, NJ" \
  --radius-km 48 \
  --limit 10 \
  --sort local_first

Output shape

{
  "query": "burrow sofa",
  "location": "Livingston, NJ",
  "count": 2,
  "results": [
    {
      "id": "123",
      "title": "Burrow Sofa",
      "price": 400.0,
      "location": "Livingston, NJ",
      "seller_name": "Jane Doe",
      "image_url": "https://...",
      "listing_url": "https://www.facebook.com/marketplace/item/123"
    }
  ]
}

Notes

  • This skill is a client wrapper, not a bundled scraper.
  • It is meant to integrate with a local service you control.
  • Some upstream services may not always provide seller names or exact pickup semantics.
  • Sorting behavior depends on the local service implementation.
安全使用建议
This skill is essentially a client that queries a Marketplace-compatible service you run locally (default http://127.0.0.1:8787). Before installing: 1) confirm you control the local service the skill will call (or that MARKETPLACE_API_BASE_URL is set to a trusted endpoint); 2) be aware the metadata didn’t declare the optional env vars the code supports (MARKETPLACE_API_BASE_URL and MARKETPLACE_API_TIMEOUT) — that’s documented in SKILL.md but not declared in registry fields; 3) the requirements.txt includes Flask even though the client only needs requests (installing Flask is harmless but unnecessary); and 4) avoid setting MARKETPLACE_API_BASE_URL to an untrusted remote server (that would let the skill send user queries/data to an external host). If these points are acceptable, the skill appears coherent with its stated purpose.
功能分析
Type: OpenClaw Skill Name: facebook-marketplace-search Version: 0.1.3 The skill is a straightforward Python wrapper that queries a user-defined local API (defaulting to http://127.0.0.1:8787) for Facebook Marketplace listings. The code in scripts/facebook_marketplace_search.py uses standard libraries like requests and argparse, lacks any dangerous execution sinks (e.g., eval, os.system), and does not attempt to access sensitive files or environment variables beyond its own configuration.
能力评估
Purpose & Capability
The skill's name/description match the included client script which queries a local Marketplace service. Minor inconsistency: requirements.txt includes Flask (a server framework) although the shipped script only uses requests as a client; that dependency is unnecessary for the client-only behavior but not harmful.
Instruction Scope
SKILL.md and the script limit runtime actions to reading a local config, honoring two documented environment variables (MARKETPLACE_API_BASE_URL and MARKETPLACE_API_TIMEOUT), and making HTTP GETs to the configured base_url/search. The instructions do not ask the agent to read unrelated system files or exfiltrate data to unknown endpoints (base_url can be overridden, which is expected).
Install Mechanism
There is no automated install spec; the README instructs a pip install of the local requirements.txt. No remote archive downloads or obscure install URLs are used. The only small packaging oddity is including Flask in requirements for a client-only script.
Credentials
Registry metadata declared no required env vars, but the code supports two optional environment variables (MARKETPLACE_API_BASE_URL and MARKETPLACE_API_TIMEOUT) that are documented in SKILL.md. No credentials or secrets are requested. Users should be aware that overriding MARKETPLACE_API_BASE_URL may direct requests to an external service.
Persistence & Privilege
The skill does not request permanent presence (always:false), does not modify other skills or system-wide settings, and only reads/writes files within its own skill directory if the user copies a config file. No elevated privileges are requested.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install facebook-marketplace-search
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /facebook-marketplace-search 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.3
Reduce suspicious surface area: publish as a thin Marketplace client wrapper only, remove bundled scraper/service/LaunchAgent components, and clarify external local-service design.
v0.1.2
Update display name and published description for clarity.
v0.1.1
Improve published skill docs, add LaunchAgent setup guidance, document sorting options, and clarify MVP behavior and tradeoffs.
v0.1.0
Initial public MVP release: local service wrapper for Facebook Marketplace search with location, radius, price filters, pickup-only support, normalized JSON output, and local-first sorting.
元数据
Slug facebook-marketplace-search
版本 0.1.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

Facebook Marketplace Search 是什么?

Search Facebook Marketplace listings near a specified location with filters for radius, price range, limit, and pickup-only. This skill is a thin client for... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 375 次。

如何安装 Facebook Marketplace Search?

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

Facebook Marketplace Search 是免费的吗?

是的,Facebook Marketplace Search 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Facebook Marketplace Search 支持哪些平台?

Facebook Marketplace Search 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Facebook Marketplace Search?

由 Alex He(@alexanderhe88)开发并维护,当前版本 v0.1.3。

💬 留言讨论