Show HN: A Claude Code skill to analyze your chess games
TL;DR Highlight
A Claude Code skill queries Stockfish to turn your chess games into readable, engine-checked post-mortems.
Who Should Read
A developer who wants to build verifiable analysis workflows by wiring an engine or external tool into Claude Code skills
Core Mechanics
- Claude drives Stockfish itself
- Claude asks the engine questions like "why not the move I played?".
- It keeps asking until the answer makes sense, then writes it up in plain language.
- Think-aloud audio lets it refute your actual reasoning
- Audio recorded during the game is transcribed locally with whisper.cpp.
- PGN clock times align each sentence to the move being decided.
- Analysis is split into subagent stages
- A Stockfish sweep of every move comes first.
- Parallel investigator subagents then question the engine until each mistake is explained.
- Hallucinations are reduced by engine checks and a verifier pass
- Every claim is checked against Stockfish and a verifier pass re-reads the result.
- The author says errors are rare, and you can ask Claude to recheck any odd position.
- Four skills cover different jobs
Community Reactions
- Objection that LLMs alone are useless at chess
- Commenters said LLMs make illegal moves and hallucinate pieces.
- Others found it interesting that Stockfish backs the LLM, which only adds commentary.
- Not novel, some said
- One comment said engine-based automatic analysis has long existed and chess.com likely did it already.
- Others still saw value for learning and curiosity.
- Experience: feeding real data into the prompt works
- One commenter built an LLM explainer for a scrabble AI with Monte Carlo data in the prompt, and it hallucinated little.
- Another preferred short, checkable reports over helpers that try to be a whole coach.
- Criticism of AI-written SKILL.md and cost
- One comment called letting AI write the prompts lazy.
- One comment questioned a cost of $15 per use.
- Question about opening in a short form
How to Apply
- Install the skill and run one game today
- Git clone and copy the skills folder into ~/.claude/skills/.
- Tell Claude Code "install the dependencies for the chess skills" to set up requirements.
- Copy the pattern of pairing an LLM with a verifier tool
- Make the LLM call a dedicated engine or calculator where it is weak.
- Instruct it to check every claim with that tool before the final answer.
- Add a verifier subagent pass
- Run investigator agents in parallel, then add a step that re-reads the results.
- Have it recheck only the suspicious items with the tool.
- Pin user context in CLAUDE.md
- Write stable details like reader level into CLAUDE.md once.
- For example: "Write chess analysis for a 1800 player."
Try It
# Paste into Claude Code (after installing the skill)
# Install (terminal)
git clone https://github.com/brumar/chess-postmortem-skills
cp -r chess-postmortem-skills/skills/* ~/.claude/skills/
# Type into Claude Code
analyze this game: {{lichess link}}, here is my think-aloud recording: {{mp3 path}}
# Next, try
make a video of this gameTerminology
Related Papers
Same Simulation, Different Evidence: Where Retrieved Tool Output Costs LLM Agents Accuracy
Saving long tool output to files cut GPT-5.1 accuracy by 11.3 points; naming the authoritative file restored it.
Fake News, Real Crashes: Information Injection Attacks on LLM Financial Trading Agents
Fake headlines hijacked LLM trading agents 62% of the time versus 14% for prompt injection.
Harness Engineering 101: The LLM is the brain, the harness is the body
An agent is a loop managing a JSON array; 16 chapters build one from scratch
Harness2 by Google Research – Recursive Agent Harnessing
Recursively refining the harness with fixed model weights raised benchmark scores by up to 11.8 points.
Ousted Savannah police officer gave ICE agent husband access to Flock system
A police officer shared her Flock login with her ICE-agent husband; an audit found 983 searches and she was fired
Tmux and Claude Code: Sessions, Send-Keys, and the Ceiling
Running Claude Code agents in tmux works well, but limits appear around four agents.