Overview
Prompt Library is an open-source, Markdown-first prompt knowledge base: 1,000 structured templates across 75 categories, each stored as an individual Markdown page you can browse on GitHub, clone offline, adapt in any editor, or consume programmatically via the JSON catalog.
Most prompt collections are long lists of one-line instructions. Prompt Library is built for real execution — every template carries role and domain context, the decision it supports, reusable {{placeholders}}, known facts and assumptions, scope and exclusions, evidence requirements, analysis steps, risks and counterarguments, a required output structure, success measures and human-review gates.
It suits research teams, software engineers, operators, consultants and anyone who wants repeatable, reviewable AI output instead of ad-hoc prompting. No runtime, API key, account or database is required — the library works with ChatGPT, Claude, Gemini, Copilot, local models or application-specific agents.
Use Cases
- Investment and market research — company intelligence, evidence tables, source hierarchies and contradiction handling built into the template.
- Enterprise architecture — options comparison, criteria weighting and risk registers for technology decisions.
- Software delivery — code review, test generation, incident postmortems and release notes with defined output contracts.
- Regulated industries — healthcare, finance, legal and pharma templates with human-review gates and uncertainty controls.
- Executive communication — board reports, strategy memos and change-management narratives with audience and word-limit placeholders.
- HR and people operations — job descriptions, interview rubrics, workforce planning and org-design prompts.
- Marketing and growth — positioning, launch plans, content briefs and customer-discovery synthesis.
- Agent and automation pipelines — feed
prompts.json into search tools, websites, desktop apps and agents.
A Day With Prompt Library
You have a competitive-analysis deadline at 3pm. Instead of drafting a prompt from scratch, you open CATALOG.md, jump to market-intelligence, and copy the competitor-teardown template. You replace {{company}}, {{industry}} and {{decision}}, paste in the two analyst PDFs you trust, and add a source hierarchy that excludes vendor marketing.
The model returns an evidence table with confidence labels. You run the built-in challenge prompts — "challenge the three most important assumptions" — spot a shaky market-share claim, verify it against the primary filing, and rewrite the recommendation for your executive audience in 200 words. The final prompt and validated output are saved alongside the project files. Tomorrow, a teammate reuses the exact same template for a different market and gets the same rigor without the ramp-up.
Features
- 1,000 templates across 75 categories — business, technology, product, people, finance, research and regulated industries.
- One Markdown page per prompt — diffable, forkable, greppable, offline-friendly.
- Reusable
{{placeholders}} with documented inputs and output contracts.
- Research-grade patterns — source hierarchies, triangulation, contradiction handling, confidence labelling.
- Professional safeguards — explicit human-review guidance for high-impact domains.
- Machine-readable catalog —
prompts.json with IDs, categories, paths and placeholder lists.
- Model-agnostic — works with any assistant; no lock-in, no keys, no accounts.
- Central CATALOG.md index plus category READMEs for human browsing.
Installation
Prompt Library is content, not software — pick the path that fits your workflow.
# Clone the library
git clone https://github.com/PeaBox-Lab/PromptVault.git
cd Prompt Library
# Or download the ZIP from GitHub (Code → Download ZIP) and extract it
# Search with ripgrep
rg -n "market research|competitive analysis" prompts/
rg -o '\{\{[a-zA-Z0-9_]+\}\}' prompts/ | sort | uniq -c | sort -rn
# List prompts in a category
find prompts/software-development -name '*.md' -type f | sort
Quickstart — 30 Seconds
- Open
CATALOG.md (on GitHub or locally) and pick a category.
- Open the prompt page and copy the Copy-ready prompt block.
- Replace every
{{placeholder}} with your context.
- Paste into your AI assistant, generate, then review and refine with the follow-up prompts in the page.
Configuration
There is nothing to configure — no server, no environment variables, no database. For application use, load prompts.json directly:
import json
from pathlib import Path
catalog = json.loads(Path("prompts.json").read_text(encoding="utf-8"))
research = [p for p in catalog if "research" in p["category"].lower()]
for p in research[:10]:
print(p["title"], "->", p["path"])
Each entry exposes id, title, category, path and placeholders — enough to build search, favourites, collections or agent tooling.
Troubleshooting
- Placeholders left in the output — search your draft for
{{ before sending; every placeholder must be replaced.
- Model invents citations — supply sources explicitly and instruct the model to mark unsupported claims as Unverified; then open each source to confirm.
- Generic, shallow answers — add audience, geography, date range, constraints and output format; specificity is what makes these templates work.
- ripgrep finds nothing — check you are in the repo root and quote phrases with spaces; try
rg -i for case-insensitive matching.
- prompts.json import fails in Node — use
with { type: "json" } on modern runtimes or read and JSON.parse the file.
- Output unusable for high-impact decisions — Prompt Library templates support, not replace, qualified professional judgment; route consequential outputs to a reviewer.
Release & License
Current release: v0.5.0 — 1,000 Prompt Library. See RELEASE_NOTES_v0.5.0.md and CHANGELOG.md in the repository. Released under the MIT License. Contributions welcome — see CONTRIBUTING.md: new prompts need a credible use case, kebab-case filenames, {{placeholders}}, an output contract and catalog/JSON registration.
Prompt Library on GitHub → · PeaBox Lab Help Centre → · Browse the prompt library →