AI GLOSSARY · PROMPTS AND INSTRUCTIONS

Prompt library

Markdown version

Definition

A prompt library is a saved collection of reusable prompts, such as examples, templates or team standards, that people can browse, copy and adapt instead of writing each prompt from scratch.

Also called: AI prompt library, prompt libraries, prompt collection, prompt gallery, prompt repository.

In plain language

A prompt is the text you give an AI model to say what you want. A prompt library is a shelf of prompts that someone already wrote: an email summariser, a bug report template, a code-review checklist. You pick one, fill in your details and run it, like using a recipe card instead of improvising dinner. The limit is that a prompt that worked for one model, one task or one set of documents may work worse in another setting, so a library entry is a starting point to test, not a guaranteed result. Shared libraries also need an owner, or old entries pile up and nobody knows which one is current.

Technical definition

A prompt library stores prompts as text, often with placeholders for variables, plus notes on purpose and the model used. Vendors publish them as examples: Google Cloud's Vertex AI prompt gallery offers sample prompts and responses labelled by use case, such as classify, extract, summarize and write/generate. Teams also keep their own in a repository or a prompt-management tool. Version control and tests keep entries from drifting.

Worked examples in this catalogue

Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.

  1. Skill by Skill Almanac · Illustrative, not executed

    prompt-writing 57/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    A skill that writes and lints LLM prompts with a fixed structure, injection rules and a numeric test plan.
    Why it exercises the concept
    A library entry is only as good as its prompt. This is a way to write and check one before saving it for reuse.
  2. Guide · Illustrative, not executed

    Prompt Engineering for Agents vs Chat Models

    What you see
    A guide explaining that prompting an agent differs from prompting a chat model because the agent edits files and calls tools, and what the prompt must define.
    Why it exercises the concept
    It shows why a prompt copied from a chat-oriented library may need changes before it suits a coding agent.
  3. Skill by Skill Almanac · Illustrative, not executed

    image-prompt-direction 61/100 · grade CScored · Method v0.2 · How we score

    What you see
    A skill that writes image prompts like an art director and lints them for gaps, contradictions and rights problems.
    Why it exercises the concept
    Image prompts are a common kind of library entry, and this checks one for gaps before it is shared.

How it shows up when you use agents

With agents, a prompt library is often a folder of Markdown files, a team document or a set of saved commands that people reuse across sessions. In a coding tool the same idea can appear as a saved instruction, a template or an agent skill, which is packaged instructions an agent loads when a task matches. A library saves retyping and gives a team a shared wording for common jobs, such as review or test writing. It sits next to prompt engineering, the practice of writing and testing prompts, and uses prompt templates with blanks to fill in.

What breaks when it is misunderstood: people assume a prompt that looked good in a gallery will behave the same on their model and data. An entry copied without testing can produce wrong or off-format output. A library with no owner or version history also drifts.

Next action: when you add an entry, record its purpose, the model it was tried on and one example input and output. Test it on your own data before sharing, and retire entries that fail. For longer-lived instructions, compare a library entry with a rule or skill, and read the prompt engineering for agents guide.

Common confusions

  • Prompt library versus prompt template. A template is one prompt with blanks. A library is the collection that holds many of them.
  • Prompt library versus agent skill. A library entry is text you paste or call. A skill is a packaged folder with instructions, and sometimes scripts, that an agent can load on its own.
  • Vendor gallery versus team library. A vendor gallery shows samples to learn from. A team library holds prompts tuned to your models, data and style.
  • Myth: a good prompt works everywhere. Results depend on the model and the input, so test each entry in its new setting.

More in Prompts and instructions

Next steps

  1. Prompt Engineering for Agents vs Chat Models The long-form guide.
  2. prompt-writing A skill that exercises it.
  3. Prompt Related term.
  4. Prompt engineering Related term.
  5. All glossary terms A to Z and by family.

Sources

Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-25. Wikipedia is never the only source.

Review record

Last verified

Drafted by Claude (original draft) and OpenAI Codex (targeted revisions); sources and example targets checked by Independent automated source review (OpenAI Codex); not human peer review on 2026-11-25. Last verified .

Change log (5)
  • : Independent automated factual/example review completed. Cached US query estimate aligned to receipt; no traffic promise. Final technical gate recorded separately; publication disabled.
  • : Targeted batch-04 source repairs; qualified scope and illustration claims. Independent affected review pending; no publication approval.
  • : First version.
  • : Verifier pass: applied verifier corrections to unsourced or overstated claims.
  • : Automated review completed; approved for the staged public release. Search indexing is controlled by the release configuration.