← 返回 Skills 市场
1192
总下载
2
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install restaurant-crosscheck
功能描述
Cross-reference restaurant recommendations from Xiaohongshu (小红书) and Dianping (大众点评) to validate restaurant quality and consistency. Use when querying restaurant recommendations by geographic location (city/district) to get validated insights from both platforms. Automatically fetches ratings, review counts, and analyzes consistency across platforms to provide trustworthy recommendations with confidence scores.
安全使用建议
What to consider before installing or running this skill:
- Legal/ToS: Both Dianping and Xiaohongshu explicitly prohibit scraping in their docs; using the 'real' scraping mode may violate platform terms and local law — only use for personal research and accept the legal risk.
- Session cookies: The skill saves browser sessions/cookies locally (sessions/ and session_state.json). Do NOT run setup.sh or login on shared/cloud machines. Before publishing or sharing the repo, ensure sessions/ and any files containing credentials are removed and added to .gitignore.
- Do not store secrets in scripts/config.py: If you must use proxies with authentication, avoid writing credentials into repository files; prefer environment variables or a secure secret store and do not publish them.
- Review setup/install scripts: Inspect setup.sh and any install steps before running. They install Python packages and download Playwright browsers (normal) but running them grants the code filesystem and network access on your machine.
- Use mock/server-only mode on servers: The repo includes a simulated/mock-data (server) version — use that on headless or shared servers to avoid login/cookie persistence.
- Audit network destinations: The docs recommend residential proxy providers; review any third-party service terms and avoid sending credentials or session files to unfamiliar hosts.
- Reduce blast radius: Run the skill in an isolated VM or local machine, not on production or shared servers. If you plan to publish, remove any sessions/ and credentials first.
If you want, I can: (1) point out exact filenames that store sessions and should be excluded, (2) scan setup.sh for any unsafe commands, or (3) suggest minimal code changes (e.g., .gitignore entry and switching config to read proxy credentials from env vars) to reduce risk.
功能分析
Type: OpenClaw Skill
Name: restaurant-crosscheck
Version: 1.0.0
The skill is classified as suspicious due to its reliance on web scraping, which involves several high-risk capabilities. Specifically, `setup.sh` downloads and installs Playwright's Chromium browser (`python3 -m playwright install chromium`), and uses the `--break-system-packages` flag for pip installations, which can interfere with system Python. The `scripts/session_manager.py` script handles persistent login sessions for Dianping and Xiaohongshu by saving browser profile data (including cookies) locally, which, while stated to be for local use and not exfiltrated, involves handling sensitive authentication state. These actions, while necessary for the skill's stated purpose of real-time data fetching, introduce supply chain risks and potential for system interference, without clear malicious intent.
能力评估
Purpose & Capability
The code and documentation match the stated purpose: fetching data from Dianping and Xiaohongshu, fuzzy-matching restaurants, and computing consistency/recommendation scores. Libraries (requests, bs4, thefuzz, Playwright) and matching/sentiment logic are appropriate to that goal.
Instruction Scope
SKILL.md and IMPLEMENTATION.md explicitly instruct the agent to perform web scraping, use persistent authenticated browser sessions, rotate proxies, and store cookies/sessions locally. This goes beyond a simple read-only lookup: it instructs actions that can log in as a user (cookies), maintain persistent authenticated sessions, and mimic human browsing (Playwright). Those instructions also push the operator toward anti-scraping workarounds (residential proxies, user-agent rotation), which raises legal/compliance and operational risk.
Install Mechanism
No formal registry install spec in the skill meta, but repository includes setup.sh that installs Python deps and downloads Playwright browsers. Installing Playwright and pip packages is standard for such tooling, but setup.sh should be reviewed before running. There are no obscure external download URLs in the provided files, but Playwright will download browser binaries from upstream.
Credentials
The skill declares no required env vars, but it persistently stores authenticated sessions (cookies/localStorage) under a sessions/ directory and expects proxies (proxy_list) to be configured. That is proportional to scraping functionality, but it creates a risk: sensitive session cookies or proxy credentials may be stored in plain files (scripts/config.py or sessions/) and could be accidentally committed/published. The skill's docs even guide publishing; there are no explicit safeguards (e.g., .gitignore) shown to prevent leaking session data or credentials.
Persistence & Privilege
The skill includes a session manager that persists login state and claims to auto-login and maintain sessions for 1–2 weeks. While always:false, the agent can be invoked autonomously; combined with persistent authenticated sessions, this means the skill can make authenticated requests on behalf of the user without re-authentication. This increases the blast radius if credentials or sessions are leaked or if the skill is misused.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install restaurant-crosscheck - 安装完成后,直接呼叫该 Skill 的名称或使用
/restaurant-crosscheck触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
Features:
- Cross-platform validation (Dianping + Xiaohongshu)
- Location-based search by city/district
- Cuisine type filtering
- Consistency analysis between platforms
- Recommendation scoring (0-10)
- Server-friendly command-line tool
- Full documentation (Chinese + English)
元数据
常见问题
餐厅推荐交叉验证 是什么?
Cross-reference restaurant recommendations from Xiaohongshu (小红书) and Dianping (大众点评) to validate restaurant quality and consistency. Use when querying restaurant recommendations by geographic location (city/district) to get validated insights from both platforms. Automatically fetches ratings, review counts, and analyzes consistency across platforms to provide trustworthy recommendations with confidence scores. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1192 次。
如何安装 餐厅推荐交叉验证?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install restaurant-crosscheck」即可一键安装,无需额外配置。
餐厅推荐交叉验证 是免费的吗?
是的,餐厅推荐交叉验证 完全免费(开源免费),可自由下载、安装和使用。
餐厅推荐交叉验证 支持哪些平台?
餐厅推荐交叉验证 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 餐厅推荐交叉验证?
由 leon(@liyang2016)开发并维护,当前版本 v1.0.0。
推荐 Skills