Search a curated catalog of system prompts, fill the variables, and copy the finished result.
Runs in your browser
Try an example
Library
100 of 100 prompts
100 results
Prompt detail
Select a prompt from the library to fill its variables
Search, open a card, fill each field, then copy the finished prompt. Nothing leaves your browser.
Updates as you type
Prompts are starting points, not verified-safety guarantees for agentic use — review any prompt before pointing it at production systems. Looking for the opposite direction? compress an existing prompt or build one from a form.
Examples
Code review prompt
Input
Search: code review → LANGUAGE = TypeScript, STYLE = concise
Output
A ready-to-paste reviewer role prompt with both placeholders filled
Two occurrences of the same variable are driven by one input and the token estimate updates with the values.
Required-field guard
Input
Leave LANGUAGE empty or whitespace-only
Output
Copy is blocked with an amber inline hint; copy raw remains available
Whitespace-only values count as empty so the pasted prompt cannot contain a blank critical instruction.
Structured analyst role
Input
Category: Data & Analysis → OUTPUT_FORMAT = JSON
Output
An analyst prompt that asks for schema-valid JSON output
Category chips and token-AND search make the right template easy to find before filling variables.
About this tool
System Prompt Library is an offline catalog of curated starting prompts for coding, writing, data analysis and agent operations. Every entry is tagged, searchable and contains {{VARIABLE}} placeholders with labels, examples and required flags — open a card, fill the fields, and the preview updates immediately.
Search is case-insensitive and token-AND ranked: title matches score highest, then tags, then body text. It folds diacritics and typographic punctuation, so uber finds über and don't finds don’t. Category chips narrow results, and a copy guard stops you from pasting a prompt with an empty required variable while a copy-raw override keeps the placeholders when you want them.
The token estimate is computed from the substituted output rather than the template body, so large variable values are reflected in the number you budget against. Favorites, recently copied prompts and remembered variable values live in localStorage only; the dataset, search and substitution never leave your browser tab.
What this tool does not do
The catalog is a curated static dataset; it does not create or rewrite prompts.
No model API calls are made — prompt quality is not verified at runtime.
Token estimates use the four-characters-per-token heuristic, not a model-specific tokenizer.
Variable values are remembered in localStorage and can be cleared by the browser.
Favorites export contains the full prompt bodies, not just ids, so exported copies can go stale when the dataset is revised.
How to use this tool
1
Find a prompt
Type into the search field or pick a category chip; press / from anywhere to focus search and use arrow keys and Enter to open a card.
2
Fill the variables
Each placeholder has a labelled input and an example value; required fields are enforced after trimming whitespace.
3
Copy the result
The preview shows the substituted prompt and its approximate token count. Copy is enabled once required fields are filled, with a copy-raw override.
4
Keep favorites
Star prompts for later, export favorites as JSON for a backup, and use ?p=id deep links to share a specific entry.
Use cases
Agent setup
Start from a reviewed operational role prompt instead of writing one from scratch.
Writing style
Find tone and editing prompts, set the audience variable, and paste the finished instructions.
Team onboarding
Share deep links to a vetted prompt so everyone starts from the same baseline.
Prompt metadata
Field
Purpose
Category
Coding, Writing, Data & Analysis, or Agents & Ops.
Tags
Extra search terms and use-case hints.
Variables
Name, label, required flag and an example value for each {{PLACEHOLDER}}.
License
Original or CC0; attribution accompanies copy when a license requires it.
Token estimate
Approximate ceil(characters / 4) of the substituted text.
Placeholders inside code fences are substituted too; values are never re-substituted recursively.
Common mistakes
Mistake:Copying with unfilled placeholders.
Fix:The required-field guard blocks copy; use copy raw only when you intend to keep them.
Mistake:Treating the token estimate as tokenizer-exact.
Fix:It is ceil(characters / 4); use a token counter for a specific model's exact count.
Fix:They are starting points; review any prompt before production or autonomous use.
Mistake:Expecting to author a custom prompt here.
Fix:Use a prompt template builder for new templates; this catalog is curated and read-only.
Mistake:Storing sensitive values in a variable field.
Fix:Remembered values are kept in localStorage on this device; clear them if shared.
Frequently asked questions
What makes a good system prompt?
A good system prompt states the role in one line, defines the job concretely, sets verifiable boundaries (what it must never do), and specifies an output shape the calling code can rely on. Vague demands like "be helpful and accurate" add nothing because the model cannot check them; instructions that conflict or lack a stop condition cause drift on long tasks. Every prompt in this library was curated against that checklist, and the "System prompt critic" entry lets you score your own the same way.
How long should a system prompt be?
Long enough to pin behavior, short enough to stay in context for the actual task. Most of the prompts here are 300–700 characters (roughly 75–175 tokens) because a compact prompt leaves room for conversation and retrieved content. Grow a prompt only in response to an observed failure: each added rule should trace to a specific misbehavior you saw, and rules that never fire should be removed again.
How do the variable placeholders work?
Placeholders use UPPER_SNAKE_CASE inside double braces, like {{LANGUAGE}}. When you open a prompt, each placeholder becomes a labeled field with an example value; filling one field substitutes every occurrence of that placeholder in the body. Substitution is single-pass, so a value that itself contains {{TEXT}} is never re-substituted. Required variables must be filled before copy unlocks — whitespace-only values count as empty — while optional variables fall back to their examples if you leave them blank.
Can I use these prompts commercially?
Yes. Every entry is either original to this project or CC0 (public domain dedication), so there are no attribution requirements on what you copy or ship. Each prompt shows its license in the card and detail view, and an optional switch appends a license line to copies if you want it. Entries under notice-required licenses (like MIT) were deliberately excluded from the catalog so copies carry no legal strings.
Are these prompts model-specific?
No — they are written to be model-agnostic: role, boundaries, output shape, and stop conditions work across major assistant models. Phrasing conventions differ slightly between models, so treat a prompt as a strong starting point and iterate on the model you target. The token estimate shown is approximate (characters ÷ 4) and real counts vary a little per tokenizer.
Does anything I type leave my browser?
No. The dataset ships with the page, search runs locally, and your variable values, favorites, and recently-copied list live only in your browser's localStorage. There are no network calls after the page loads and no analytics on copied content — which also means the tool works with the tab open even if you later go offline, but a first load needs the page itself, like any web page.