Posting Triage

Reads a job posting and answers APPLY, FLAG, SKIP, or DEAD, with the line from the posting that decided it.

Jared Narvaez, October 2026 · Code on GitHub · Design doc · Deploy guide

Terminal recording: triage run on four real postings returns APPLY for Heliux; FLAG for Patreon, quoting its graduation window, December 2027 to June 2028; SKIP for Amazon, quoting the role level SDE II; and DEAD for Rhombus, with the company's careers page.
A live run on Claude Haiku, recorded Oct 29, 2026 in real time from this script.

A posting that was never a fit still costs a tailored resume and an application, and usually ends in an automatic rejection. Keyword filters miss the fields that decide fit (role level, degree, graduation window, years of experience, location) because postings state them in sentences, not titles. Some links are dead, though a closed posting can still point to other open roles. And when you ask an LLM "should I apply?", it answers in its own words, so you can't check its reason against the posting.

So the LLM only reads. It fills in a form with an exact quote for each field, code checks that every quote is in the posting, and plain rules make the decision.

How it works

Flowchart: posting URL, liveness check (removed → DEAD with careers page; unreadable → FLAG couldn't verify), Claude fills a form with an exact quote per field, code checks every quote is in the posting (if not, even after a retry → FLAG unless a verified field already SKIPs), then rules plus the profile give APPLY, FLAG or SKIP with the deciding quote.
  1. Check the link is live. Greenhouse, Lever, Ashby, and Workday links go through their job-board APIs; other pages open in headless Chromium. A removed posting comes back DEAD with the company's careers page. A page that can't be read is FLAG, never a guessed DEAD.
  2. Claude fills in role type, level, degree, graduation window, experience, location, and track, each with the exact quote it came from, or nothing if the posting doesn't say.
  3. Code checks each quote is really in the posting. A missing quote gets one retry. If it's still missing, that field can't decide anything.
  4. Rules compare the fields with the applicant's profile. Every rule runs, any SKIP beats any FLAG, and the verdict names the field and quote that decided it.

Results

I tested three approaches with three Claude models on 200 synthetic postings, through the Batch API, on Oct 24, 2026. Each posting is generated from a target verdict, a deciding field, and a hand-reviewed phrase library, so the right answer is known before any model sees it.

Bar chart of accuracy on 200 synthetic postings: keyword baseline 55.5%, direct prompt Haiku 99.5%, Sonnet 94%, Opus 100%; pipeline 100% on Haiku, Sonnet and Opus. Whole-run costs: $0, $0.03, $0.05, $0.17, $0.44, $0.62, $0.97.
ApproachApply precisionApply recallAccuracyRight reasonCost
Keyword baseline (no LLM)54/98 = 55.1%54/70 = 77.1%111/200 = 55.5%–$0
Direct prompt · Haiku 5.570/70 = 100%70/70 = 100%199/200 = 99.5%199/200 = 99.5%$0.03
Pipeline · Haiku 5.570/70 = 100%70/70 = 100%200/200 = 100%200/200 = 100%$0.05
Direct prompt · Sonnet 5.567/70 = 95.7%67/70 = 95.7%188/200 = 94%187/200 = 93.5%$0.17
Pipeline · Sonnet 5.570/70 = 100%70/70 = 100%200/200 = 100%200/200 = 100%$0.44
Direct prompt · Opus 5.570/70 = 100%70/70 = 100%200/200 = 100%200/200 = 100%$0.62
Pipeline · Opus 5.570/70 = 100%70/70 = 100%200/200 = 100%200/200 = 100%$0.97

Apply precision is how many of the postings an approach said to apply to it should have. Right reason means the verdict and the deciding field are both right. In the direct prompt, the LLM gives the verdict itself; it exists only as a comparison. Cost covers the whole run (200 synthetic plus 5 real postings) at batch price.

Keyword rules got 55.5%. They have no FLAG, so every posting that needed a human look counted as wrong. The pipeline scored 100% on all three models. The direct prompt ranged from 94% on Sonnet to 100% on Opus, and most of Sonnet's misses applied the rules in the wrong order, which in the pipeline is tested code. Haiku is the default because it tied the best score at $0.05 for the whole run, against $0.97 for Opus.

On this benchmark, accuracy alone doesn't justify the pipeline, since the direct prompt on Opus also scored 100%. The pipeline earns its place elsewhere. Its quotes are checked against the posting (all 377 of the direct prompt's quotes were accurate too, but nothing checked them), its rules can't change between models, and a wrong answer points to one misread field that can be tested and fixed.

The scores are an upper bound, because the postings are synthetic. Only 5 real postings are hand-labeled. Every LLM approach got all 5 right and the baseline got 3, but all 5 are SKIPs, so they say nothing about apply precision.

Deployment

A client with a bearer token calls a Lambda function URL. Inside the Lambda function, FastAPI checks the token, rate limit, timeout and URL, then the pipeline reads job-board APIs or opens pages in headless Chromium through a filtering proxy, and calls the Claude API. Parameter Store holds the key, token and profile; logs go to CloudWatch; deploys push an image from a Mac to ECR.

This diagram is wider than the page. Scroll it sideways or open it full size.

One Docker image runs both the command-line tool and a FastAPI REST API. It runs on AWS Lambda (arm64, 2 GB) behind a function URL, with the image in ECR, the API key, token, and profile in Parameter Store, and logs in CloudWatch. A script deploys it from my Mac with temporary credentials, so no long-lived AWS keys exist. Removing Chromium's unused media libraries took the registry's vulnerability scan from 337 findings to 0. A new copy of the function takes about 16 s to start and about 30 s for its first Chromium page; after that, a triage takes 3 to 11 s.

Deploy script: pytest, arm64 Docker build, 10-check smoke test, push to ECR, Lambda update pinned to the image digest, then a health check; on failure it stops and prints the rollback command for the previous digest.

The API is private. Every triage spends money on the Claude key and runs a browser on a server, so this page shows recorded results instead of calling it. Its guardrails:

POST /triage: no valid bearer token → 401; over 10 requests a minute → 429 with Retry-After; URL not public http(s) on ports 80/443 → 400; otherwise triage runs with a 90 s timeout, at most 2 at once, and Chromium traffic goes through a filtering proxy.

Over 1,500 unit tests run with no network or API calls, plus 6 in a real headless browser and a 10-check smoke test of the Docker image. GitHub Actions runs the unit tests on Python 3.11 and 3.13 and builds the arm64 image on every push.