- Home
- Skills
- Productivity
- Lab Results to Spreadsheet: Blood Test Extractor
Lab Results to Spreadsheet: Blood Test Extractor
by Nate Freed
Turn lab reports, portal screenshots and exports into a checked spreadsheet in US units, with every value traced to its source line.
$5
Lab Results to Spreadsheet: Blood Test Extractor
Example session with this skill installed
Here's my latest blood test from a UK lab. Can you put the results in a spreadsheet in US units? (A photo of a chemistry printout: glucose 5.9 mmol/L, creatinine 84 umol/L, eGFR >90, total cholesterol 5.6 mmol/L, HDL 1.30 mmol/L, vitamin D 48 nmol/L, CRP 0.8 mg/L, T4 9.1 with no unit, urine protein Negative; collected 14/03/2026.)
- Read your context and instructions
- Compiled the lab results to
- Generated the data export
Here are your results from 14 March 2026 in US units.
| Test | Result | Reference range | Flag | As reported |
|---|---|---|---|---|
| Glucose, fasting | 106 mg/dL | 70 - 99 | H | 5.9 mmol/L |
| Creatinine | 0.95 mg/dL | 0.68 - 1.24 | 84 umol/L | |
| eGFR | >90 mL/min/1.73m² | |||
| Total cholesterol | 217 mg/dL | <193 | H | 5.6 mmol/L |
| HDL cholesterol | 50 mg/dL | >39 | 1.30 mmol/L | |
| Vitamin D, 25-OH | 19.2 ng/mL | 20.0 - 70.1 | L | 48 nmol/L |
| CRP | 0.8 mg/L | <5 |
The ranges and flags are the lab's own. The ranges have been converted to the same units as the results.
One question: is the T4 result (9.1, no unit printed) free T4 or total T4?
Not in the table: urine protein (Negative). It's a qualitative result.
Files: results.csv (every result, with a status column) and 2026-03-14.checked.json.
results.csv
CSV · data export
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Turns blood test and lab reports into a spreadsheet you can trust. It works with PDFs, photos, scans, patient-portal screenshots, CSV exports and pasted text.
Your agent transcribes the report and maps each test to a catalog of about 90 common tests: CBC and differential, metabolic and liver panels, lipids, A1c, thyroid, iron, vitamins, inflammation markers, hormones and vitals. A standard-library Python script then does all the unit math and checks the work:
- Converts SI results (mmol/L, umol/L, g/L, nmol/L) to US conventional units, including reference ranges
- Ties every value to the exact line it came from, and flags values that don't appear in their quote
- Puts unclear results (missing unit, CRP vs hs-CRP) and tests it can't map in front of you instead of dropping them
- Removes names, dates of birth and record numbers, and flags any it finds left in the transcript
- Combines several reports into one table plus a chart-ready trends file (one row per test, one column per date)
Extraction only: it repeats the lab's own flags and ranges and never interprets or diagnoses.
Converts SI to US conventional units only, not the reverse (original values are kept alongside). Vitals are the exception: weight, height and temperature are stored in kg, cm and °C. Covers about 90 common tests; anything else is listed as unmapped with its source line rather than converted. Handwriting is read with lower confidence and needs a second look. For multi-date portal exports, the script checks values against their row and their date order but can't read column headers, so the agent checks each date column by eye. It does not interpret results, judge them, or give medical advice.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 7 days ago
- Software
Python 3.8+ (standard library only)
Permissions
File Scopes
No network access. The script reads only the files named on its command line and refuses to overwrite existing outputs unless told to. Personal details are removed from transcripts before anything is saved.
What's inside
Frequently Asked Questions
New in Productivity
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Productivity.