Skip to content
Swap Meet

Free

No. 034Free

prompt-grounding: check a prompt against the files, then rewrite it

Extracts every claim in a prompt, greps the project for the terms, and sorts them into accurate, invented, conflated and misframed.

by Lucas Cooper-Bey

About it

prompt-grounding pulls every factual claim out of a prompt, reads the docs, and greps each term. Claims are marked accurate, invented, conflated or misframed, each with the file when there is one. It states the real gap in one or two sentences and rewrites the ask in the docs' own terms. If the prompt is already grounded, it says so and skips the rewrite. Limits: It needs the project files and docs you want checked. It produces an audit and a revised prompt. It does not prove a claim true beyond the files it read. It will not call the prompt fine when it found terms that appear nowhere. It does not skip the grep. Archived docs are in scope, because a decision may already have been made there. Door 35 of 100 Doors.