LBS Market Analyzer
/install lbs-market-analyzer
LBS Market Analyzer
This skill provides specialized workflows for analyzing business competitors using geographical data from the AMAP (Gaode) LBS API.
Core Workflow
- Setup (Proactive): If
AMAP_KEYis missing from environment/.env, runscripts/amap_key_automator.pyimmediately. - Geocoding: Convert a user's address or point of interest into coordinates.
- Competitor Scanning: Retrieve POIs based on industry keywords and radius.
- Structured Reporting: Generate a density and gap analysis report.
Usage Guidelines
1. Automated Provisioning
If you don't have an AMAP API Key:
python3 scripts/amap_key_automator.py
Note: A browser will open for manual Alipay/AMAP login. The script will then automatically create a Web Service Key and append it to .env.
2. Market Analysis Execution
Run the analysis script to fetch data:
python3 scripts/competitor_analysis.py --address "YOUR_ADDRESS" --keywords "INDUSTRY_KEYWORDS" --radius 3000
3. Insight Generation
After fetching data, use the logic in references/analysis-logic.md to interpret the results (e.g., identifying "blue oceans" or high-pressure zones).
Scripts
scripts/amap_key_automator.py: Browser automation for AMAP console. Handles login (manual scan) and automatic Key creation.scripts/competitor_analysis.py: Interacts with AMAP API to fetch POI data. RequiresAMAP_KEY.
References
- references/analysis-logic.md: Strategies for interpreting data and generating business insights.
- references/amap-api-guide.md: API status codes, category lists, and parameter limits.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install lbs-market-analyzer - 安装完成后,直接呼叫该 Skill 的名称或使用
/lbs-market-analyzer触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
LBS Market Analyzer 是什么?
Comprehensive geo-spatial market intelligence and site selection evaluation using AMAP (Gaode) LBS API. Use when the user needs: (1) Competitor distribution... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 506 次。
如何安装 LBS Market Analyzer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install lbs-market-analyzer」即可一键安装,无需额外配置。
LBS Market Analyzer 是免费的吗?
是的,LBS Market Analyzer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
LBS Market Analyzer 支持哪些平台?
LBS Market Analyzer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 LBS Market Analyzer?
由 raphaelxiao(@raphaelxiao)开发并维护,当前版本 v1.0.0。