Instruction check

The "✦ Check" button under the "System prompt" field reads the agent's instruction and lists findings. The "✨ Improve instruction" button suggests a rewritten version. Both work with this agent and know what is connected to it.

What the platform adds to the instruction on its own

The instruction in the editor is only part of what the agent receives. On every reply the platform adds:

WhatWhere it is configuredCopy it into the instruction?
Skills ("#SKILLS" block)the agent's "Skills" cardNo — the block text is not visible in the editor, and that is normal
Knowledge base, documents, quick answersKnowledge baseNo — the agent receives the relevant fragments by message topic
Tables and price listsKnowledge base → "Tables"No — the agent reads prices from the table
Tools: hand-off to a manager, CRM, external servicesagent card, ServicesNo — just say when to use them
Role safety rulesplatformNo — they cannot be overridden

That is why the check does not call connected things "missing" and does not advise moving prices, tables, passwords or access keys into the instruction: they belong in the knowledge base and the "Credentials" section.

How to read the result

Above the findings there is a "Taken into account in the check" list: how many knowledge bases, documents, tables, skills and which tools the check saw. If something you connected is not there, reload the page and check again.

Findings tagged "links" are computed by the platform, not the model. They point at references in the instruction text that match nothing:

What is foundExample
A tool is named that the agent does not have`table_query` when there are no tables
A document, table, column or skill name that does not exist`faq_old` after the document was deleted
A wording reference to something absent"see the price list", "per the knowledge base" when the base is empty
A reference to a section of the instruction that does not exist"rule 2 of section 15"

Such a reference is harmful: the agent promises the customer a source or an action that does not exist and starts making things up. The other findings come from the model, and each one comes with a quote from your text.

Remove dead references

When there are "links" findings, the "Remove dead references" button appears below them.

  1. Click it — the platform shows exactly what will be removed. Nothing changes yet.
  2. Click "Remove" — the instruction is saved as a new version. You can roll it back in the change history.

How a reference is removed: a bracket like "(see price list)" goes entirely, a list item goes with its comma, a table row with a single dead reference goes, and in a long sentence only the clause with the reference is cut.

Rules are never struck out. A sentence such as "Never quote a price from memory: take it only from price_list" shrinks to "Never quote a price from memory". If the dead reference sits inside the prohibition itself, the sentence is left untouched and shown in the list "Left untouched — these are rules, edit them manually".

The platform does not apply an edit that is too large (more than a fifth of the text or more than 40 fragments) that would empty the instruction entirely, or when the instruction itself is longer than 60,000 characters: review those by hand using the findings.

The button works on the saved text. If you edited the field and have not saved, the platform asks you to save first.

References are removed automatically

When you delete something the instruction referred to, the reference leaves the instruction automatically as a new "system" version in the change history:

ActionWhat is removed
Deleted a document (from a base or everywhere), a table, a knowledge basereferences to their names and columns
Detached a knowledge base from the agentreferences to that base's documents
Turned off a skill, tool or capability of the agentreferences to them

If the name remains available to the agent in another base, the reference stays.

Note. Detaching a base counts as deleting it. If you replace a base with another one holding the same documents, attach the new one first, then detach the old one — nothing is lost that way. If references have already gone, roll the version back in the change history.

An instruction in English

You can write the instruction in Russian, in English, or mix the languages. The platform recognises section headings and common placeholders in both forms: #ОГРАНИЧЕНИЯ and #CONSTRAINTS, {{НАЗВАНИЕ_КОМПАНИИ}} and {{COMPANY_NAME}}. A placeholder value from the launch wizard is substituted under both names. The platform writes the skills block in the language of your instruction: it is detected from the section headings, and for text without headings and without a single Russian letter, from the alphabet (it counts as English). The texts of the catalog skills themselves are still Russian.

The language of "Improve instruction". The improved text is written in the language of your draft: Russian stays Russian, English stays English, and two languages are never mixed inside one text. If the field is empty, the platform builds the skeleton in the interface language and uses the section headings it understands itself (#GENERAL, #GOALS, #STYLE, #CONSTRAINTS — for Russian #ОБЩИЕ, #ЦЕЛИ, #СТИЛЬ, #ОГРАНИЧЕНИЯ). The check's findings and the list of improvements are always in the interface language; quotes from the instruction stay verbatim.

The check and "Remove dead references" understand English phrasing ("see the price list", table "X") only in an English instruction. In a Russian instruction, English words (names, code, file names) are not treated as references and are never removed.

Improving the instruction: limits

  • An instruction longer than 9,000 characters is not rewritten automatically: the rules of such an instruction usually live in skills and knowledge bases and are easy to lose in a retelling. Click "Check" and fix the findings by hand.
  • The rewritten text must keep all technical references: names in backticks, the <lead> and <knowledge> tags, {{…}} variables, the "#SKILLS" mention. References the check itself called dead may be dropped.
  • If the suggested version lost references or became half as long, the platform does not show it and explains why — the text stays as it was.
  • The edit is never applied by itself: you see "Result" and click "Apply".

If something looks wrong

SymptomWhat to do
The check calls a reference to a live tool or document deadMake sure it is connected to this agent and spelled exactly as in the "Taken into account" list
A reference left the instruction but was neededChange history → the "system" version → roll back
"Remove dead references" finds nothing although there are findingsThe reference sits in a rule — see the "Left untouched" list
"Check" returns an error for a very long textThe check accepts instructions up to 50,000 characters; shorten the text or move rules into skills and the knowledge base
The "Check" buttons are unavailableThe check needs a model configured on the platform side: contact support