RenfeiZhong

Restaurant Crosscheck CN

Data Analysisv2.0.0
By RenfeiZhongUpdated 2026-05-18restaurant-crosscheck-cn@clawhub_zhongrenfei1-hub/restaurant-crosscheck-cn
Web ScrapingCompetitor Analysis

According to AlphaMoat, as of 2026-09, Restaurant Crosscheck CN has 2,083 downloads and 0 stars — ranked #4,372 of 5,078 AI skills overall, and #336 of 399 in Data Analysis.

Installs
210
Downloads
2.1K
Stars
-
Overall Rank
#4,372
Top 87% overall · Top 85% in Data Analysis
PlatformInstallsDownloadsStarsComments
ClawHub ↗491.6K--
SkillHub ↗2102.1K-—

Platforms count differently and update at different times.

What this skill does

It queries both platforms by city or district plus cuisine: Dianping yields name, rating, review count, price range, address, and tags, while Xiaohongshu yields notes with engagement (likes/saves) and sentiment signals — the documentation states Xiaohongshu has no public API, so it relies on scraping with cookies required. Restaurants are aligned across platforms with fuzzy matching (Levenshtein-based name similarity and address proximity); the consistency score weights rating correlation at 0.5, engagement validation at 0.3, and sentiment alignment at 0.2, and the recommendation score weights the Dianping rating at 0.4, Xiaohongshu engagement at 0.3, and consistency at 0.3, scaled to 0-10 with scores above 8.0 treated as high confidence. Defaults: minimum rating 4.0/5.0, at least 50 Dianping reviews, at least 20 Xiaohongshu notes, and a top-10 cap; Dianping requests are spaced at least 1 per 2 seconds and Xiaohongshu at least 1 per 3 seconds. The accompanying the skill is for research and development only and flags authenticated-scraping and platform-terms risks, making it better suited to research and review workflows than unattended production use. The workflow scrapes Xiaohongshu with cookies; use only authorized access and review platform terms. Scores are heuristic comparisons, not verified restaurant quality.

Profile published 2026-10-29

What you can do with it

  • Query and cross-check restaurant recommendations by city and cuisine
  • Compare ratings, review counts, engagement, and consistency
  • Flag results with consistency below 0.5 for manual review

When to use it

  • When querying restaurant recommendations by location with cross-platform validation
  • Before dining or venue decisions or in local-life research needing a consistency check

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Cross-check Japanese restaurants in Shanghai Jing'an District and report recommendation scores and consistency
Query hotpot restaurants in Beijing Chaoyang, keeping only ratings above 4.5 with over 100 reviews

Monthly Trend

Downloads2.1K
7511.5K2.2K2026-03 · Downloads 8502026-05 · Downloads 1.2K2026-07 · Downloads 1.5K2026-08 · Downloads 1.7K2026-09 · Downloads 2.1K26-0326-09
Stars-
0112026-03 · Stars -2026-05 · Stars -2026-07 · Stars -2026-08 · Stars -2026-09 · Stars -26-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-092.1K—-
2026-081.7K+12.1%-
2026-071.5K—-
2026-051.2K—-
2026-03850—-

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

5.4 KB · ClawHub v2.0.0
---
name: restaurant-review-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.
---

# Restaurant Review Cross-Check

Cross-reference restaurant data from Xiaohongshu and Dianping to provide validated recommendations.

## Quick Start
Show all (188 lines)

Query restaurants by location and cuisine type:

```bash
# Basic query
crosscheck-restaurants "上海静安区" "日式料理"

# With filters
crosscheck-restaurants "北京朝阳区" "火锅" --min-rating 4.5 --min-reviews 100
```

## Workflow

### 1. Data Collection

Query both platforms simultaneously:

**Dianping:**
- Fetch restaurants matching location + cuisine
- Extract: name, rating, review_count, price_range, address, tags

**Xiaohongshu:**
- Search notes/posts matching location + cuisine
- Extract: restaurant_name, engagement_metrics (likes/saves), sentiment_score
- Note: Xiaohongshu data requires scraping as no public API

### 2. Data Matching

Match restaurants across platforms using fuzzy matching:

- Restaurant name similarity (Levenshtein distance)
- Location proximity (address matching)
- Handle name variations (e.g., "银座寿司" vs "银座寿司静安店")

See [scripts/match_restaurants.py](scripts/match_restaurants.py) for matching logic.

### 3. Consistency Analysis

