Two to three pages, never the whole document. A client's assessment tool answered 24 questions from 100 pages of reference text, and a skill that rereads all of it for every question forgets half and exhausts the context window. I advised cutting each 50-page document to about 30 pages and giving each question its own 2 to 3.
I run my AI agency from Dubai, and I coach clients on how their skills read their own material. In this coaching call the client had a skill that wrote a personal report for each person, and he fed it two long reference documents because every page in them mattered to him. The result was that the skill read everything, held on to part of it and dropped the rest. The sections below show why that happens, how I would prepare the documents, and what the work looks like before it starts paying off.
A skill that reads 50 pages for every question forgets half of them
The client described the setup as a beautiful 50-page document on all the nuances of one set of behaviours, and a second one of the same size for the other set. The assessment behind it had 24 questions. His plan was to hand the skill the full document each time, because the pages are so important.
My reading was that this is exactly what eats the context window. As I put it on the call, the skill goes through the 50 pages and forgets half, and then the context is gone. When the skill works on one specific question, it does not need to read all 50 pages. It needs the part that belongs to that question and nothing else. That is the separation I had in mind when I said we are in the AI era now and need to split the material up.
Convert the documents first, then cut them to about 30 pages
The two documents were written in a human way, the way people read. My first step would be a fresh chat, so that the context is completely clean, and one window only. In that window I would change each file into a machine-readable form, one that Claude can read perfectly.
I was sure that each 50-page document comes down to about 30 pages this way. That is the base the questions then draw from, and it is smaller before a single question has been assigned its pages.
The skill itself stays one packet. I see one skill as one employee, who should know everything. The split I am describing happens inside that packet, per question, so that the employee looks up the pages for the question in front of him and does not reread the whole library each time.
Every question gets its own 2 to 3 pages
With 24 questions, every question should have two to three pages. I told the client to let it be three pages, and I noted that the sets overlap. The aim is to reduce, in my words, "the amount that it needs to read as much as possible".
The client's own plan was practical. He would ask Claude which parts of the 50 pages are relevant for each question, save each result as a markdown file, and then tell the skill to look at that file when it answers that question. I added that he might not have to do all of it himself, because someone else can ask the same question for every question in turn. It takes time, but Claude can do it.
Bottom line: less context per question, and more work at the start
So how many pages should an AI get for each question? Two to three, drawn from a base that has first been cut to about 30. I could not give a general rule for the length of a document on the call, only that the less it has to read, the better. The client's case was concrete, 24 questions and 100 pages, and that is what the numbers rest on.
The price is effort at the beginning. I told him: "Automation sounds super sexy, but it always takes a long way to be beneficial." Once it is up and running, I said, it is cool. If you have a long reference document behind a skill, start with one question and give it its own 2 to 3 pages before you touch the rest.