Build a content-brief and draft-scoring tool: given a keyword, fetch the top-ranking pages from a real search API, extract each page's title, headings, and body text. Compute simple term-frequency statistics across the results — median word count, recurring subtopics, the most frequent meaningful terms — without any dedicated NLP service. Send that analysis to an LLM to produce a brief: a suggested outline, a target word count, and terms and questions to cover. Build a separate scoring command that compares a draft against a previously generated brief, printing a coverage percentage and a list of missing terms. Cache every fetched page and API response so re-running a brief costs nothing extra. Do not build a writing editor with live scoring, site audits, or rank tracking — this outputs Markdown briefs you write against in your own editor, and page scraping will occasionally break on some sites, which is worth saying plainly in the README rather than pretending otherwise.