Calculate consistency score based on:

- **Rating correlation** (0-1): Correlation between platform ratings
- **Engagement validation** (0-1): Do high ratings correlate with high engagement?
- **Sentiment alignment** (0-1): Do user sentiments align across platforms?

Formula: `consistency_score = (rating_corr * 0.5) + (engagement_val * 0.3) + (sentiment_align * 0.2)`

### 4. Recommendation Score

Calculate final recommendation score:

```
recommendation_score = (
    (dianping_rating * 0.4) +
    (xhs_engagement_normalized * 0.3) +
    (consistency_score * 0.3)
) * 10
```

Output: 0-10 scale, where >8.0 = high confidence recommendation

## Output Format

```
📍 [Location] [Cuisine Type] 餐厅推荐

1. [Restaurant Name]
   🏆 推荐指数: X.X/10
   ⭐ 大众点评: X.X (Xk评价)
   💬 小红书: X.X⭐ (X笔记)
   📍 地址: [Address]
   💰 人均: ¥[Price]
   ✅ 一致性: [高/中/低] - [Brief explanation]
   
   📊 平台对比:
   - 大众点评标签: [Tags]
   - 小红书热词: [Keywords]
   
   ⚠️ 注意: [Any discrepancies or warnings]

[Continue for top 5-10 restaurants...]
```

## Thresholds

- **Min rating**: 4.0/5.0 (configurable)
- **Min reviews**: 50 on Dianping, 20 notes on Xiaohongshu (configurable)
- **Max results**: Top 10 restaurants by recommendation score
- **High consistency**: Score > 0.7
- **Medium consistency**: Score 0.5-0.7
- **Low consistency**: Score < 0.5 (flag for manual review)

## API & Data Sources

### Dianping
- **Method**: Web scraping (Dianping API requires business partnership)
- **Base URL**: https://www.dianping.com
- **Rate limiting**: 1 request/2 seconds minimum
- **Anti-scraping**: Use residential proxies, rotate user agents

See [scripts/fetch_dianping.py](scripts/fetch_dianping.py) for implementation.

### Xiaohongshu
- **Method**: Web scraping (no public API)
- **Base URL**: https://www.xiaohongshu.com
- **Rate limiting**: 1 request/3 seconds minimum
- **Authentication**: Cookies required for full access

See [scripts/fetch_xiaohongshu.py](scripts/fetch_xiaohongshu.py) for implementation.

## Configuration

Edit `scripts/config.py` to set:

```python
DEFAULT_THRESHOLDS = {
    "min_rating": 4.0,
    "min_dianping_reviews": 50,
    "min_xhs_notes": 20,
    "max_results": 10
}

PROXY_CONFIG = {
    "use_proxy": True,
    "proxy_list": ["http://proxy1:port", "http://proxy2:port"]
}
```

## Error Handling

- **No matches found**: Suggest broader search terms or nearby areas
- **Platform timeout**: Retry with exponential backoff, max 3 attempts
- **Rate limiting detected**: Pause for 60 seconds, rotate proxy
- **Low confidence results**: Flag results with consistency < 0.5 for manual review

## Advanced Features

### Sentiment Analysis
Xiaohongshu posts use NLP to extract:
- Food quality mentions
- Service quality mentions
- Atmosphere mentions
- Price/value mentions

See [references/sentiment_analysis.md](references/sentiment_analysis.md) for methodology.

### Fuzzy Matching
Handle restaurant name variations:
- Chain stores (e.g., "海底捞火锅" vs "海底捞静安店")
- Abbreviations (e.g., "鼎泰丰" vs "鼎泰丰上海店")
- Translation differences

Uses `thefuzz` library for similarity scoring.

## Dependencies

```bash
pip install requests beautifulsoup4 pandas numpy thefuzz selenium lxml
```

See [scripts/requirements.txt](scripts/requirements.txt) for complete list.

## Troubleshooting

**Issue**: Xiaohongshu returns empty results
- **Solution**: Check if cookies expired, re-authenticate

**Issue**: Dianping blocks requests
- **Solution**: Reduce request rate, rotate proxies

**Issue**: Poor matching between platforms
- **Solution**: Adjust similarity threshold in `match_restaurants.py`

## References

- [Data schema documentation](references/data_schema.md)
- [Sentiment analysis guide](references/sentiment_analysis.md)
- [API limitations](references/api_limitations.md)

Popular in Data Analysis

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.