360 Secure SkillHub
360 安全技能中心

LBS Market Analyzer

该 Skill 使用高德(AMAP)LBS API 做地理空间市场情报分析:把地址转为坐标,按行业关键词与半径扫描竞品 POI,并结合参考文档中的选址热力逻辑、黄金路径方法生成密度与空白区(蓝海)报告;缺失 Key 时可运行浏览器自动化脚本申请 Web 服务 Key 并写入 .env。

raphaelxiao
raphaelxiao
热度 73.26
最近更新 2026-05-18 12:20:23
分类:营销依赖:代码执行 / 联网浏览搜索 / 第三方 API / 读写文件应用场景:市场分析 / 研究 / 报告撰写 / API 集成 ...

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add lbs-market-analyzer
Metadata
name
lbs-market-analyzer
description
Comprehensive geo-spatial market intelligence and site selection evaluation using AMAP (Gaode) LBS API. Use when the user needs: (1) Competitor distribution and market pressure analysis, (2) Site selection evaluation based on 'heat logic' (synergy with office buildings, residential areas, and transit nodes), (3) 'Golden Path' flow analysis, (4) Identification of market gaps or 'blue ocean' areas. Includes automated AMAP API Key provisioning.

LBS Market Analyzer

This skill provides specialized workflows for analyzing business competitors using geographical data from the AMAP (Gaode) LBS API.

Core Workflow

  1. Setup (Proactive): If AMAP_KEY is missing from environment/.env, run scripts/amap_key_automator.py immediately.
  2. Geocoding: Convert a user's address or point of interest into coordinates.
  3. Competitor Scanning: Retrieve POIs based on industry keywords and radius.
  4. 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. Requires AMAP_KEY.

References