Style Guide Prompt Injector

Convert a writing style guide into an injectable prompt block

Ad placeholder (leaderboard)

Style guide prompt injector

Brand voice docs are written for humans — long, hedged, full of examples and rationale. An LLM does not need any of that; it needs a short list of concrete rules it can follow. Pasting the whole guide on every request burns context and money while burying the instructions that actually change the output. This tool turns a sprawling style guide into a tight, injectable block of imperatives that fits a token budget you choose.

How it works

The tool breaks your guide into individual rules — one per line or bullet — then cleans each one: it drops filler (“we generally try to”), removes near duplicates, and rewrites the rule as a short imperative (“Use active voice”). It then assembles the block in priority order, adding rules until your token budget is reached, so the sections you marked as most important survive even if everything cannot fit. You get a compact block plus a count of how many rules were kept and dropped, runnable as a system message or prompt prefix.

Tips and example

  • Feed it bullets, not essays. A guide already written as short rules compresses cleanest. If yours is prose, the tool will still extract rules but you will get more from it after a quick tidy.
  • Prioritise voice over formatting. Tone and word-choice rules change output the most; spacing and punctuation conventions matter less to a model. Rank accordingly when the budget is tight.
  • Use it as a system message. Persisting the block in the system role keeps the style on across a long conversation without re-sending it each turn.
  • Tune the budget to the job. Short social copy can spare more budget for style than a long document where rules compete with your content.
Ad placeholder (rectangle)