Skip to content

About

An open-source library of 1,000 structured AI prompts with reusable placeholders, 75 categories, research workflows, quality checks, and a machine-readable catalog.

Topics

Resources

Contributing

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

AI Prompts Library

by Peabox Labs

1,118 structured AI prompt templates across 82 categories, with a fast, filterable web app. Stored as Markdown and designed for real work.

AI Prompts Library is an open-source, Markdown-first prompt knowledge base for research, software development, business strategy, HR, finance, marketing, analytics, regulated industries, professional operations, everyday life, and personal productivity.

Every prompt lives as an individual Markdown page, so you can still browse the library directly on GitHub, clone it for offline use, adapt templates in any text editor, or consume the machine-readable catalog in your own application. The included web app makes that same library searchable and usable: fill variables in a form, copy or download the finished prompt, and open it in your assistant.

Run the app locally · Browse the prompt catalog · Read the user guide · Product and competitor review · View contribution guidelines · See release notes


Why AI Prompts Library?

Most prompt collections are long lists of short instructions with limited context. AI Prompts Library is structured around practical execution. Templates may include:

  • role and domain context;
  • objective and decision to be supported;
  • reusable {{placeholders}};
  • known facts and assumptions;
  • scope, constraints, and exclusions;
  • evidence and source requirements;
  • analysis steps and decision criteria;
  • risks, limitations, and counterarguments;
  • required output structure;
  • success measures and quality checks;
  • follow-up actions and human-review gates.

The result is a library that works as both a ready-to-use collection and a reference for designing better prompts.


Library at a glance

  • 1,118 individual prompt templates
  • 82 categories
  • 1 Markdown page per prompt
  • A local web app with search, filters, collections, variable forms and saved prompts
  • Mostly model-agnostic templates, plus 24 model playbooks for six assistant families
  • 44 role playbooks for webmasters, frontend, backend, full-stack, application, SEO, content, testing, automation, flow and UX/UI work
  • Model fit metadata for filtering prompts by Claude, ChatGPT / GPT, Gemini, Perplexity, Grok or open models
  • Reusable placeholders using {{placeholder_name}} (legacy single-brace variables are normalized in the app catalog)
  • Derived metadata for every prompt: audience, use cases, output type, difficulty, estimated time and a structural quality score
  • Central catalog for human browsing
  • JSON catalog for applications and automation
  • Research-grade patterns for evidence, sources, uncertainty, and contradiction handling
  • Professional safeguards for high-impact and regulated use cases
  • No backend, API key, account, or database required

Coverage

AI Prompts Library spans broad functional and industry use cases, including:

Business and leadership

Business strategy, entrepreneurship, leadership, project management, change management, operations, procurement, negotiation, decision making, communications, and executive reporting.

Technology and engineering

Software development, cloud and DevOps, APIs and integration, enterprise architecture, cybersecurity, privacy, quality engineering, automation, open source, GitHub, technical research, data science, and analytics.

Product, customer, and growth

Product management, product discovery, UX research, marketing, sales, customer service, market intelligence, customer discovery, retail, ecommerce, media, and creator workflows.

People and organization

HR, HR systems, workforce planning, talent management, organization design, career development, education, knowledge management, and learning.

Everyday life, visual work and creators

Life admin, household and personal planning, everyday decisions, image and visual design prompts, social media and creator workflows, customer support, and community/nonprofit operations.

Model playbooks

Short, task-focused prompts shaped around published model capabilities: long-context analysis for Claude, template-faithful documents and spreadsheet work for GPT, multimodal and very-long-context work for Gemini, source-grounded answers for Perplexity, fast live-signal work for Grok, and efficient or offline work with DeepSeek and other open models.

Developer roles

Dedicated playbooks for webmasters, frontend developers, backend developers, full-stack developers, application developers, SEO experts, content developers, testers, automation experts, flow developers and UX/UI designers. Each role gets audits, planning prompts, troubleshooting briefs and quality checks that fit its actual workflow.

Finance and research

