Skip to content
Service status

Type to search

Better instructions and Skills · 3 min read

From prompt to context

Why the quality of an answer depends on everything the model sees, and where each part of that context lives in an Intric assistant.

The prompt is only one part of what the model sees when it answers. The rest comes from the assistant’s instructions, its Skills, its knowledge and the conversation, and each lives in a different place in Intric.

In Creator: introduction you learned to write clear instructions. Every time you decide what background, examples, documents and rules an assistant gets, you are choosing the context the model works from. Context engineering is doing that on purpose. The right information is in front of the model at the moment it answers, and little else is.

When an answer disappoints, ask what the model had in front of it before you start rephrasing.

Most good instructions combine some of these six parts. You rarely need all of them, but when a result is off, one of them is usually missing or unclear.

Building block What it does Example
Role and behavior Sets perspective, tone and how to handle uncertainty “You are a procurement adviser. Flag risks first.”
Task The actual job “Summarize the deviations in three bullet points.”
Context Background, documents, earlier events The attached meeting notes
Examples Show the pattern you want One filled-in input and output pair
Output constraints Format, length, structure “At most 100 words, as a list.”
Delimiters Separate one part from another Headings, XML-style tags, ---

An Intric assistant assembles its context from several places, and each has a different lifetime:

  • Instructions load into every conversation with the assistant. Keep them to baseline behavior: role, tone, boundaries, format. See Instructions.
  • Skills are procedures for particular tasks. Only each Skill’s short “when to use it” description loads into every conversation; the full procedure comes in when the Skill applies.
  • Attachments and knowledge come in when a question needs them, and Intric searches or reads them then. Intric picks the right file first and then the right passages, which keeps answers focused when an assistant has many files. See How Intric searches your documents.
  • The conversation holds what the user wrote, uploaded and got back. It grows with every turn.

This gives you a simple rule for placement. If something applies to every conversation, it goes in the instructions. If it applies to one kind of task, it goes in a Skill. If it is reference material, it goes in knowledge. If it applies only to this conversation, the user provides it there.

The context window says how much text a model can take in. It says nothing about how well the model uses that text. As context grows, the model gets worse at finding and weighing the one detail the question is about. Every irrelevant passage competes for its attention. This effect is called context rot.

You can recognize it when:

  • the answer mixes up two similar documents or two similar rules
  • the model misses an instruction you did give, usually one that came long before the pasted material
  • answers get vaguer the longer a conversation runs
  • the same question gives a better answer in a fresh conversation

To avoid it, give the relevant paragraph instead of the whole document “to be safe”. Start a new conversation when the topic changes. When the material is large, let knowledge do the selecting.

Context engineering also serves data minimization. Leave out any passage the task does not need, and any personal or confidential information in it never reaches the model.

Test your knowledge

Question 1 of 3

Question 1 of 3

An assistant's instructions say to answer in three bullet points, but after a long conversation with 40 pasted pages it starts writing long paragraphs. What is the most likely cause?

An assistant's instructions say to answer in three bullet points, but after a long conversation with 40 pasted pages it starts writing long paragraphs. What is the most likely cause?