
## Run instructions reference

URL: https://docs.atlan.com/product/capabilities/governance/context-agents-studio/references/run-instructions

> What to write in a context agent template's run instructions, with examples for each kind of source: tables, long prose, Confluence spaces, and GitHub repositories.

# Run instructions reference 

Run instructions tell an agent what to extract from the sources it can reach. They're the highest-leverage field in the setup flow: most first-time agents underperform because of what's written here, not because of the model.

> **Info**
>
> Run instructions are per-agent and are sent with every run, including scheduled ones. They're different from [custom instructions](https://docs.atlan.com/llms/platform/context-agents-studio/write-effective-custom-instructions/llms.txt), which are org-level and apply to collection enrichment across your whole workspace.

This page covers templates that extract terms from your sources, such as Business Graph Term Generator. Asset ↔ Term Linker reads no sources: its run instructions steer which assets a term links to and which copies of your data count. See [Write run instructions for Asset ↔ Term Linker](https://docs.atlan.com/llms/platform/context-agents-studio/link-terms-to-assets/llms.txt).

## Where to find run instructions

You can set them during setup or change them at any time afterwards.

- During setup, on the **Guidance** step of the create-agent wizard.
- After setup, on the agent's **Settings** tab.

Changing run instructions takes effect on the next run and doesn't create a new version of the agent.

## What to write

You have 1000 characters, which rewards precision over completeness. A pattern that works:

```
Extract [what kind of concept] from [which part of the source].
Focus on [the specific domain or subject area].
Ignore [what you do not want].
For each term, [any convention you need].
```

### Example

**Too vague:**

> Create glossary terms from our docs.

This gives the agent no way to decide what counts as a term worth creating, so it returns whatever it finds first.

**Specific enough to act on:**

> Extract business terms from the settlement and chargeback runbooks only. Focus on terms used by the operations team in daily processing: status codes, exception types, and settlement windows. Ignore infrastructure and deployment pages. Keep definitions to two sentences and name the source system where the term originates.

## Examples by source

What a good instruction says depends on what your source looks like. A table already holds one term per row, so the instruction maps its columns. Prose holds terms in sentences, so the instruction says which ones count.

### Table in knowledge folder file

A metrics dictionary, data dictionary, or KPI list exported as a PDF or spreadsheet. Name the file, say what one row is, and say which column is the name and which is the definition.

> Build terms from Metrics Dictionary.pdf only. Each numbered row in its metrics table is one term: use the Metric Name column as the name and the Definition column as the definition, word for word. Keep qualifiers that tell rows apart, such as Domestic / International, in the name. Skip rows that only list IDs or column keys. The table has about 260 rows over 7 pages.

Giving the row count lets you check the result: after publishing, compare the number of terms with the number of rows. A sample reads only part of your sources, so compare against a published run, not a sample.

### Long prose documents

Policies, standards, and handbooks, where terms sit inside paragraphs. Say which terms count and whose wording wins.

> Extract the business concepts in the Data Governance Standard. Where the document defines a term, in a definitions section or a "means" sentence, keep that wording. For concepts it only describes, write a two-sentence definition from the text. Skip roles and process steps the document doesn't define. Ignore the revision history and the appendix templates.

### Confluence space

Many pages, mixed in quality. Point at the part of the space that holds the vocabulary and name the noise.

> Focus on pages under Runbooks in the Payments Operations space. Extract terms the operations team uses daily: status codes, exception types, and settlement windows. Ignore meeting notes, retrospectives, and anything under Archive.

### GitHub repository

Model descriptions and docs carry business meaning, and names in the code don't. Say which is which.

> Extract business terms from the dbt model descriptions and the docs folder. Use a model or column description as the definition when it explains a business concept. Table names, column names, macros, and config keys aren't terms.

## What to include

### Say what to ignore

Most sources contain more noise than signal. Naming the noise usually helps more than naming the signal, because it removes whole sections from consideration rather than asking the agent to rank within them.

**Example:**

> Ignore release notes, meeting notes, and anything under the Archive space.

### Set length of definition

Without an instruction, definitions inherit whatever length the source happened to use, which reads inconsistently across a glossary.

**Example:**

> Keep each definition to two sentences: what the term means, then how it is used.

### Keep definitions your source already wrote

An agent writes every definition itself, working from what the source says. That's what you want when the source is prose the agent has to interpret. It's not what you want when the source already contains a glossary, a data dictionary, or a definitions table, because the agent may rephrase wording your organization may have agreed deliberately.

If your documents already define terms, say so. The agent then reproduces those definitions as they stand and only writes its own for concepts the source describes but never defines.

**Example:**

> Anything already defined as a term should be created as it is, without enhancement. Derive definitions only for concepts the documents describe but do not define.

Be specific about where the existing definitions live if you can, for example "the definitions table in each policy document" or "the glossary section of the handbook." A run instruction that names the location is easier for the agent to act on than one that describes a style.

> **Info**
>
> Check a sample run before you publish. Open a few proposed terms and compare them against the source document. If the wording still drifts, name the source section explicitly rather than restating the instruction.

### Name your audience

Who the definition is written for changes the output substantially.

**Example:**

> Write for a business analyst who does not know our internal acronyms. Spell out every abbreviation on first use.

### Point at subject area, not just source

Scope narrows where the agent looks. Run instructions narrow what it extracts once it's there. Both help.

**Example:**

> Focus on credit risk terminology. Skip anything about payments or servicing even where the two appear on the same page.

## Tips

- **Be specific, not exhaustive.** Three precise sentences outperform a long paragraph. The agent reads your instructions on every run, so keep them signal-dense.
- **Preview after every change.** A sample run takes a minute or two and publishes nothing. It's the cheapest way to find out whether an instruction landed.
- **Change one thing at a time.** If you rewrite the scope and the instructions together and the output gets worse, you can't tell which change caused it.
- **Don't include sensitive information.** Instructions are used in AI prompts. Avoid credentials, internal URLs, and confidential business detail.

## Need help

If you need assistance after reviewing this page, contact [Atlan support](https://docs.atlan.com/llms/platform/submit-request/submit-request/llms.txt).

## See also

- [Create an agent from a template](https://docs.atlan.com/llms/platform/context-agents-studio/create-an-agent-from-a-template/llms.txt): where run instructions sit in the setup flow
- [Write effective custom instructions](https://docs.atlan.com/llms/platform/context-agents-studio/write-effective-custom-instructions/llms.txt): the org-level equivalent for collection enrichment
- [Run and schedule an agent](https://docs.atlan.com/llms/platform/context-agents-studio/run-and-schedule-an-agent/llms.txt): previewing and iterating

_Last updated: 1 December 2026._

---

> **Using an AI agent?** The Atlan Docs MCP server lets it search these docs directly. Setup for each client: https://docs.atlan.com/skills/install-docs-mcp.md
