One vacancy, a hundred responses, and a recruiter reading them by eye. That is a whole day, sometimes two.
Here is a setup that turns a folder of resumes into one Excel file: the ten best, with points per criterion and a short "why" quoted from each resume. The agent only ranks and explains. A human decides who gets invited.
What you build
Three steps:
- An LLM writes your screening criteria and the agent's instruction.
- You install two skills and a resume-to-text program (DocStrange) in Claude Code.
- Claude scores every resume in a folder and builds
rating.xlsx.
You need a paid Claude plan that includes Claude Code. Use made-up resumes while you practise.
Three rules before you start
A human decides. The agent returns a ranking and explanations. Scoring the same resume twice can give different numbers, so the ranking is a hint, not a verdict.
No screening by protected attributes. Gender, age, marital and parental status, ethnicity, region of origin and health must not enter the score. Some countries regulate automated candidate screening separately, so check the rules for your case. The prompt below forbids these attributes in plain text, but that is not a legal check.
A resume is personal data. Claude reads it, so it goes to Anthropic. DocStrange's default mode sends files to its developer's cloud. Without consent from the candidates and the employer, test only on fake resumes.
Step 1: criteria with weights
Ask any strong LLM for the instruction. Fill the brackets:
I need an instruction for an AI agent that evaluates resumes for the vacancy [job title] at [company or industry]. What is known: [3-5 must-have skills; what the person must deliver in the first 6 months; work format; city]. The instruction must contain: 5 criteria with weights adding up to 100 and, for each, what counts as confirmation in the resume; stop conditions, only what is directly needed for the work (for example, a required language or a work permit); the answer format for each resume: points per criterion, total, 2-3 lines of "why" with quotes from the resume, what to clarify at the interview. Rules for the agent: do not take into account or output gender, age, date of birth, photo, marital status, children, ethnicity, region of origin and health; never reject anyone yourself, only mark "condition X not met" for the recruiter; if there is no confirmation in the text, write "no data" instead of guessing; a human makes the decision. Save the result as criteria.md. The recruiter should approve the criteria and weights: that is their call. Keep stop conditions few. Each one cuts people off without their resume being read, so a human should review that list.
Step 2: install the tools
A skill is a folder with a SKILL.md that tells Claude how to do one job. Two skills are used:
- job-description turns a description of the need into a job description and a criteria table (indicator, must-have or nice-to-have, pass criterion, where to look for evidence, weight). It outputs a Word document, so Claude Code may ask for a Word library. Use it if the client has no job description.
- xlsx creates Excel files with formulas instead of typed-in numbers, plus recalculation and error checks.
DocStrange turns PDFs, Word files, scans and photos into clean text. It needs Python 3.8+.
Give Claude Code this prompt, replacing the bracketed links with the sources of the two skills:
I need two skills and one program. Skills: [link to job-description], [link to xlsx]. For each link download only that folder, read SKILL.md, briefly say what it does and what it requires, and put it into ~/.claude/skills/<folder name>/. Program DocStrange: install it with pip install docstrange into a separate Python environment. Do not run it on real files and do not sign in to any accounts until I say so. Install nothing else without my "yes". At the end, show what is installed. If a skill is not picked up afterwards, restart Claude Code.
DocStrange has two modes. The default is the cloud: files go to the developer's server, and the free limit after docstrange login is 10,000 documents a month. The local mode, where nothing leaves the machine, is described for a graphics card (CUDA). The library has a CPU option too, but we did not check it. Claude Code reads ordinary text PDFs itself, so DocStrange matters mainly for scans. Test on one fake file:
docstrange resume.pdf --output-file resume.md docstrange resume.pdf --gpu-mode --output-file resume.md The first line uses the cloud, the second runs locally on a GPU.
Step 3: a hundred resumes, the top ten
Put resumes in resumes/ next to criteria.md. To practise, ask Claude Code: "Create 10 made-up resumes for the position [job title] of different levels, as PDF". Then run:
You are a recruiter's assistant. The criteria and rules are in the file criteria.md, follow them strictly. The resumes are in the folder resumes/. Read ordinary files yourself, and turn scans and photos of resumes into text with docstrange in the mode [cloud / local]. For each resume give points per criterion, a total and 2-3 lines of "why" with quotes from the resume. Do not exclude anyone who fails a stop condition: list them on a separate sheet with the name of the condition. Using the xlsx skill, build the file rating.xlsx: a "Ranking" sheet with the 10 best (place, file, points per criterion, total, why, what to clarify at the interview); a "Others" sheet in the same format; a "Criteria" sheet with the criteria and weights; a "Stop conditions" sheet. Calculate the total with a formula by weights. Do not use name, photo, age, gender or contacts in the scoring and do not output them in the table. First do 3 resumes and show me, then the rest. Look at the first three. If the scores rest on quotes from the text, let it run on the rest. If they rest on general words, add to the criteria what counts as confirmation and repeat.
Check it for bias and noise
Two tests before you trust it:
- Make pairs of near-identical resumes that differ only in name, gender and age. The scores must match.
- Run the same ten resumes twice and compare the order. Do not hide noticeable differences: the ranking is a hint.
On a real batch, review ten resumes from the lower half by hand once a week. Are there strong ones down there?
Where it breaks
- DocStrange does not read a scan. Switch mode (cloud or GPU), or save the page as a better-quality picture first.
- Empty cells where totals should be. Ask Claude Code to recalculate the file and remove errors.
- A skill does not trigger. Name it in the task: "Use the xlsx skill".
- All scores look alike. The criteria are too general. Add what counts as confirmation for each.
- The vacancy is too narrow. The job-description skill can suggest which requirements to relax.
Hard limits: the agent never rejects or invites anyone. Do not add criteria that hint at age or family status ("young team", "no children", "under 35"). Do not leave tables with real candidates in shared folders.
Result
A rating.xlsx with a "Ranking" sheet (top ten with points and reasons), "Others", "Criteria" and "Stop conditions". The recruiter reads ten resumes instead of a hundred, and knows why these ten.
The full walkthrough with the prompts is on our blog: Resume screening agent with Claude and DocStrange
Your turn
Generate 10 fake resumes for a role you know, write criteria.md with step 1's prompt, and run step 3 on three of them. Then build the near-identical pair test and check that the scores match.
This article was written with the help of AI and fact-checked by the AI SKILLS team.
