Anthropic's own set of example prompts for Claude, grouped by the job rather than by novelty. What an official library has over a community list is that these reflect behaviour the model was actually tuned for.
Best AI Prompt Libraries: 20 Collections Worth Bookmarking
A practical shortlist of 20 AI prompt libraries and management tools, with what each is best for and how to test a promising template on your own task.
How to choose an AI prompt library
“Prompt library” describes two different jobs. One is a browsable collection of examples that helps you start a task. The other is a system for storing, versioning and testing prompts once they become part of a repeated workflow. This list includes both because a useful library eventually needs both discovery and maintenance.
Choose by the job, not the number of prompts
If you use one model, start with that vendor’s examples: they are narrower, but they best reflect how the product currently expects instructions to be written. If you are still learning the technique, take a structured course before collecting hundreds of templates. If you need breadth for an ordinary task, a large community library is useful, but treat it as a source of candidates rather than a list of proven answers.
Popularity is not evidence of quality
A copied prompt can sound precise while hiding the two facts that make it useful: the output it produced and the model version that produced it. Most public collections offer neither. Votes and reposts show that a template travelled well, not that it will work on your input. When a prompt matters, test it against your own examples before saving it.
Keep a small, stable test set
Write down three representative inputs: an ordinary case, an awkward edge case and one where a vague answer would be costly. Decide before running what the output must contain, then record the model, date and result you accepted. This turns “this prompt feels better” into something you can revisit when the model or the task changes.
Use prompt tooling when edits need review
For a one-off request, a document is enough. Once other people edit the same prompt or it becomes part of a product, version history, evaluation and rollback matter more than another hundred examples. That is the point of tools such as promptfoo, PromptLayer and LangChain Hub: they make prompt changes auditable instead of leaving the current version in somebody’s chat history.
Common questions
- What is the best AI prompt library?
- There is no single best library because discovery and testing are different jobs. Start with the model vendor’s official examples for current model-specific guidance, use a broad community collection when you need templates for an ordinary task, and use a versioned evaluation tool when the prompt has to survive repeated edits.
- Are prompt libraries free?
- Many public libraries and official examples are free, while some community marketplaces sell individual prompts. The entries below link to each source so you can check its current access and pricing; no marketplace purchase is required to use the free collections on this page.
- Why does this list include testing tools as well as prompt collections?
- A collection helps you find a starting point, but it does not show whether an edit changed the output for the better. Versioning and evaluation tools answer that second question, which becomes the more important one once a prompt is reused.
OpenAI's repository of runnable notebooks covering the API, embeddings, fine-tuning and agents. It answers "how should this be built" better than "what should I type", which is the difference between it and a prompt list.
The most complete free overview of prompting techniques, with a paper cited for each one and the honesty to say where a result is contested. Read the techniques section and skim the model-specific pages, which date fastest.
Learn Prompting
Learn PromptingA course rather than a reference, running from the basics through to prompt injection and the defences against it, with more than 60 modules translated into nine languages. The patient option if you are starting from nothing.
Awesome ChatGPT Prompts
CommunityThe GitHub repository that popularised the "act as a ..." format, now also running as prompts.chat with a self-hosted option. It is enormous and uneven, and still the fastest place to find a template for an ordinary task.
LangChain Hub
LangChainPrompts kept as versioned objects you pull into code rather than paste into it, stored in LangSmith. That shape matters once a prompt is part of a product and more than one person edits it.
PromptLayer
PromptLayerRecords what you sent and what came back, keeps versions side by side and lets you re-run a regression set after a change. It is unglamorous, and it is usually the first tool a team actually needs.
promptfoo
Open sourceAn open-source tool for turning prompts into test cases that run in CI, and more recently for red-teaming models against security failures. Its makers say 156 of the Fortune 500 use it, which is a lot for a project that began as a prompt comparison script.
Prompt flow
MicrosoftMicrosoft's visual builder for prompt pipelines, with evaluation and deployment into Azure wired in. A reasonable piece of Azure, and a heavy dependency if you are not already on it.
Humanloop
HumanloopEvaluation and human review in one place, built for teams where a domain expert signs off on the output rather than an engineer. The company has announced it is joining Anthropic, so the product's future is worth checking before you build on it.
FlowGPT
FlowGPTA community site where people publish prompts and chat characters for others to remix. Good for seeing what a lot of people actually use; popularity is the only quality signal on offer.
Agenta
Open sourceAn open-source workspace for building and testing agents, with evaluation and versioning attached, available self-hosted or as a hosted service. Self-hosting is the reason to pick it when the prompts touch material you cannot paste into a vendor dashboard.
Latitude
LatitudeOpen-source monitoring for agents, aimed at finding the runs where the model went off the rails rather than at reporting an average. Failure cases are where the time goes, so it is a sensible thing to instrument early.
PromptBase
PromptBaseA marketplace where people sell prompts, mostly for image models and mostly for a few dollars each. Worth knowing it exists; the free libraries on this list cover most of what is on sale.
PromptHero
PromptHeroSearch over prompts paired with the images they produced, across Midjourney, Stable Diffusion and similar tools. Showing a prompt next to its result is the only review mechanism image prompting has ever really had.
Gemini prompting guide
GoogleGoogle's own guidance on prompting Gemini, and the most specific of the big three about which techniques its models respond to. Best read next to the model rather than once, in place of using it.
Snack Prompt
Snack PromptA community library of prompts, images and automations with an upvote mechanic, which at least gives a weak signal about what survived real use. The signal is weak because votes measure enthusiasm rather than results.
An interactive notebook course from Anthropic, short and organised around the ways prompts fail rather than around features. The quickest of the official courses to get through.
PromptPerfect
Jina AIJina AI's tool for rewriting a prompt before you send it. Occasionally useful as a second opinion and a poor habit as a first step, because the rewrite hides what you originally got wrong.
OpenAI prompting guide
OpenAIThe official reference on the OpenAI platform, covering structure, few-shot examples and which tactics do and do not apply to reasoning models. The first place to check when advice from elsewhere turns out not to fit the model you are using.
Sources and method
The ranking is ours. Anything on this page that can be checked is checked against a named source, and the date we last opened that source is printed with it. If a figure and our verdict disagree, trust the figure and follow the link.
A model is listed only once its provider publishes pricing and documents an API. Every figure carries a source and the date we checked it; the ranking is ours.