npx claudepluginhub jvsteiner/chess-scanRead a photo of a handwritten chess scoresheet and produce legality-validated PGN
Turn a photo of a handwritten chess scoresheet into a correct PGN file.
A misread character produces an impossible position, often many moves before anything looks wrong. So this pairs a reader (Claude, looking at the photo) with a judge (python-chess, replaying the game) and loops until every move is legal.
Nothing to install. The engine and the chess library both ship in this
repo, so it runs with no virtualenv, no pip and no network. It needs
python3 3.9 or newer.
bash bin/chess-scan --help
As a Claude Code / Cowork plugin, add this repo as a marketplace
(jvsteiner/chess-scan) and install chess-scan from it. The skill
calls the launcher by its full path, so there is no setup step.
GPL-3.0-or-later. This project bundles python-chess (GPL-3.0+) under
src/chess_scan/_vendor/; see NOTICE.
| Command | Does |
|---|---|
bash bin/chess-scan validate game.json | Replay; report the first illegal move and the legal moves there. Rewrites game.json in place, promoting each cleanly-replayed move's status to ok — never touches ink, san, or note |
bash bin/chess-scan candidates game.json --ply N | Legal moves at N, ranked by how much they look like the ink |
bash bin/chess-scan repair game.json --from N | Ranked single-change fixes; --apply ID to accept one |
bash bin/chess-scan set game.json --ply N --san Nc3 | Accept a move; refuses if illegal |
bash bin/chess-scan pgn game.json -o game.pgn | Write PGN; refuses if the game does not replay |
Design: docs/superpowers/specs/2026-08-28-chess-scan-design.md
Running the tool needs nothing. Running its tests needs pytest:
python3 -m venv .venv && .venv/bin/pip install -q pytest && .venv/bin/pytest
7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.