技能详情(站内镜像,无评论)
作者:Alex He @alexanderhe88
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v0.1.3
统计:⭐ 3 · 107 · 0 current installs · 0 all-time installs
⭐ 3
安装量(当前) 0
🛡 VirusTotal :良性 · OpenClaw :良性
Package:alexanderhe88/facebook-marketplace-search
安全扫描(ClawHub)
- VirusTotal :良性
- OpenClaw :良性
OpenClaw 评估
This skill is a thin local-client that calls a Marketplace-compatible service (defaulting to localhost) and its code, install, and runtime behavior are consistent with that purpose, with only minor metadata/packaging inconsistencies to be aware of.
目的
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.
说明范围
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).
安装机制
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.
证书
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.
持久
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.
config.example.json:2
Install source points to URL shortener or raw IP.
综合结论
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 n…
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Facebook Marketplace 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/facebook-marketplace-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.