Finance, investing, banking, insurance, fintech, company intelligence, investment research, academic research, advanced research methods, economics, and social sciences.

Industry use cases

Healthcare, life sciences, pharma, biotechnology, manufacturing, supply chain, energy, utilities, sustainability, agriculture, food, real estate, construction, automotive, mobility, aerospace, hospitality, travel, telecom, government, and public policy.

Open CATALOG.md for the complete category index.


Repository structure

promptvault/
├── prompts/
│   ├── README.md
│   ├── writing/
│   │   ├── README.md
│   │   ├── 01-blog-post-builder.md
│   │   └── ...
│   ├── software-development/
│   ├── deep-research/
│   ├── healthcare-life-sciences/
│   ├── enterprise-architecture/
│   ├── everyday-life/
│   ├── image-visual-design/
│   ├── social-media-creator/
│   ├── customer-support/
│   ├── community-nonprofit/
│   ├── model-playbooks/
│   ├── developer-roles/
│   └── ... 70 more categories
├── src/                      # React + TypeScript web app
│   ├── components/
│   ├── lib/
│   ├── App.tsx
│   ├── main.tsx
│   └── styles.css
├── scripts/
│   └── build-catalog.mjs     # Rebuilds app data from Markdown + prompts.json
├── data/
│   ├── new-prompts.json      # Source for the 50 added task prompts
│   ├── model-prompts.json    # Source for the 24 model playbooks
│   └── role-prompts.json     # Source for the 44 role playbooks
├── public/data/catalog.json  # Generated catalog consumed by the app
├── docs/
│   ├── USER_GUIDE.md
│   └── PRODUCT_REVIEW.md
├── CATALOG.md
├── prompts.json
├── GITHUB_METADATA.md
├── CONTRIBUTING.md
├── CHANGELOG.md
├── RELEASE_NOTES_v0.5.0.md
├── LICENSE
└── README.md

Quick start

Option 1: Run the web app (recommended)

Requires Node.js 20.19+ or 22.12+ (Vite 8).

npm install
npm run dev

