indexgap prompts

command

Check a prompt set and build a paste pack.

lint checks prompts.csv (id, prompt, words, type, persona, country, branded) before any answer is collected: a discovery prompt that names the brand, a category word in a buyer-words prompt, too few buyer-words prompts, fewer than twenty discovery prompts, near-duplicate prompts. pack writes the instructions and prompts for collecting answers by hand in the apps — a temporary chat, the copy button so links survive, answers/<engine>/<id>.md, and three samples for the ten prompts closest to buying.

Usage

usage: indexgap prompts [-h] [--brand BRAND] [--category-words CATEGORY_WORDS]
                        [--out OUT] [--engines ENGINES] [--strict]
                        {lint,pack} csv

positional arguments:
  {lint,pack}           lint checks the set, pack builds the paste pack for
                        collecting answers by hand
  csv                   prompts.csv: id, prompt, words, type, persona,
                        country, branded

options:
  -h, --help            show this help message and exit
  --brand BRAND         the brand name or brand.json
  --category-words CATEGORY_WORDS
                        category words, comma-separated: buyer-words prompts
                        must not contain them
  --out OUT             where to write the paste pack (pack)
  --engines ENGINES     engine folders, comma-separated; default chatgpt,
                        gemini, perplexity
  --strict              exit non-zero when there are critical findings — for
                        CI

The rest of the pipeline

← diff · analytics →