# Find the mistakes you keep making > The kinds of mistake that come up most across your last 30 games, named in plain words, each with three examples explained, on a page of your own. A name stays only if most of its examples show it, so you may get fewer groups, or none. For players and coaches · About 4 min · Uses the Patterns Skill (https://chessdrive.io/skills/patterns) **Runs in Claude on a paid plan after one setting, or in an agent that runs code, such as Claude Code.** ## 1. Add ChessDrive to your AI Once, a few minutes. **Claude.** In Claude: Customize, Plugins, Add, Add marketplace, Add from a repository. Paste the repo name, press Sync and install ChessDrive. The repo name: `edgecaseai/chessdrive-plugin`. In a Chat, not Code: on the Plugin’s Connectors tab, Connect and sign in. Patterns and Game search need one setting first. In Claude: Settings, Capabilities, then under Domain allowlist add api.chessdrive.io. It works only in a new chat, so start one after. It needs a paid Claude plan. On Team or Enterprise, ask an Owner to add it. **Coding agents: Claude Code, Cursor, Codex.** Paste this into your agent: ```text Set up ChessDrive for me: fetch and follow https://chessdrive.io/setup.md, which installs its CLI with `npm install -g chessdrive`. ``` The line has the agent follow https://chessdrive.io/setup.md: the CLI, the Skills and the Connector, with one link for you to sign in with, then a first review. ## 2. Ask ```text Find the mistakes I keep making in the PGN file in my Downloads folder. I’m DrNykterstein, rated over 2000. Use the ChessDrive Patterns Skill. If you don’t have it, send me to https://chessdrive.io/cookbook/add-to-your-ai to add the ChessDrive Plugin. ``` Change the parts that are yours: - **games**: Your PGN file: where it is, or attached to the chat. Example: the PGN file in my Downloads folder - **player**: Your username on Lichess or chess.com, as the PGN writes it. Example: DrNykterstein - **rating**: Your rating (one of: under 1200, about 1500, about 1800, over 2000). Example: over 2000 Your AI can fetch your games if you give it your username and site. In Claude's chat app, get them into a file in your browser first. Lichess, with no sign-in: [your last 30 games](https://lichess.org/api/games/user/your_username?max=30) (it downloads by itself). chess.com: sign in, open https://www.chess.com/games/archive/your_username, press Select All at the top right of the list, then Download beside it. That’s your latest 50 games. Or with no sign-in, [a month's games](https://api.chess.com/pub/player/your_username/games/YYYY/MM/pgn) (it downloads by itself). ChessBase: in the Application Menu choose New, then Database, and pick PGN as the file type. Then select your games with Ctrl+A and drag them onto it. ## Example run (a sample) **You:** Find the mistakes I keep making. My last 30 games are in games.pgn; I’m rated about 1770. _ChessDrive checked your last 30 games_ _ChessDrive wrote a line on each of your 126 mistakes_ _ChessDrive embedded the positions and the lines to a file_ _ChessDrive named the top three groups_ _ChessDrive explained three examples of each group that held_ **AI:** **Your most common mistake is leaving your own pieces undefended.** The engine marked 126 mistakes in your last 30 games, and 86 of them were blunders. These two kinds came up most. Your Study is open: click an example to put it on the board from your side, with your move in red and the better one in green, then try other moves from there. **1. Leaving your own pieces undefended** (29 mistakes in 12 games). 3 of the 5 I checked show this. Before every move, check which of your pieces is attacked, and make sure your move doesn’t take away its defence. 39...Kg7?? allowed 40.Rxf1, taking the bishop on f1. 39...Be2 was better. 37...Qa1?? allowed 38.Rd7+ Kc6, and the engine’s line goes on with 39.Rxd2, winning the rook your queen had been guarding. 37...a5 was better. 26...Rac8?? allowed 27.Rxd3 Qxa2 28.Nd6, winning your d-pawn and threatening the rook on c8 and the bishop on b6. 26...c4 was better. **2. Allowing your opponent’s pawn breaks on the flank** (24 mistakes in 15 games). 3 of the 5 I checked show this. Before you move, check whether your opponent can push a wing pawn right away to open files for their pieces. 31.Bh2? allowed 31...b4 32.axb4 Bxb4, when Black’s bishop recaptures on b4 and opens the queenside. 31.Be1 was better. 21.f3? allowed 21...b5 22.fxg4 bxc4, opening the b-pawn’s route to capture your knight on c4. 21.a4 was better. 19.a4? allowed 19...a5 20.Nb5 Bxb5, trading off the knight and opening the b-file for Black’s queenside play. 19.Rfe1 was better. A third group of 22 opening mistakes in 14 games was left out: the name it got was about early moves that lose a central pawn, and only one of its five examples showed that. **How far to trust this:** a group holds mistakes that look alike on the board and in what the engine’s lines say they allowed, and each name comes from five of them, so not every mistake in a group is that kind. ## 3. Keep going Copy one into the same chat. - "Turn group 1 into a drill PGN for a Lichess study." - "Why was 37...Qa1 a blunder?" - "Show me more of group 2." Next: [Review your last game](https://chessdrive.io/cookbook/review-your-last-game.md) About $0.45 a run. Free’s $10 covers about 22 runs. It takes about 4 min, on Free too, which checks six games at a time.