# Customize Instructions

Instructions are the core policy of a digital worker. Changing them is often the first and most impactful customization you can make. This guide covers how to update instructions effectively to shift the worker's behavior without requiring changes to skills or tools.&#x20;

&#x20;

**When to Change Instructions**&#x20;

* The digital worker's output format does not match what downstream systems or users expect.&#x20;
* The worker is not handling certain edge cases correctly.&#x20;
* You need to add, remove, or reorder steps in the worker's reasoning process.&#x20;
* You want the worker to ask different follow-up questions when information is missing.&#x20;

&#x20;

**Where to Find Instructions**&#x20;

1. Open the digital worker from the Digital Workers page.&#x20;
2. Navigate to the Compose tab.&#x20;
3. Locate the instructions field for the digital worker or the specific skill you want to modify.&#x20;

You are working on the Draft version. Instructions on published versions are read-only.&#x20;

&#x20;

**How to Write Effective Instructions**&#x20;

Instructions should be specific, complete, and unambiguous. The digital worker follows instructions literally, so vague guidance produces inconsistent results. Effective instructions typically cover:&#x20;

* What inputs to accept and how to validate them.&#x20;
* How to reason through the task, including what to do when information is incomplete.&#x20;
* What format to return, including required fields, optional fields, and null-handling rules.&#x20;
* How to handle edge cases and exceptions.&#x20;

Example: If you want the worker to return structured JSON instead of a free-form summary, add an explicit output contract to the instructions. Specify the required keys, their data types, allowed values, and what the worker should set when a field is unknown (for example, null), along with a rule to ask exactly two follow-up questions when required fields are missing.&#x20;

&#x20;

**Using Meta Prompter for Instruction Changes**&#x20;

If you prefer not to edit instructions directly, the Meta Prompter provides a conversational alternative. Open the Meta Prompter from the digital worker's Graph view, describe the change you want to make, review the proposed plan, and confirm. The Meta Prompter applies the change to the Draft for you.&#x20;

&#x20;

**After Changing Instructions**&#x20;

1. Run sanity tests from the Compose tab to verify the updated behavior.&#x20;
2. Review outputs for accuracy, format, and edge case handling.&#x20;
3. If results are as expected, publish the Draft to create a new version.&#x20;
4. Promote the new version to Production when ready.&#x20;

*<mark style="color:$info;">Best practice: Test instruction changes against a representative set of real or realistic inputs, including edge cases, before publishing. Small wording changes can have significant downstream effects.</mark>*&#x20;

&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.theloops.io/agenticstudio/resource-library/how-to-guides/customize-instructions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
