OH

oldcircle/holmes-skill

Developer tools
25 stars Quality 68 Trend 32MIT

An agent skill that reads a photo the way Sherlock Holmes reads a stranger (福尔摩斯): observe first, deduce second, every conclusion cites its evidence and you grade it.

Overview

Works with …and any other agent that reads SKILL.md and can see images. A real desk photo. It wrote 16 observations and sealed the list before reasoning. Six conclusions followed, each citing its evidence. The desk's owner graded them: 5 hits, 1 miss, 0 made-up observations. Pick your agents when prompted. Then give your agent a photo of your desk, your room or yourself and say: The agent lists what it can see, seals that list, and only then starts to reason. Every conclusion names the observations it stands on and offers another explanation for the same marks. You mark each one hit, half or miss. Prefer to copy the folder yourself? See Installation. - Everything it can see goes on a numbered list, and the list is sealed before the trace library is opened. A model that already knows it is looking for a runner will find running shoes that are not there.

README


Quick start

npx skills add Oldcircle/holmes-skill

Pick your agents when prompted. Then give your agent a photo of your desk, your room or yourself and say:

Read this like Sherlock Holmes.

The agent lists what it can see, seals that list, and only then starts to reason. Every conclusion names the observations it stands on and offers another explanation for the same marks. You mark each one hit, half or miss. Prefer to copy the folder yourself? See Installation.

Why Holmes

  • It looks first and thinks second. Everything it can see goes on a numbered list, and the list is sealed before the trace library is opened. A model that already knows it is looking for a runner will find running shoes that are not there.
  • Every conclusion shows its evidence. Each one cites observation numbers, gives a chain of at most three steps, a calibrated confidence, and an alternative explanation. A conclusion that needs something off the list is dropped.
  • You grade it. Hit, half or miss for each conclusion, and a flag for any observation that is not in the photo. It reports two numbers: the hit rate, and the false-observation rate, which matters more.
  • It commits. At least one conclusion has to combine two or more unrelated observations, and one or two have to be bold bets stated without hedging.
  • Marks, never looks. Reading a person, it records what their habits left behind: pressure marks, tan lines, wear, calluses, which wrist the watch is on. Faces, bodies, age, ethnicity and health stay off the list.
  • No API key, no server. The skill is one Markdown file and a trace library. The model your agent already uses does the looking.
  • One skill, every agent. A standard Agent Skill, so the same folder works in Claude Code, Codex, Cursor, Gemini CLI, OpenCode and GitHub Copilot.

Two real photos

Both photos were read with this skill and graded line by line by the person they belong to.

Photo Observations Made up Conclusions Hit Miss
A desk 16 0 6 5 1
A selfie, read as a person 13 (9 of them about the room) 0 5 5 0

The desk

Before any reasoning it wrote 16 observations. Two of them look like filler: a red can standing on the mouse pad, and the desk edge is unusually thick, with a metal frame and a hanging cable underneath.

The second one became a conclusion: “This is an electric standing desk.” An ordinary desk has no reason to be plugged in. The owner confirmed it.

The first one went into the only miss. D3 said the desktop on the right had not been turned on today. Its three reasons were all true: the screen was dark, the keyboard was pushed at an angle onto the mouse pad, and a can was standing on the pad. The owner’s answer was “It’s off now, but I used it at noon.” The marks supported “not in use right now”, and the claim said “not used today”. That miss is now a rule in SKILL.md: a claim may not reach further in time than its marks support.

The selfie

The face is in the middle of the frame. Of the 13 observations, 4 are about the person (glasses, an ear cuff, a waffle-knit shirt, stubble) and 9 are about the room behind them. None of them describes facial features.

The conclusion the owner did not expect: “You didn’t furnish this room. You just use it as a workspace.” The bookcase and the door frame are one matched rosewood set, fitted when the flat was decorated. The shelves hold boxed book sets, framed calligraphy and photo frames, which is a display. The one piece of furniture that does not match is the pale teal office chair behind the owner, and that chair is the thing they brought in.

