mappu

当用户询问特定地点或基于位置的查询(例如“X 在哪里”、“查找 Y”、“Z 中的 X”、“A 附近的 X”)时调用。该功能使用 mappu 命令行工具搜索 Apple Maps,并返回含地址、网站、预览图像和地图快照的本地结果。

仓库最近推送
GitHub Stars
154
Forks
19
Issues / PRs
8

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "mappu":https://skillpi.com/zh/skills/deepskill-0eb9aaa5879e1d928b544f1e5dc4a825f722a61746e77f681e7839092cd9dd25。安装前核对上游来源和版本:https://github.com/xenodium/emacs-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

当用户询问特定地点或基于位置的查询(例如“X 在哪里”、“查找 Y”、“Z 中的 X”、“A 附近的 X”)时调用。该功能使用 mappu 命令行工具搜索 Apple Maps,并返回含地址、网站、预览图像和地图快照的本地结果。

0 下载

介绍来源: third_party · xenodium · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
输入和输出
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: mappu
description: 'Use when the user asks about a specific place — restaurant, cafe, shop, business, landmark — or when context implies a location-based lookup ("where is X", "find Y", "X in Z", "X near A"). Calls the mappu CLI to search Apple Maps and returns local results with addresses, websites, preview images, and a map snapshot.'
tools: Bash

Search places with mappu

When the user asks about a specific place or implies a location-based query, use the mappu CLI to search Apple Maps and present the results.

Examples of triggering contexts:

  • "where can I get good ramen?"
  • "is Roti King open?"
  • "find sushi places in Soho"
  • "what cafes are near St James's Park?"
  • "any good Malaysian food around Chinatown?"

Locating context (always set --near)

mappu requires a --near value. Determine it like this:

  1. If the user mentioned a location ("in Soho", "near Charing Cross", "around Tokyo"), use that.
  2. If recent conversation context establishes a location (e.g., they have been talking about restaurants in London), use that.
  3. Otherwise, ask the user "Near where?" before running mappu. Do not guess silently and do not fall back to a default city.

How to invoke

Run via the Bash tool. Always include --preview --map for richer output:

mappu --preview --map --near "Soho London" "roti king"

Flags:

  • --near "<location>" — required, set every call.
  • --limit <N> — max results; mappu's default is 10.
  • --radius <KM> — search radius in kilometers.
  • --preview — include website preview images per result (use by default).
  • --map — include a map snapshot with numbered pins (use by default).

Output schema

mappu prints JSON to stdout:

{
  "map": "/path/to/map.png",
  "results": [
    {
      "name": "Roti King",
      "address": "6 Artillery Lane, London, England, E1 7LS, United Kingdom",
      "neighborhood": "City of London",
      "category": "Restaurant",
      "url": "https://rotiking.com/location/spitalfields",
      "mapsUrl": "https://maps.apple.com/?ll=51.5183405,-0.0790983&q=Roti%20King",
      "image": "/path/to/preview.png",
      "phone": "+44 20 1234 5678",
      "countryCode": "GB",
      "timeZone": "Europe/London",
      "coordinate": { "lat": 51.5183405, "lng": -0.0790983 }
    }
  ]
}

On failure, mappu prints {"error": "..."} and exits non-zero.

Render as markdown

For successful responses, output in this order: top-level map (if present), then each result as image + name link + category + address. Pin numbers on the map match the order of results[] (1-based).

![map of results](path/to/map.png)

![Roti King](path/to/preview1.png)
[Roti King](https://rotiking.com/location/spitalfields)
Restaurant
6 Artillery Lane, London, England, E1 7LS, United Kingdom

![Roti King](path/to/preview2.png)
[Roti King](https://rotiking.com/location/waterloo)
Restaurant
97 Lower Marsh, London, England, SE1 7AB, United Kingdom

Rules

  • Always set --near; ask the user "Near where?" if it is not obvious from the request or recent context.
  • Always include --preview --map unless the user explicitly asks for fast / text-only results.
  • Use the result's url as the link target. Fall back to mapsUrl if url is missing.
  • Omit the image line for results without an image field rather than fabricating one.
  • Do not invent ratings, opening hours, prices, or any fields not present in the JSON.
  • If mappu returns {"error": "..."}, surface that error to the user and stop.
  • Requires the mappu binary on $PATH. If invocation fails with "command not found", tell the user to install it (e.g. copy the release binary to /usr/local/bin/).

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值92/100

亮点

  • 解决用户查找地点的核心需求,直接提升日常效率
  • 支持多种触发场景,包括餐厅、咖啡馆、商店、企业或地标查询
  • 提供丰富的输出信息(地址、网站、预览图像和地图快照)
触发精准88/100

亮点

  • 触发词精准完整,覆盖多种变体(where is X, find Y, X in Z, X near A)
  • 边界清晰,明确区分了需要位置上下文和不需要的场景
结构规范95/100

亮点

  • Phase/步骤清晰,有出口条件
  • 包含端到端示例,frontmatter完整
  • 单文件≤500行,结构良好
执行可靠90/100

亮点

  • 工具来源明确(mappu CLI)
  • 参数正确,覆盖主要异常(如command not found)
  • 不可逆操作有确认机制(询问用户Near where?)
证据可验 (前四项均值)91/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • maps.apple.com
  • rotiking.com

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。