AI GLOSSARY · PROMPTS AND INSTRUCTIONS

Prompt

Markdown version

Definition

A prompt is input supplied to an AI model to guide its response. A text prompt can contain a question, an instruction, an example or a role; supported inputs can also include images, depending on the model.

Also called: prompts, ai prompt, ai prompts, what is a prompt in ai, prompt ai.

In plain language

A text prompt is the text you give an AI model to guide its response. It can be a question, an instruction, an example, or the start of a sentence for the model to finish. Anthropic's guidance compares Claude to a new employee who lacks context on your norms and workflows: the more precisely you explain what you want, the better the result.

Technical definition

Google's glossary defines a prompt as any text entered as input to a large language model to condition the model to behave in a certain way, and says prompts can be as short as a phrase or arbitrarily long. In OpenAI's API guide, messages have roles: developer messages are instructions provided by the developer, prioritized ahead of user messages. The same guide says content generated by a model is non-deterministic, that different model types might need to be prompted differently, and that even different snapshots of models in the same family could produce different results.

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
    Writes and lints LLM prompts with a fixed structure, injection rules and a numeric test plan.
    Why it exercises the concept
    A skill that writes and lints LLM prompts.
  2. Coding tool · Illustrative, not executed

    Claude Code

    What to try
    claude
    What you see
    Running claude in a project directory starts Claude Code, where you can ask what does this project do?
    Why it exercises the concept
    What you ask in the session is a prompt.

How it shows up when you use agents

The examples here use text prompts. Prompt inputs need not always be text alone: OpenAI documents language models that accept images, and image models that accept text and image inputs. The supported media depend on the model and API.

In Claude Code, you start a session by running claude in a project directory and then ask questions, such as "what does this project do?" (Claude Code quickstart). Claude Code also reads CLAUDE.md, a markdown file in your project root, at the start of every session (Claude Code overview). See System prompt and Context window.

What goes wrong when this is misunderstood:

  • Vague prompts get weaker results. Anthropic says Claude responds well to clear, explicit instructions. The Claude Code quickstart contrasts "fix the bug" with "fix the login bug where users see a blank screen after entering wrong credentials."
  • Missing context. Anthropic describes Claude as a new employee who lacks context on your norms and workflows, and suggests showing your prompt to a colleague: if they would be confused, Claude will be too.
  • A prompt may not carry over between models. OpenAI states that different model types might need to be prompted differently and that even different snapshots could produce different results.

See Prompt engineering and Few-shot prompting.

Common confusions

  • Prompt versus system prompt. OpenAI's guide describes developer messages as instructions provided by the developer, prioritized ahead of user messages. See System prompt.
  • Prompt versus prompt engineering. A prompt is the input. Google's glossary defines prompt engineering as the art of creating prompts that elicit the desired responses from a large language model.
  • Prompt versus context window. Google's glossary defines the context window as the number of tokens a model can process in a given prompt. See Context window.
Show all 17 related terms

Terms that mention Prompt

242 terms mention this one

Guides that mention Prompt

Show all 77 guides

More in Prompts and instructions

Next steps

  1. prompt-writing A skill that exercises it.
  2. All glossary terms A to Z and by family.

Next term to learn: Token (6 of 10)

Sources

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

Review record

Last verified

Drafted by Claude and Codex (automated drafting); sources and example targets checked by Independent automated source review (OpenAI Codex); not human peer review on 2026-11-24. Last verified .

Change log (6)
  • : US Google Ads query estimate aligned to cached receipt; close variants may overlap and no traffic is promised. Relevant topic demand only; definition intent unconfirmed.
  • : Independent automated factual and example-source review completed; exact-version technical and demand checks recorded separately. Publication remains disabled.
  • : First version.
  • : Verifier pass: applied verifier corrections to unsourced or overstated claims.
  • : Stage-3 accuracy pass: rebuilt definitions on Google glossary, OpenAI and Anthropic docs; removed unsourced advice, shell-prompt confusion and image example; swapped sources.
  • : Automated review completed; approved for the staged public release. Search indexing is controlled by the release configuration.