Two of the five conclusions come from the room alone, and none is drawn from facial features.

Installation

Holmes is a standard Agent Skill: one folder holding SKILL.md and references/. There are no scripts to run and nothing to configure. Install it with the skills CLI, or copy the folder yourself.

All six agents, user-wide, one command:

npx skills add Oldcircle/holmes-skill -g -y \
  -a claude-code -a codex -a cursor -a gemini-cli -a opencode -a github-copilot

Claude Code only, by hand:

git clone https://github.com/Oldcircle/holmes-skill.git
cp -r holmes-skill/skills/holmes ~/.claude/skills/

Every agent, by hand:

git clone https://github.com/Oldcircle/holmes-skill.git
mkdir -p ~/.agents/skills ~/.claude/skills
# Codex, Cursor, Gemini CLI, OpenCode, GitHub Copilot
cp -r holmes-skill/skills/holmes ~/.agents/skills/
# Claude Code
ln -s ~/.agents/skills/holmes ~/.claude/skills/holmes

~/.agents/skills/ is read by Codex, Cursor, Gemini CLI, OpenCode and GitHub Copilot, so one copy there covers all five. Each agent’s own folders, from its docs:

Agent User-wide Per project
Claude Code ~/.claude/skills/ .claude/skills/
Codex ~/.agents/skills/ .agents/skills/
Cursor ~/.cursor/skills/ or ~/.agents/skills/ .cursor/skills/ or .agents/skills/
Gemini CLI ~/.gemini/skills/ or ~/.agents/skills/ .gemini/skills/ or .agents/skills/
OpenCode ~/.config/opencode/skills/ or ~/.agents/skills/ .opencode/skills/ or .agents/skills/
GitHub Copilot ~/.copilot/skills/ or ~/.agents/skills/ .github/skills/ or .agents/skills/

The one requirement is a model that can see images. If the agent only has a file path, the skill tells it to open the image first, and to stop rather than describe a photo it has not seen.

In Claude Code you can also call it by name with /holmes. Some things to try:

Read my desk like Sherlock Holmes.

Here’s what’s in my bag. What does it say about me?

像福尔摩斯一样推理一下这张照片

How it works

flowchart LR
  A["photo"] --> B["1 · Observecheckable facts only"]
  B --> C["2 · Seallist frozen"]
  C --> D["3 · Deducecite O-numbers"]
  D --> E["4 · Case filechains · bets"]
  E --> F["5 · You gradehit · half · miss"]

The whole method is in skills/holmes/SKILL.md. Its rules, and the reason for each:

Rule Why
The observation list is written and sealed before the trace library is opened A model that already knows what it is looking for tends to see it, whether or not it is there.
An observation must be something the owner can point at and confirm “A programmer’s desk” is a conclusion. “Keycaps worn shiny on W, A, S, D only” is an observation.
Every conclusion cites observation numbers; one that needs something off the list is dropped It keeps what the model saw apart from what it thought.
At least one conclusion combines two or more unrelated observations One mark is a coincidence. Watson’s tan, his stiff arm, his bearing and his manner were each worthless alone.
One or two conclusions are bold bets A reading that cannot be wrong is not worth sharing.
A claim may not reach further in time than its marks This rule came from the one miss on the desk above.
Every conclusion has an alternative explanation It gives the owner something to weigh the conclusion against.

Two numbers come out of every graded reading:

  • hit rate = (hits + 0.5 × halves) ÷ graded conclusions
  • false-observation rate = observations marked “not there” ÷ all observations

The second matters more. A wrong conclusion drawn from real marks is an honest miss, and the owner can correct it in one sentence. An observation that was never in the photo voids every conclusion that cites it.

The trace library

98 traces in two languages, 44 for things and 56 for people (bag traces count for both). Each maps a mark to the causes that could have left it, with a weight on each cause, and some carry a caution about when they mislead. A few examples from references/:

