agentleFS
juliasadlerjuliasadler/muse-skills-cn/skills/tencent-map/SKILL.md

tencent-map

Skill1 starsChanged 29 days agoMITView on GitHub

Use Tencent Maps (腾讯位置服务) WebService API: geocoding, reverse geocoding, POI keyword search, distance matrix, and driving route planning in mainland China.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the user asks for Tencent Maps or this provider's API.

    line 42
  2. Distinctive:

    Do not print, log, or persist raw credentials.

    line 44

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Tencent Maps (腾讯位置服务)

Purpose

Query Tencent Maps WebService API (https://apis.map.qq.com) whenever precise Chinese addresses, POI search, or road distances / driving routes are needed.

Auth

Set the TENCENT_MAP_KEY environment variable. Create a key at https://lbs.qq.com/ (QQ/WeChat sign-in): enable WebServiceAPI for the key and allocate quota in the console.

export TENCENT_MAP_KEY="your-key-here"

The CLI attaches the key as the key query parameter and never prints, logs, or persists it. A Tencent status != 0 is a question about the request before it is a question about the key. Common statuses: 121 (key missing/denied), 311 (key not authorized for this API — enable WebServiceAPI on the key), 348 (quota exhausted — allocate quota in the lbs.qq.com console).

Tooling

CLI: ./bin/tencent-map (Python 3, stdlib only, executable).

  • tencent-map check — verify the key (cheap address-resolve call). Run this first whenever auth is in doubt.
  • tencent-map geocode --address "<地址>" — address to coordinates.
  • tencent-map reverse --location "<lat,lng>" — coordinates to address.
  • tencent-map search --keyword "<关键词>" [--location "<lat,lng>" --radius 5000] [--region 北京市] [--page-size 10] — POI keyword search, nearby or by region.
  • tencent-map distance --from "<lat,lng;lat,lng>" --to "<lat,lng>" --mode driving|walking|bicycling — distance matrix (returns meters + seconds).
  • tencent-map route --from "<lat,lng>" --to "<lat,lng>" — driving route plan (distance, duration, taxi fee).

Operating Rules

  1. Use this skill when the user asks for Tencent Maps or this provider's API.
  2. Restrict authenticated requests to: apis.map.qq.com.
  3. Do not print, log, or persist raw credentials.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.