Open the local URL printed by Vite (usually http://localhost:5173). For a production build:

npm run build
npm run preview

npm run build regenerates public/data/catalog.json from the Markdown files and prompts.json, type-checks the app and writes static files to dist/. The dist/ folder can be hosted on any static site service; routing uses URL hashes, so no server rewrites are needed.

In the app you can:

  • search titles, descriptions, tags and prompt bodies;
  • filter by domain, category, audience, use case, output, AI model, difficulty and collection;
  • sort by relevance, quality, title, newest or shortest;
  • open a prompt, fill its variables in a generated form, then copy, download or open it in an assistant;
  • save favourites, revisit recent prompts, switch between light and dark themes;
  • browse curated collections and the quality report.

Favourites, recents and theme preference stay in your browser. No account or API key is used.

Option 2: Browse on GitHub

  1. Open CATALOG.md.
  2. Select a category.
  3. Open a prompt page.
  4. Copy the text inside the Prompt or Copy-ready prompt block.
  5. Replace every {{placeholder}} with your context.
  6. Paste the completed prompt into your preferred AI assistant.

Option 3: Download the repository

  1. Select Code → Download ZIP on GitHub.
  2. Extract the archive.
  3. Open CATALOG.md or prompts/README.md in a Markdown editor.
  4. Search the repository using Visual Studio Code, Obsidian, Typora, or another Markdown-capable tool.

Option 4: Clone with Git

git clone https://github.com/<your-github-username>/promptvault.git
cd promptvault

Replace <your-github-username> after publishing the repository.

Option 5: Search from the command line

Search titles and content with ripgrep:

rg -n "market research|competitive analysis" prompts/

Find placeholders used across the library:

rg -o '\{\{[a-zA-Z0-9_]+\}\}' prompts/ | sort | uniq

List prompts in a category:

find prompts/software-development -name '*.md' -type f | sort

How to use a prompt

A template may contain placeholders such as:

Analyze {{company}} in the {{industry}} sector for {{decision}}.
Use a {{time_horizon}} time horizon and evaluate it against
{{decision_criteria}}.

Replace the placeholders with specific information:

Analyze Microsoft in the enterprise software and cloud sector for
possible inclusion in a five-year long-term equity portfolio.
Use a five-year time horizon and evaluate it against revenue durability,
free cash flow, competitive position, capital allocation, valuation,
and downside risk.

Good inputs are specific enough to constrain the response while leaving the model room to perform the requested analysis.


Recommended prompt workflow

For important tasks, use AI Prompts Library as a workflow rather than a one-shot command.

1. Select

Choose the prompt that most closely matches the real decision or deliverable, not merely the broad topic.

2. Customize

Replace every placeholder. Add audience, geography, date range, source limitations, constraints, and desired output format.

3. Supply evidence

Attach or paste the relevant documents, data, notes, transcripts, code, policies, or research sources. Do not ask the model to infer information you can provide directly.

4. Generate

Run the completed prompt in your chosen AI assistant.

5. Review

Check factual accuracy, source traceability, calculations, assumptions, omissions, risks, and instruction adherence.

6. Refine

Use focused follow-ups such as:

Challenge the three most important assumptions in the analysis.
Identify which conclusions would change if {{assumption}} were false.
Rewrite the recommendation for {{executive_audience}} in no more than
{{word_limit}} words.

7. Save responsibly

Keep the customized prompt and validated output with the relevant project files. Remove confidential information before sharing publicly.


Prompt anatomy

A strong prompt commonly contains the following components:

Role or responsibility
+ Context
+ Objective
+ Inputs
+ Constraints
+ Method
+ Evidence rules
+ Output contract
+ Quality criteria
+ Failure controls

Example:

You are supporting {{team}} with {{decision}}.

Context:
{{context}}

Use the following sources:
{{sources}}

Evaluate these alternatives:
{{alternatives}}

Apply these criteria and weights:
{{criteria_and_weights}}

Return:
1. Executive summary
2. Evidence table
3. Options comparison
4. Risks and counterarguments
5. Recommendation
6. Open questions

Do not invent missing facts or sources. Mark unsupported claims as
Unverified and explain how they can be validated.

Working with prompts.json

prompts.json provides a machine-readable catalog for search tools, websites, desktop applications, agents, and automation workflows. public/data/catalog.json is the enriched catalog generated from it plus the Markdown files, and is what the web app loads at runtime. Rerun npm run prepare-data after editing prompts or generator rules.

A catalog entry follows this general shape:

{
  "id": "category-01",
  "title": "Prompt title",
  "category": "Category name",
  "path": "prompts/category/01-prompt-title.md",
  "source": "model",
  "audience": ["AI practitioner", "Researcher"],
  "models": ["Claude"],
  "modelNote": "Why this prompt suits that model family",
  "placeholders": [
    "context",
    "objective",
    "output_format"
  ]
}

Python example

import json
from pathlib import Path

catalog = json.loads(Path("prompts.json").read_text(encoding="utf-8"))

research_prompts = [
    item for item in catalog
    if "research" in item["category"].lower()
]

for item in research_prompts[:10]:
    print(item["title"], "->", item["path"])

JavaScript example

import catalog from "./prompts.json" with { type: "json" };

const securityPrompts = catalog.filter((item) =>
  item.category.toLowerCase().includes("security")
);

console.log(securityPrompts);

Research and evidence standards

Research-oriented prompts should be adapted to specify:

  • the exact research question;
  • decision being supported;
  • geography and jurisdiction;
  • date range and recency threshold;
  • source hierarchy;
  • acceptable and excluded sources;
  • citation format;
  • method of triangulation;
  • treatment of contradicting sources;
  • confidence or evidence-strength method;
  • known limitations and unresolved questions.

Recommended source hierarchy:

  1. Laws, regulations, standards, official filings, audited reports, government datasets, original research, contracts, and official product documentation.
  2. Peer-reviewed research, respected professional bodies, established research institutions, and reputable analyst material.
  3. Established news organizations and expert practitioner publications.
  4. Vendor claims, community posts, aggregators, anonymous content, and AI-generated summaries, used primarily for discovery and verified independently.

Never treat a citation-shaped answer as verified evidence. Open the source, confirm that it exists, check the relevant passage, and verify that it supports the claim.


Professional and high-impact use

AI Prompts Library includes templates touching healthcare, finance, legal work, cybersecurity, public policy, engineering, HR, and other consequential domains.

These templates are intended for:

  • research planning;
  • evidence organization;
  • drafting and summarization;
  • scenario analysis;
  • requirements gathering;
  • issue spotting;
  • decision support;
  • preparing questions for qualified professionals.

They are not substitutes for licensed medical, legal, financial, engineering, safety, or regulatory judgment. Validate material outputs against authoritative sources and route consequential decisions to appropriately qualified reviewers.

Do not place secrets, credentials, personal data, medical records, privileged legal material, controlled information, or confidential company data into an AI service unless your organization has approved the service and the specific data use.


Supported AI assistants

Most prompts are intentionally model-agnostic. They can be adapted for tools such as Microsoft Copilot, ChatGPT, Claude, Gemini, locally hosted models, or application-specific agents.

A separate Model Playbooks collection contains prompts written for particular capability profiles. Each one carries a Best with note explaining why it suits that family, and the app shows it as a model badge with a link to browse similar prompts. These notes are guidelines derived from published model features, not head-to-head benchmarks or claims that a prompt was tested in every model or version.

A Developer Playbooks collection groups prompts by working role. These are workflow templates built around common responsibilities and evidence rules, not tested claims that one role or toolchain produces better results than another.

Results will vary by model version, enabled tools, context-window limits, access to external sources, and organization-level policies. A prompt requiring current research will only produce source-grounded results when the chosen tool has appropriate search or document access. Confirm feature availability in your own plan before relying on a capability.


Contributing

Contributions are welcome. New prompts should:

  • solve a specific, credible use case;
  • use descriptive titles and stable IDs;
  • use lowercase kebab-case filenames;
  • expose reusable inputs as {{placeholders}};
  • define the required output;
  • separate facts, assumptions, and recommendations where relevant;
  • include evidence and uncertainty controls for research tasks;
  • include human-review guidance for high-impact use;
  • avoid secrets, personal data, fabricated claims, and copyrighted source text;
  • be added to the category index, CATALOG.md, and prompts.json.

The easiest way to keep every index in sync is to add a Markdown prompt page, run npm run prepare-data, and review the regenerated prompts.json, CATALOG.md, category READMEs and public/data/catalog.json.

See CONTRIBUTING.md for the repository contribution process.


Roadmap

Delivered in this release: metadata and task classification, difficulty levels, structural quality scores, related prompts, automated catalog generation, a local web interface, favourites, curated collections, model-specific playbooks, developer role playbooks and a product review.

Potential future improvements include:

  • validated example inputs and model-tested example outputs;
  • model comparison runs for a focused set of high-use prompts;
  • browser extension that inserts filled prompts into ChatGPT, Claude and Gemini;
  • personal collections, version history and import/export;
  • prompt chains and multi-step workflows;
  • YAML and JSON prompt schemas;
  • community submissions behind a review queue and domain-expert validation.

See docs/PRODUCT_REVIEW.md for the competitor comparison, gap analysis and full improvement plan.


Release

Current release: v1.0.0 — AI Prompts Library Web App by Peabox Labs

Previous release: v0.5.0 — 1,000 Prompt Library.

See CHANGELOG.md for the complete history.


License

AI Prompts Library is released under the MIT License. See LICENSE.


Acknowledgment

AI Prompts Library is built and maintained by Peabox Labs as part of its open-source product ecosystem.

About

An open-source library of 1,000 structured AI prompts with reusable placeholders, 75 categories, research workflows, quality checks, and a machine-readable catalog.

Topics

Resources

Contributing

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages