# Find any idea in your game collection > Examples of a tactical idea from your own PGN files, found in plain English, checked by an engine and handed back as a PGN for a Lichess study. For coaches and creators · About 16 min · Uses the Game search Skill (https://chessdrive.io/skills/game-search) **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 8 examples of knight forks in games.pgn. Use the ChessDrive Game search 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: - **count**: How many (one of: 5, 8, 12, 20). Example: 8 - **idea**: The idea, in a few words. Example: knight forks - **files**: Your PGN files. Example: games.pgn 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 300 games](https://lichess.org/api/games/user/your_username?max=300) (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 8 examples of knight forks in games.pgn. _Counted 300 games: 24,128 positions_ _ChessDrive embedded every position to a file_ _Read the 20 closest moments, one a game_ _ChessDrive checked 8 with the engine_ **AI:** Here are 8 knight forks from your 300 games, the 8 that held up of the 20 closest moments. Three to start with: 1. 10.Nc7+ forks the king on e8 and the rook on a8, the textbook case. 2. 31.Nxd5+ forks the king on b6 and the queen on c7, and wins the queen. 3. 35.Nd5+ hits the king, the queen and the rook at once. **The rest are in knight-forks.pgn,** which opens as a Lichess study, one chapter a game, with a note at each fork. A new question reads the same file. ## 3. Keep going Copy one into the same chat. - "Find more moments like the first one." - "Now find a queen pinned to its king." - "Turn these into a worksheet for my students." Next: [Annotate a game for your video](https://chessdrive.io/cookbook/annotate-a-game-for-your-video.md) About $0.64 a run. Free’s $10 covers about 15 runs. The first run over 200 games: about 2 min on any Plan. Later questions cost under a cent.