Trace The mark What could have left it
desk.keyboard-shine Keycap shine or wear concentrated on certain keys WASD and space: long hours of gaming (strong) · even shine across the letters: heavy typing (medium) · numpad wear: finance or data entry (medium)
desk.dust-gradient Some items dust-free while their surroundings are dusty The clean ones are used daily; the dusty ones were bought and abandoned (strong)
clothing.rolled-one-trouser-leg One trouser leg rolled up, on the chain side Commutes by bicycle and keeps the cuff out of the chain (strong)
hands.ring-mark-no-ring A pale band at the base of the ring finger, with no ring on it Wore a ring for a long time and took it off recently (strong) · a job that requires removing jewelry (medium)
accessories.pawn-scratches Pawnbroker ticket numbers scratched inside a watch case The watch was pawned and redeemed more than once (strong). From The Sign of Four

The library is the model’s reference, and it can reason past it. A conclusion cites a trace only when the trace genuinely matches. Adding one is the easiest way to contribute, see Contributing.

Web version

For people who would rather use a browser: a static page, no backend, bring your own key for any model that can see images (Anthropic, Gemini, or an OpenAI-compatible endpoint such as Qwen-VL, GLM or OpenRouter). The key stays in your browser’s localStorage, and the photo goes straight from your browser to the provider you picked.

pnpm install
pnpm dev          # http://localhost:5173

Open ?demo=1 (things) or ?demo=person (a person) to see a finished case file without calling any model. ?replay=1 plays the desk case above from the first observation to the share card (the replay is in Chinese).

The web version runs the two passes as two separate model calls. The deduction call never receives the photo, only the observation list and the trace library, so “what it saw wrong” and “what it thought wrong” can be counted apart.

It also runs a check that the model actually saw the image. The observation call has to report the photo’s orientation and dominant color first, and these are compared against the real file, along with a floor on input tokens. A mismatch marks the reading as suspect and disables sharing. This check exists because of a real failure: one provider’s OpenAI-compatible endpoint accepted a request with an image, returned no error, dropped the image, and described a desk that did not exist, 14 observations, all invented. The check caught it.

What it will not do

It never infers health, illness, medication, disability, pregnancy, mental state, ethnicity or race, religion, sexual orientation, political views, immigration status or exact income. If a pill bottle or a religious object is in the frame, it leaves it off the list entirely.

Reading a person, it also never reads character or fate from facial features, never says who someone is or where they work, never comments on looks, weight or body shape, and never states an exact age.

It reads a person only when the photo is theirs or they agreed to it. Given a candid photo of a stranger, a screenshot of someone’s profile or a picture of a public figure, it declines. Please use it on your own photos. Following people, checking up on a partner and background checks are off limits.

Beyond photos

The order is the useful part, and it works on more than photos. For a contract, a lab report or a long chat log: have the model number the facts first, stop, and only then let it conclude, with every conclusion naming the facts it came from. Each conclusion then has to point at something that is actually there.

Roadmap

  • [ ] A fourth grade, true of almost anyone, scored apart from hit, and a rule that a conclusion should fail for most other people
  • [ ] A public set of graded readings from more photos and more people
  • [ ] More traces with base rates from outside mainland China
  • [ ] Run the web version against more vision models and publish the numbers

Contributing

Issues and pull requests are welcome, see CONTRIBUTING.md. The most useful contributions are one new trace, or a reading that went wrong with the first line where it went wrong.

Star History

Acknowledgements

Arthur Conan Doyle, and his teacher Joseph Bell, the Edinburgh surgeon who could name a patient’s trade from their hands and their accent.

License

MIT, see LICENSE.

Responsible use: read your own photos, or photos of people who agreed to be read.

View the full README on GitHub

Recommended Tools

Try a different keyword or remove a filter.

Install

npx skillfish add oldcircle/holmes-skill
New to MCP? Start with the mcpskill.org guide →