← Back to Skills Marketplace
liyang2016

餐厅推荐交叉验证

by leon · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
1192
Downloads
2
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install restaurant-crosscheck
Description
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.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install restaurant-crosscheck
  3. After installation, invoke the skill by name or use /restaurant-crosscheck
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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)
Metadata
Slug restaurant-crosscheck
Version 1.0.0
License
All-time Installs 3
Active Installs 2
Total Versions 1
Frequently Asked Questions

What is 餐厅推荐交叉验证?

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. It is an AI Agent Skill for Claude Code / OpenClaw, with 1192 downloads so far.

How do I install 餐厅推荐交叉验证?

Run "/install restaurant-crosscheck" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 餐厅推荐交叉验证 free?

Yes, 餐厅推荐交叉验证 is completely free (open-source). You can download, install and use it at no cost.

Which platforms does 餐厅推荐交叉验证 support?

餐厅推荐交叉验证 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 餐厅推荐交叉验证?

It is built and maintained by leon (@liyang2016); the current version is v1.0.0.

💬 Comments