Skip to content
Skillpedia
Misc5.6k · #14758

geo-sleuth

What it does

This skill teaches an agent how to estimate where or when a photo was taken. It gathers clues such as metadata, visible text, and similar images, then ranks the possible locations, and every conclusion is tied to its evidence.

When to use it

  • ✓When a user has a photo and wants to know where it was taken.
  • ✓When a user wants a rough idea of when a photo was taken from visual clues.
  • ✓When a user wants a location claim checked against the clues that support it.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/Oldcircle/geo-sleuth/blob/main/skills/geo-sleuth/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Where was this photo taken? Please check the metadata and any text in it, and show me your reasons.”

5 new skills a week. 1 minute to read.

How it works

The agent runs scripts that read the metadata, the text, and the reverse image search results, then records the clues on a candidate board. Each claim must point to the clue and the command that produced it.

Technical content (original SKILL.md)

Original text by the author, straight from 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;
FAQ

Will it always find the exact spot?

No. The skill aims for a location that holds up under checking, and it does not promise one definite answer.

Which reverse image search tools does it use?

The skill names Baidu and Yandex reverse image search.

Does it show its work?

Yes. Every conclusion must point to the clue, command, and file used.

Details

Original description by the author

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

Popularity

GitHub stars
5.6k
Ranking position
#14758
License
MIT
Updated
11/1/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

Similar skills