跳到正文
Skillpedia
其他5.6k · #14758

geo-sleuth

它能做什么

这项技能教智能体如何推断照片的拍摄地点或时间。它会收集元数据、图中可见文字和相似图片等线索,然后对可能的地点排序,且每个结论都与其证据相连。

适用场景

  • ✓当用户有一张照片,想知道它是在哪里拍摄的时候。
  • ✓当用户想根据视觉线索,粗略了解照片的拍摄时间的时候。
  • ✓当用户希望核对某个地点说法,并查看支持它的线索的时候。

技能链接

https://github.com/Oldcircle/geo-sleuth/blob/main/skills/geo-sleuth/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/Oldcircle/geo-sleuth/blob/main/skills/geo-sleuth/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“这张照片是在哪里拍的?请检查元数据和图中的任何文字,并告诉我你的理由。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会运行读取元数据、文字和反向图片搜索结果的脚本,然后把线索记录到候选板上。每个结论都必须指向所用的线索以及生成该线索的命令。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

geo-sleuth (v2)

Goal: find a location that holds up under checking. Every conclusion must point to the clue it used, the command it ran and the file it produced.

${CLAUDE_SKILL_DIR} in commands means the directory containing this SKILL.md (the same for commands in references). Claude Code substitutes it automatically; in other agents, first export CLAUDE_SKILL_DIR=<absolute path of this directory> before running (if the shell doesn't keep variables between commands, prefix every command with it), or replace it with that path directly.

The work is split into three layers. Remember this first, then read the flow:

Layer Who Tools
Decision: which candidates exist, how evidence is scored, whether a candidate can be excluded, what to scan next Script (candidate board) board.py
Perception: reading text, table lookups, finding targets in satellite imagery, street-view matching Scripts compute and rank first; you look only at the top few intake.py ocr.py clues.py sat_scan.py match.py geo.py bearings
Judgment: pulling clues out of the image, proposing hypotheses when the tables have nothing, deciding among the machine's top few You —

The method comes from breaking down 14 photo-geolocation (网络迷踪) creator videos and 22 puzzles, plus several rounds of blind-test comparisons; the breakdown notes are not published with the repo. The lesson of v1: rules written as prose don't get executed, and two runs of the same skill version gave very different results; so v2 puts every rule that can be written as code into board.py.

Hard rules (always in force; ★ = enforced by board.py, just follow it)

  1. If the user says the photo isn't theirs, or the image shows a private residence or minors, ask once what it's for before continuing; when the prompt already states the source or purpose (an evaluation puzzle, a puzzle setter's hint, the user says they took it), don't ask, and go to the finest level as usual.
  2. Don't fabricate verification. "Measured on the map", "matched street view", "±10 m" must correspond to commands actually run and files actually produced in this session. If you didn't run it, write "unverified".
  3. Precision needs a source: an error radius ≤100 m requires the intersection of two independent constraints, or a ground-level match on ≥3 invariant features. Before reporting a camera position, run a self-check: pose.py project --horizon <sea-horizon row> computes what the pitch should be and each feature's "expected row" for the current camera position; reconcile that with the photo (the depression angle to a target ≠ the camera's pitch; look up the camera position's elevation with terrain.py elev — if the height difference doesn't match the depression angles in the image, the camera position is wrong).
  4. Once you have a unique anchor, close the loop: all later search and geometry starts from the anchor; don't go back to generic features like "blue-green lake water" or "tropical park" and pick the most famous place of that kind.
  5. Compute bearings first, then identify structures: which block in satellite imagery is the tower or chimney in the photo is itself an interpretation. First compute its true bearing in the image with sun.py compass or a confirmed landmark, then use geo.py bearings to see which outline around the candidate camera position falls on that bearing; when nothing fits, first try both templates ("original/mirrored", "sunrise/sunset"); if not verified, only lower the tier, don't exclude.
  6. ★ List the whole category before inferring: when inferring a region from "hill city", "tropical", "IP in a municipality", use board.py children to add all subordinate admin divisions as candidates, then rank them with evidence. Don't default to the main urban district, don't pick by population.
  7. Metadata and hints are hypotheses: when EXIF, IP location, location tags or the puzzle setter's words conflict with the image, the image wins; don't invent a story to reconcile them. IP says country A but the hint or the regulation designs (plates, signs) point to another continent: intersect with clues.py lookup territories <country A> --continent <continent>.
  8. Self-consistency: redo each key judgment once with a different crop or keyword set; if the two results differ by tens of kilometers or more, lower the tier.
  9. ★ If you can't pin a point, give a range + what information is missing;
常见问题

它总能找到确切的地点吗?

不能。这项技能的目标是找到经得起核查的地点,但不保证得出唯一的确定答案。

它使用哪些反向图片搜索工具?

这项技能提到了 Baidu 和 Yandex 的反向图片搜索。

它会展示推理过程吗?

会。每个结论都必须指向所用的线索、命令和文件。

详情

作者的原始描述

Geolocate or chronolocate a photo with tool-verified reasoning (where was this taken / when was it taken / photo geolocation / geo-guessing). Given one or more photos, intake.py does metadata, OCR and reverse image search (Baidu/Yandex) in one command; clues and candidates go on a candidate board (board.py) that ranks them and gives the next step; clues.py looks up calling codes, driving side, plates and area codes from region packs; for satellite and street view the machine ranks first and you look only at the top few (CLIP in sat_scan.py, DINOv2+SIFT in match.py); plus sun and shadow math, O

repo: Oldcircle/geo-sleuth

热度

GitHub 星标
5.6k
排名
#14758
许可证
MIT
更新时间
2026/11/1

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

相似技能