reverse-trace

reverse-trace is a skill for Claude Code, Codex from tdimino/claude-code-minoan. It costs 134 tokens per session (940 once invoked), scanned A, original, MIT.

A method for identifying where an image or video frame came from, such as a film, television episode, publication, or location. It combines reverse-image, geolocation, and media-identification results when available.

In plain words
What is it for?
It is for identifying scenes, episodes, places, images, and video sources, including extracting keyframes from videos.
Why use it?
It helps trace visual material back to an original source when the file has little or no context.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for identifying scenes, episodes, places, images, and video sources, including extracting keyframes from videos.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tdimino/claude-code-minoan/reverse-trace
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tdimino/claude-code-minoan --skill reverse-trace
Clone the repo
git clone --depth 1 https://github.com/tdimino/claude-code-minoan

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for reverse-trace

README.md
[![agentmods](https://agentmods.dev/badge/skills/tdimino/claude-code-minoan/reverse-trace/github.svg)](https://agentmods.dev/skills/tdimino/claude-code-minoan/reverse-trace)
Your own site
<a href="https://agentmods.dev/skills/tdimino/claude-code-minoan/reverse-trace"><img src="https://agentmods.dev/badge/skills/tdimino/claude-code-minoan/reverse-trace/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for reverse-trace

Your own site · 80×15
<a href="https://agentmods.dev/skills/tdimino/claude-code-minoan/reverse-trace"><img src="https://agentmods.dev/badge/skills/tdimino/claude-code-minoan/reverse-trace.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 134 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 940 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00134 $0.00940
Opus 5 $0.00067 $0.00470
Sonnet 5 $0.00027 $0.00188
Haiku 4.5 $0.00013 $0.00094

Measured 8d ago against content hash 1b712828e49d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

reverse-trace scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/rt_extract.py, scripts/rt_gemini.py, scripts/rt_geospy.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/research/reverse-trace/SKILL.md · 77 lines

How it starts

The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Reverse Trace

Identify the source of images and videos by running multiple reverse search APIs in parallel and synthesizing results into a confidence-ranked report. Each engine contributes a different signal — web entity matching, AI geolocation, multimodal LLM identification — and the orchestrator merges them because no single API reliably covers all identification scenarios.

Prerequisites

At least one API credential must be set. Missing keys cause the orchestrator to skip that engine, not crash.

Engine Env Var Free Tier Signal
Google Vision GOOGLE_APPLICATION_CREDENTIALS or ADC 1K/mo Web entities, matching pages, similar images, best-guess labels
Picarta (geospy) PICARTA_API_KEY or GEOSPY_API_KEY Yes Lat/lng, city, country, confidence score
Gemini GOOGLE_API_KEY or GEMINI_API_KEY Yes Media type, title, season/episode, characters, actors

To set up Vision ADC: gcloud auth application-default login

Workflow

Full pipeline (recommended default)

Run rt_trace.py to execute all available engines in parallel. For video input, keyframes are extracted first via ffmpeg.

python3 scripts/rt_trace.py image.jpg
python3 scripts/rt_trace.py video.mp4 --max-frames 3
python3 scripts/rt_trace.py image.jpg --json
python3 scripts/rt_trace.py image.jpg --skip geospy
python3 scripts/rt_trace.py image.jpg --engines vision gemini

Individual engines

Use a single engine when only one type of identification is needed, to conserve API quota, or to debug a specific engine's output.

python3 scripts/rt_vision.py image.jpg              # Web entities + matching pages
python3 scripts/rt_geospy.py photo.jpg --top-k 3    # AI geolocation
python3 scripts/rt_gemini.py frame.jpg               # LLM media identification
python3 scripts/rt_extract.py video.mp4 --keyframes  # Frame extraction only

Engine selection guide

Goal Engines to use Why
Identify TV show / movie gemini + vision Gemini recognizes characters from training data; Vision finds matching web pages that name the episode
Find where an image was published vision Web Detection returns pages hosting the image with titles and URLs
Geolocate a photo geospy Picarta AI geolocation from visual cues (architecture, vegetation, signage)
Full automated identification rt_trace.py (all) Parallel execution, merged synthesis, confidence ranking

Read the full file on GitHub · 77 lines

Files

What ships with it

9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 77 lines · 134 tokens per session scan A 1b712828e49d

Subscribe to this mod's changes

reverse-trace is a skill published in the GitHub repository tdimino/claude-code-minoan (41 stars, last pushed yesterday), licensed MIT. It adds 134 tokens to every session and 940 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories