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
- chess-analysis makes the annotated PGN and HTML board, chess-video makes the narrated video.
- chess-position studies one position, chess-play plays a game over PGN files without an engine.
- The cost is time
- A full run from analysis to video takes about one hour.
- For quick blitz checks, lichess or chess.com analysis takes seconds.
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
- Some asked whether it gives sensible analysis without think-aloud recording.
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
Frostbite: A new CPU architecture discovered, designed and verified by AI
AI agents designed a CPU from scratch, claiming 4.59x perf/W over a traditional core
Restricting AI agents in mobile operating systems platforms from capturing data
Signal now blocks OS-level AI agents from reading its screen on iOS 27 and Android
Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions
Agents' link choices alone let attackers rebuild user queries at F1 0.89; SOR cuts it to 0.39.
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Passing claims with source, evidence and history kept equivalence at 5 agent stages at 96% versus 31%.
LLM assisted reverse engineering
Pointing an agent at binaries with skills and MD notes made years-long hacks feasible
Metrics-in-the-Loop: Complexity Feedback Reshapes Agent-Written Code
Injecting per-turn complexity reports into coding agents cut code erosion without changing correctness
Why is Gemini 4 Carbon taking so long?
Carbon took nearly an hour on bug fixes that Astra and Opus finished in minutes, mostly from extra unrequested work.
Weight-Space Programming builds neural networks like a 1990s researcher
LLM hand-wrote MNIST weights to 91.3%, using 1990s-style techniques