技能详情(站内镜像,无评论)
作者:Alex He @alexanderhe88
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v0.1.0
统计:⭐ 1 · 91 · 0 current installs · 0 all-time installs
⭐ 1
安装量(当前) 0
🛡 VirusTotal :良性 · OpenClaw :良性
Package:alexanderhe88/marketplace-local-search
安全扫描(ClawHub)
- VirusTotal :良性
- OpenClaw :良性
OpenClaw 评估
This is a coherent thin-client for a user-provided local Facebook Marketplace service; nothing in the files appears malicious, though there are a couple of minor mismatches you should review before installing.
目的
The name/description match the included Python client: the script issues an HTTP GET to a local Marketplace-compatible service and returns normalized JSON. One minor mismatch: requirements.txt includes Flask (a server framework) even though the shipped client code does not use Flask; that dependency appears unnecessary for the client's stated purpose.
说明范围
SKILL.md instructions are scoped to installing dependencies, optionally copying a config example, and running the client. The runtime code only reads its own config files and two environment variables (MARKETPLACE_API_BASE_URL and MARKETPLACE_API_TIMEOUT) and makes HTTP requests to the configured base URL; it does not access unrelated system files or credentials.
安装机制
There is no automated install spec; SKILL.md instructs running pip install -r requirements.txt which pulls packages from PyPI. This is a common, moderate-risk step — but the listed dependency on Flask is unexpected for a pure client and may cause you to install unnecessary server-side packages.
证书
The registry declares no required environment variables or credentials. The client optionally reads MARKETPLACE_API_BASE_URL and MARKETPLACE_API_TIMEOUT to override defaults; this is reasonable, but changing base_url can cause the skill to send requests to an arbitrary (including remote) endpoint, so verify that base_url points to a trusted local service.
持久
The skill does not request persistent privileges, always:false, and does not modify other skills or system configuration. It runs as an on-demand client script.
config.example.json:2
Install source points to URL shortener or raw IP.
综合结论
This skill appears to be what it says: a thin client that queries a local Marketplace-compatible service and outputs normalized JSON. Before installing/running: (1) verify why requirements.txt includes Flask — if you only need the client, you can remove that dependency to avoid installing server packages; (2) confirm config.json or the MARKETPLACE_API_BASE_URL env var points to a trusted local service (the default is http://127.0.0.1:8787); if…
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Marketplace Local Search」。简介:Search Facebook Marketplace listings near a specified location with filters for…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/alexanderhe88/marketplace-local-search/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
name: facebook-marketplace-search
description: 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 a user-provided local Marketplace service and returns normalized JSON results with local-first ranking support.
---
# 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:
```bash
python3 -m pip install -r skills/facebook-marketplace-search/requirements.txt
```
Optionally copy config:
```bash
cp skills/facebook-marketplace-search/config.example.json
skills/facebook-marketplace-search/config.json
```
## Usage
```bash
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
```json
{
"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.