# What is a prompt? How to write instructions for AI

Address: https://sebastianmusial.pl/en/glossary/prompt/ · Glossary: https://sebastianmusial.pl/en/glossary/

A prompt is the instruction you give an AI tool. How you write it decides whether the answer is ready to use or needs rewriting.

- Also called: AI instruction, system prompt

**Definition.** A prompt is the instruction or set of instructions given to an AI model such as ChatGPT or Claude, describing what the model should do: the task, the context, the input and the expected form of the answer. A good prompt is specific and includes examples and limits. In business AI systems, prompts are stored and tested like the rest of the software.

## What makes a good prompt?

A good prompt tells the model what you would tell a new member of your team. The model does not know your company, your customers or your habits, so everything that matters has to be in the instruction.

- **Task:** exactly what should be produced, for example a reply to a complaint.
- **Context:** who the customer is, what the case is about, what your rules are.
- **Information:** the email itself, an extract from your returns policy, a product list.
- **Form:** length, tone and layout, for example “three short paragraphs, no promises about dates”.
- **Example:** one good reply from the past works better than a long description of style.

Example: instead of “write a reply to the customer”, write “reply to a customer asking to return an item after 20 days; our returns policy is below; polite tone, no promise of a refund before the item has been inspected”.

## How is a prompt in a chat different from one in a system?

In a chat you write the prompt yourself, fresh each time. In a website chatbot or an automation, the prompt is written once by the developer and runs with every conversation or every email. That kind of prompt is part of the software: it has to be tested on real cases, versioned and improved when the model answers badly.

So when you commission an AI solution, ask where the prompts live, who can change them and how a change is checked so it does not break anything.

## Is a good prompt enough to stop AI making mistakes?

No. A good prompt reduces errors but does not remove them. The model can still invent something, especially when it has not been given the information it needs. It helps to allow it to say it does not know, and to have a person check important answers. How a chatbot is set up to answer only from your content is covered in the article on [an AI chatbot for your website](https://sebastianmusial.pl/en/blog/ai-chatbot-for-your-website/).

## Frequently asked questions

**Is it worth buying ready-made prompts online?**
Rarely. A ready-made prompt knows nothing about your business, customers or rules. It is better to build a few templates of your own for repetitive tasks and improve them based on real answers.

**What is a system prompt?**
It is the standing instruction a business AI tool receives before every conversation: who it is, what it may and may not say, which sources to use. Users do not see it, but it shapes every answer.

See also: [LLM](https://sebastianmusial.pl/en/glossary/llm/), [AI hallucinations](https://sebastianmusial.pl/en/glossary/ai-hallucinations/), [Context window](https://sebastianmusial.pl/en/glossary/context-window/), [Tokens](https://sebastianmusial.pl/en/glossary/tokens/), [AI chatbot](https://sebastianmusial.pl/en/glossary/ai-chatbot/)

Sources: [Anthropic: Prompt engineering overview](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/overview), [Anthropic: Reduce hallucinations](https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/reduce-hallucinations)

---

Updated: 2026-11-28. Sebastian Musiał, kontakt@sebastianmusial.pl (I reply within 24 hours). Quote after a call, no price list on the site.
All pages: https://sebastianmusial.pl/llms.txt · The whole English text in one file: https://sebastianmusial.pl/en/llms-full.txt
