geo-sleuth
できること
このスキルは、写真がどこで、いつ撮られたかを推定する方法をエージェントに教えます。メタデータ、見える文字、似た画像などの手がかりを集め、考えられる場所を順位づけします。各結論は根拠に結びつけられます。
使う場面
- ✓写真があり、それがどこで撮られたかを知りたいとき。
- ✓写真がいつ撮られたかの大まかな見当を、視覚的な手がかりから知りたいとき。
- ✓場所についての主張が、それを支える手がかりで確認されているか知りたいとき。
スキルのリンク
https://github.com/Oldcircle/geo-sleuth/blob/main/skills/geo-sleuth/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
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, firstexport 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)
- 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.
- 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".
- 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 withterrain.py elev— if the height difference doesn't match the depression angles in the image, the camera position is wrong). - 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.
- 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 compassor a confirmed landmark, then usegeo.py bearingsto 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. - ★ List the whole category before inferring: when inferring a region from "hill city", "tropical", "IP in a municipality", use
board.py childrento 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. - 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>. - 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.
- ★ 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
コメント
- …