How to Prepare Against a Specific Chess Opponent
How to read an opponent's games before you play them. Which of their lines can reach your board, how recent they are, and when to stop preparing.
You know who you are playing on Thursday. It is a league match, the board orders are out, and your opponent has several hundred games on the record. You have Black, you answer 1.d4 with the Nimzo-Indian, and you have one evening.
The usual way to spend that evening is to open their most recent games, click through three or four, and form an impression. Impressions are the problem. Four games tell you what happened four times. Preparation needs to know what happens most of the time, in the one corner of their repertoire that can actually reach your board.
Start from your moves
An opponent's repertoire is large and almost all of it is irrelevant to you. With Black, their games as Black do not matter. Of their games as White, only those that begin with a move you will actually face matter, and of those, only the ones where Black answered the way you answer.
So do not start from their games. Start from your own first moves and walk forward until the choice is theirs. For a Nimzo-Indian player against a 1.d4 opponent, that is here:
After 1.d4 Nf6 2.c4 e6 the choice is White's. Only 3.Nc3 allows the Nimzo-Indian. 3.Nf3 sidesteps it and 3.g3 is the Catalan. — rnbqkb1r/pppp1ppp/4pn2/8/2PP4/8/PP2PPPP/RNBQKBNR w KQkq - 0 3
Everything you prepared against 3.Nc3 is worth something only if this opponent plays 3.Nc3. That is the first thing to find out, and it is a counting question.
Count first
Take every game they have played as White, keep the ones that reached this position, and count White's third move. In a database program that is a position search. By hand it is a tally on paper.
To make this concrete, the rest of the article uses one real player as Thursday's opponent: a grandmaster with 837 published games, whose name is left out. The numbers that follow are that player's, and the screenshots further down show the same counts.
Of those games, 130 reached the position. White played 3.Nf3 in 83 of them, 3.Nc3 in 23, 3.g3 in 20 and 3.Bf4 in four.
Read that as a Nimzo-Indian player. Your main defence is available in fewer than one game in five. Nearly two times in three you will be looking at 3.Nf3, and you need an answer you are happy with there. If the evening goes into Nimzo-Indian theory, it goes into the minority case.
Four recent games could never have shown you this. They would have shown 3.Nf3 three times, perhaps, and you would not have known whether that was a habit or a coincidence.
Then check the dates
A count over a whole career mixes the player they are with the player they were. People change openings. So run the same count again on recent games only.
For this opponent, the last two years hold 23 games from the position: 15 with 3.Nf3, four with 3.Bf4, four with 3.Nc3, and none with 3.g3. The last Catalan is from 2023.
Two things changed. The Catalan, which looked like a fifth of their repertoire, has gone, and you can stop preparing for it. And 3.Bf4, a footnote in the career totals, turns out to be entirely recent: all four games fall inside the two years, which makes it as likely on Thursday as the Nimzo-Indian itself. The all-time numbers hid both facts.
The rule is to count on the full record first, to see the shape, and then again on the last year or two, to see what is still true. When the two disagree, believe the recent one, and treat it carefully, because it rests on fewer games.
Prepare the fork you will face
You now know where to spend the evening. After 3.Nf3 the choice is yours:
Black's main replies to 3.Nf3: the Queen's Indian with 3...b6, the Queen's Gambit Declined with 3...d5, and the Bogo-Indian with 3...Bb4+. Choose the one you already play. — rnbqkb1r/pppp1ppp/4pn2/8/2PP4/5N2/PP2PPPP/RNBQKB1R b KQkq - 1 3
Pick the reply that is already in your repertoire, and follow the opponent's games down that branch only. You are looking for the point where their games thin out. While thirty of their games follow a line, they know it at least as well as you do. Where the count drops to three or four, they are close to the edge of what they have met, and one prepared idea just past that edge is worth more than ten moves of theory before it.
What you should not do is choose the reply by their results. If they score badly against the Queen's Indian and you have never played it, that is their weakness and not your opportunity.
What results can and cannot tell you
Scores are the most tempting numbers on the page and the least reliable. A line where your opponent has one win and one loss is not a line they "score 50% in". It is two games. As a working rule, ignore a score that rests on fewer than five games, and be cautious below twenty.
Check who the games were against as well. A player who beats lower-rated opposition in a sideline and avoids it against their equals is telling you something, but you will only see it if you separate the games by the rating of the opponent.
They can do this too
Your games are as public as theirs. Before an important game, look yourself up and read the result as your opponent will: what do you always play, and where would you aim if you were preparing against you? You do not need to change your repertoire because of it. You do need to know which of your lines is the expected one, because that is where their evening went.
Know when to stop
One evening should produce three things you can write on a card: the line you expect, the reply you have chosen, and the move where their experience runs out. If you have those, stop. Past that point you are not preparing for the opponent any more, you are just studying openings at an inconvenient time.
Doing it in Chess Genie
Counting by hand means finding the games, loading them into a database and filtering position by position. Opponent preparation in Chess Genie does the collecting and the counting, and the numbers in the example above come from it. The video walks through a full lookup; the steps follow.
Video: Prepare against a specific opponent in Chess Genie
1. Look the player up
Type a name and pick the player from the list, or enter their FIDE ID, which is on their FIDE profile and on most tournament pairing pages. The lookup searches chess-results, Lichess broadcasts and live-board relays and merges what it finds.

The summary is worth a glance before anything else. Many events publish pairings and results but not the moves, so the number of games is normally well below the number of tournaments.
2. Read the report for the colour they will have
Choose Their Games As White or Their Games As Black. The report gives their first moves by share, and then the lines that stand out.

This opponent opens 1.d4 in 82% of their games as White. The lines listed are ones they play quickly across many games, which is a reason to expect them and no reason to fear them.
3. Put your position on the board
Prepare as black opens a board. Play your own moves and theirs until you reach the position where the choice is theirs. The arrows are their moves from that position, with the number of games on each.

4. Filter by date
Switch Games from to the last two years and the same position is counted again on recent games only.

The checkbox next to it filters by the rating of the players they faced, for the question about who the games were against.
5. Follow your branch down the tree
Back on the player page, the opening tree lists every line they have played, move by move, with the number of games, the result and the score. The score is greyed out below five games, for the reason given above.

The report also ties each line to your own repertoires. A line you already cover carries a Train this branch link, and on the lines it suggests aiming for, Build a repertoire from here starts one at that position.
What it costs
Looking up a player needs a free account. A free account can start one new lookup a day, up to a weekly limit, and opening a player somebody else has already looked up does not count. Tier 1, at €5 a month or €50 a year, removes the limit.
If the opponent is one of many, in an open where you learn each pairing shortly before the round, there is a faster route: prepare the whole field at once.