{"slug": "rank-100-resumes-into-a-top-10-excel-table-with-claude-code", "title": "Rank 100 resumes into a top-10 Excel table with Claude Code", "summary": "A developer published a walkthrough for using Claude Code with two skills and the DocStrange document parser to rank a folder of resumes into a top-10 Excel table, with per-criterion points and quoted justifications for each candidate. The setup keeps the agent in an advisory role, requiring a human to make hiring decisions and forbidding scoring on protected attributes such as gender, age and ethnicity. The author warns that scoring the same resume twice can yield different numbers, that resumes are personal data sent to Anthropic in the default cloud mode, and that the prompt's exclusions are not a legal compliance check.", "body_md": "One vacancy, a hundred responses, and a recruiter reading them by eye. That is a whole day, sometimes two.\n\nHere 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.\n\nThree steps:\n\n`rating.xlsx`.\nYou need a paid Claude plan that includes Claude Code. Use made-up resumes while you practise.\n\n**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.\n\n**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.\n\n**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.\n\nAsk any strong LLM for the instruction. Fill the brackets:\n\n```\nI need an instruction for an AI agent that evaluates resumes for the vacancy [job title] at [company or industry].\nWhat is known: [3-5 must-have skills; what the person must deliver in the first 6 months; work format; city].\nThe 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.\nRules 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.\n```\n\nSave 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.\n\nA skill is a folder with a `SKILL.md` that tells Claude how to do one job. Two skills are used:\n\n**DocStrange** turns PDFs, Word files, scans and photos into clean text. It needs Python 3.8+.\n\nGive Claude Code this prompt, replacing the bracketed links with the sources of the two skills:\n\n```\nI need two skills and one program.\nSkills: [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>/.\nProgram 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.\nInstall nothing else without my \"yes\". At the end, show what is installed.\n```\n\nIf a skill is not picked up afterwards, restart Claude Code.\n\nDocStrange 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:\n\n```\ndocstrange resume.pdf --output-file resume.md\ndocstrange resume.pdf --gpu-mode --output-file resume.md\n```\n\nThe first line uses the cloud, the second runs locally on a GPU.\n\nPut 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:\n\n```\nYou are a recruiter's assistant. The criteria and rules are in the file criteria.md, follow them strictly.\nThe 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].\nFor 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.\nUsing 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.\nDo not use name, photo, age, gender or contacts in the scoring and do not output them in the table.\nFirst do 3 resumes and show me, then the rest.\n```\n\nLook 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.\n\nTwo tests before you trust it:\n\nOn a real batch, review ten resumes from the lower half by hand once a week. Are there strong ones down there?\n\nHard 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.\n\nA `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.\n\nThe full walkthrough with the prompts is on our blog: [Resume screening agent with Claude and DocStrange](https://aiskills.team/en/blog/resume-screening-agent-claude-docstrange?utm_source=devto&utm_medium=article&utm_campaign=mp_resume)\n\nGenerate 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.\n\n*This article was written with the help of AI and fact-checked by the AI SKILLS team.*", "url": "https://wpnews.pro/news/rank-100-resumes-into-a-top-10-excel-table-with-claude-code", "canonical_source": "https://dev.to/aiskillsteam/rank-100-resumes-into-a-top-10-excel-table-with-claude-code-4nn", "published_at": "2026-11-30 14:41:07+00:00", "updated_at": "2026-11-30 14:45:58.908023+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "large-language-models", "ai-ethics"], "entities": ["Claude Code", "Anthropic", "DocStrange"], "also_reported_by": [], "takeaway": "Wiring Claude Code skills to the DocStrange parser turns a resume folder into a ranked Excel table with per-criterion points and quoted reasons, but because repeated scoring of the same resume yields different numbers, the output should be treated as a hint reviewed by a human rather than an automat", "recommendation": {"advice": "When building a document-ranking agent, keep it to ranking and explaining with quoted evidence, require human approval of criteria and stop conditions, and test only on fabricated documents before touching real personal data.", "playbook": "agent-architecture", "playbook_url": "https://wpnews.pro/playbooks/agent-architecture"}, "alternates": {"html": "https://wpnews.pro/news/rank-100-resumes-into-a-top-10-excel-table-with-claude-code", "markdown": "https://wpnews.pro/news/rank-100-resumes-into-a-top-10-excel-table-with-claude-code.md", "text": "https://wpnews.pro/news/rank-100-resumes-into-a-top-10-excel-table-with-claude-code.txt", "jsonld": "https://wpnews.pro/news/rank-100-resumes-into-a-top-10-excel-table-with-claude-code.jsonld"}}