← 返回 Skills 市场
235
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install dianping-query-moss
功能描述
查询大众点评餐厅信息。使用场景:(1) 用户要查询某家餐厅的评分、人均消费、地址 (2) 用户要搜索特定菜系或区域的餐厅推荐 (3) 用户要获取附近美食推荐。登录账号:一定S。重要:搜索时URL需包含城市ID(如hangzhou页面),账号定位北京时需使用URL参数方式绕过。
使用说明 (SKILL.md)
Dianping Query
Quick Start
- 用 browser 工具打开大众点评杭州首页:https://www.dianping.com/hangzhou
- 无需登录即可访问杭州地区内容
- URL中的
/hangzhou或cityId=3表示杭州
- 确认登录状态(显示"一定S"即已登录)
- 在搜索框输入餐厅名称或关键词
- 重要:搜索结果在新标签页打开,URL格式为
https://www.dianping.com/ai-search?keyword=... - 使用
browser.tabs查看所有打开的页面 - 从AI搜索结果页面提取餐厅信息卡片
登录账号
- 用户名:一定S
- 如果未登录,需要用户配合输入手机号和验证码
城市定位问题处理
问题现象
- 账号显示定位在北京,无法切换到杭州
- 搜索结果会跳转到北京地区
解决方案(按优先级)
方案1:使用杭州URL(推荐)
- 直接访问
https://www.dianping.com/hangzhou而非首页 - 搜索结果会自动关联杭州地区
- 无需账号切换,cookie定位不影响URL访问
方案2:搜索时指定城市
- 搜索词加上城市名,如:"杭州滨江区好吃的餐厅"
- URL参数会包含城市信息:
keyword/3/0_杭州滨江区...
方案3:浏览器地址栏修改
- 在地址栏手动修改城市ID
- 北京是 cityId=2,杭州是 cityId=3
城市ID参考
| 城市 | cityId | URL示例 |
|---|---|---|
| 杭州 | 3 | dianping.com/hangzhou |
| 北京 | 2 | dianping.com/ |
| 上海 | 1 | dianping.com/shanghai |
搜索结果提取
从AI搜索结果页面提取以下信息:
- 餐厅名称(link元素)
- 评分(⭐数字星)
- 人均消费(¥数字)
- 地址/位置
- 特色描述和推荐菜品
- 用户评价摘要
常见搜索场景
按名称查询:
搜索词:靠北泰式打抛饭
结果:店铺名称、评分4.2星、¥37、地址在拱墅区银树湾
按区域查询(使用杭州URL):
URL: https://www.dianping.com/hangzhou
搜索词:滨江区好吃的餐厅
结果:7,799个相关商户,包含TOP推荐列表
按菜系查询:
搜索词:杭州泰式料理
结果:多家泰式餐厅列表,包含评分、人均、地址
注意事项
- 搜索结果页面可能需要滚动加载完整内容
- 店休、营业时间等特殊信息也会显示在结果中
- 点击餐厅名称可查看详情页
- 使用杭州URL可以绕过账号定位问题
安全使用建议
This skill is instruction-only and appears to simply scrape Dianping search pages for restaurant details. Before installing: (1) note the SKILL.md may prompt you to log in; it mentions an account name but provides no credentials — avoid sharing your phone number, verification codes, or passwords unless you trust the source; prefer using your own account in a browser session if necessary; (2) confirm you are comfortable with the agent opening and scraping public web pages via its browser tool; (3) absence of source/homepage means you have less provenance — if provenance matters, ask the publisher for details or use a verified alternative.
功能分析
Type: OpenClaw Skill
Name: dianping-query-moss
Version: 1.0.0
The skill bundle provides instructions for an AI agent to query restaurant information on Dianping.com. It contains functional guidance on navigating the website, handling city-specific search parameters (e.g., switching to Hangzhou via URL), and extracting restaurant metadata. No malicious code, data exfiltration, or harmful prompt injection attempts were identified in SKILL.md or _meta.json.
能力评估
Purpose & Capability
The name/description (query Dianping restaurant info) match the instructions: open the Hangzhou page, search, and extract restaurant cards. The skill does not request unrelated binaries, installs, or cloud credentials, so the capability aligns with the declared purpose.
Instruction Scope
The SKILL.md instructs the agent to use the browser tool (open https://www.dianping.com/hangzhou, inspect AI-search results, use browser.tabs, scroll to load content) and extract restaurant name, rating, average price, address, highlights, and review summaries — all within the stated scope. One notable instruction: it references a login account '一定S' and says if not logged in the user must provide a phone number and captcha to log in. That could cause the agent to prompt for potentially sensitive personal data; the instructions do not direct reading of unrelated system files or environment variables.
Install Mechanism
No install spec and no code files are present. This is instruction-only, so nothing is written to disk and there are no external packages or download URLs to evaluate.
Credentials
The skill declares no required environment variables or credentials, which is proportional. However, the SKILL.md includes an account name ('一定S') and instructs obtaining phone+captcha input from the user if not logged in. Because credential handling and collection of phone/captcha are not declared in metadata, users should be cautious about providing such information to the agent.
Persistence & Privilege
always is false and the skill is user-invocable with normal autonomous invocation allowed. It does not request persistent system privileges or modify other skills' settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install dianping-query-moss - 安装完成后,直接呼叫该 Skill 的名称或使用
/dianping-query-moss触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of dianping-query-moss:
- Enables querying Dianping for restaurant info, including ratings, average spend, and address.
- Supports searching by restaurant name, cuisine, or region, and provides local food recommendations.
- Handles city targeting issues by enforcing city ID in URL (e.g., using /hangzhou for Hangzhou).
- Includes instructions to extract key restaurant details from AI search results.
- Provides solutions for account/city location problems during searches.
- Details login steps and best practices for consistent results.
元数据
常见问题
Dianping Query Moss 是什么?
查询大众点评餐厅信息。使用场景:(1) 用户要查询某家餐厅的评分、人均消费、地址 (2) 用户要搜索特定菜系或区域的餐厅推荐 (3) 用户要获取附近美食推荐。登录账号:一定S。重要:搜索时URL需包含城市ID(如hangzhou页面),账号定位北京时需使用URL参数方式绕过。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 235 次。
如何安装 Dianping Query Moss?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install dianping-query-moss」即可一键安装,无需额外配置。
Dianping Query Moss 是免费的吗?
是的,Dianping Query Moss 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Dianping Query Moss 支持哪些平台?
Dianping Query Moss 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Dianping Query Moss?
由 MemoryF(@memoryf)开发并维护,当前版本 v1.0.0。
推荐 Skills