---
title: "@ references in your AI agent&#x27;s prompt | Chat Thing"
canonical_url: "https://chatthing.ai/blog/prompt-references-and-skills"
last_updated: "2026-11-30T23:48:55.876Z"
meta:
  description: "Refer to data sources and Power-Ups in your agent's prompt with @. More correct answers on every model in our testing. Plus a new prompt editor and skills."
  "og:description": "Refer to data sources and Power-Ups in your agent's prompt with @. More correct answers on every model in our testing. Plus a new prompt editor and skills."
  "og:title": "Point your agent at the right source with @ references - Blog - Chat Thing"
  "twitter:description": "Refer to data sources and Power-Ups in your agent's prompt with @. More correct answers on every model in our testing. Plus a new prompt editor and skills."
  "twitter:title": "Point your agent at the right source with @ references - Blog - Chat Thing"
---

[← Back to blog](https://chatthing.ai/blog)**Changelog**# **Point your agent at the right source with @ references**

![Zef](https://res.cloudinary.com/djyjvrw5u/image/upload/v1710941716/IMG_2278_d3b5e4fa69.jpg)

Zef

30 Nov 2026

~ 7 min read

---

![Point your agent at the right source with @ references](https://res.cloudinary.com/djyjvrw5u/image/upload/v1796073851/hero_b17be643f6.png)

---

### **On this page**

1. [Refer to data sources and Power-Ups in your prompt](#refer-to-data-sources-and-power-ups-in-your-prompt)
   1. [What we found in testing](#what-we-found-in-testing)
2. [A full prompt editor](#a-full-prompt-editor)
3. [Skills for occasional situations](#skills-for-occasional-situations)
4. [FAQ](#faq)
   1. [Do @ references cost more message tokens?](#do-references-cost-more-message-tokens)
   2. [Do I need to rewrite my prompt?](#do-i-need-to-rewrite-my-prompt)
   3. [Which plans have the prompt editor, references and skills?](#which-plans-have-the-prompt-editor-references-and-skills)
   4. [When should I use a skill instead of the main prompt?](#when-should-i-use-a-skill-instead-of-the-main-prompt)

Your agent's prompt can now refer to its data sources and Power-Ups by name. Type **@**, pick one, and it goes into the prompt as a reference, so you can write "Quote prices only from @Current prices". When the prompt refers to a data source, your agent can search that source directly before it answers. In our testing, prompts with references got more correct answers than the same prompts written in plain words, on every model we tried.

Also in this post:

- **A full prompt editor**, with formatting, a full-screen view, highlighted placeholders, **Edit with AI** and a history of your last 100 saved versions.
- **Skills**: instructions your agent reads only when a conversation needs them, for the situations that only come up now and then.

## Refer to data sources and Power-Ups in your prompt

Type **@** anywhere in your agent's prompt, or click the **@** button in the toolbar, and choose a data source or Power-Up from the list. It appears as a highlighted reference.

![The prompt editor with references to UK returns policy, Current prices and Price list 2025 highlighted in green, and the @ menu open listing the agent's five data sources](https://res.cloudinary.com/djyjvrw5u/image/upload/v1796073843/reference_menu_988f4f5f33.png)

A reference points at the item itself, not its name. Rename a data source and your agent sees the new name. Delete it and the reference becomes plain text, which **Review for problems** will point out.

Your agent still gets relevant knowledge from all its data sources with every message, as before. A reference adds a way to search one named source when your instructions send it there. If you have a 2025 price list and a current one, "Quote prices only from @Current prices, never from @Price list 2025" gives the agent a source to check, and it searches that one before quoting a price.

![A test chat where a visitor asks about posting back a gas canister and the price of trail shoes. Used Search knowledge appears above the reply, which answers both from the referenced returns policy and price list](https://res.cloudinary.com/djyjvrw5u/image/upload/v1796073845/reference_search_42d3b08711.png)

To check a reference is doing its job, click **Test** on your agent and ask a question it should cover. **Used Search knowledge** above the reply means the agent searched a source first.

### What we found in testing

We built an invented shop with seven data sources that disagree with each other: an out-of-date help centre, UK, US and trade returns terms, and price lists for 2025 and 2026. We asked 37 questions on four models, twice each, with prompts that were identical except that one named the sources as @ references and the other described them in words. A judge model marked each answer against the source text.

| Model | Prompt in words | With @ references |
| --- | --- | --- |
| GPT-5.6 Luna | 86% | 96% |
| Gemini 3.5 Flash | 84% | 94% |
| Claude Haiku 4.5 | 77% | 89% |
| GPT-4.1 Mini | 80% | 84% |

References cost more. A reply where your agent searches a source makes an extra model call, so it uses roughly twice the [message tokens](https://chatthing.ai/docs/account/message-tokens) of a normal reply, and in our tests it took between a third of a second and a second and a half longer. Replies that don't search cost the same as before.

When Otto drafts a prompt or a skill for you, it adds the references itself wherever your agent should use a data source or Power-Up.

## A full prompt editor

The **Prompt** field is now a proper editor. You can format it with headings, bold, lists and code, switch between **Rich** and **Markdown**, and expand it to full screen. Placeholders in square brackets, such as `[contact email]`, are highlighted and listed above the prompt until you've filled them in, because your agent reads anything left in brackets word for word.

**Edit with AI** (or **⌘J** / **Ctrl+J**) asks Otto to change the prompt for you. Select a part to change just that, then type what you want, such as "Hand refunds over to the team", or click **Make it firmer**, **Add an example**, **Remove the caps** or **Tidy into clear rules**. Otto's changes show with removed text struck through and new text in green, and nothing changes until you click **Accept**.

![Otto's changes in the prompt editor: one rule about angry customers struck through in red, its rewrite in green, and Discard and Accept buttons underneath](https://res.cloudinary.com/djyjvrw5u/image/upload/v1796073847/edit_with_ai_1052841d38.png)

**History**, under the **Prompt** field, keeps the last 100 saved versions, with who saved each one and whether it came from settings, Otto or the [MCP server](https://chatthing.ai/docs/mcp). Click **Compare** to see what changed, or **Restore this version** to go back.

**Review for problems**, which we wrote about [last month](https://chatthing.ai/blog/gemini-4-hydrogen-opus-5-5-and-better-testing), is in the same **Edit with AI** menu.

[Write your agent's instructions](https://chatthing.ai/docs/bot-settings/instructions) covers the whole editor.

## Skills for occasional situations

A skill is a short set of instructions for one situation, such as returns or complaints. Your agent always reads its main prompt, plus each skill's name and a one-line **When to use it**. It reads a skill's full instructions only when a conversation matches.

Skills are useful when your prompt has grown long with steps for situations most conversations never reach. Move the returns process into a skill and the main prompt gets shorter, while the agent still gets every step when someone asks about a return.

For the shop in our testing, a returns skill could look like this. The references tell the agent which source to check and which Power-Up to use at each step. Order lookup and Talk to a human stand for Power-Ups you've added.

> **Name:** Returns & refunds
>
> **When to use it:** The customer wants to return or exchange an item, or asks where their refund is. 1. Ask for the order number, then look it up with @Order lookup. 2. Check the return window and condition rules in @UK returns policy. Only use @US returns policy if the order shipped to the US. 3. If the item qualifies, explain how to start the return. 4. Refunds go back to the original payment method. Never promise a date. 5. For refunds over £100, damaged items, or anything the policy doesn't cover, hand over with @Talk to a human.

**When to use it** describes the customer's situation, and the instructions cover returns and nothing else. Tone and language stay in the main prompt.

Skills won't make your agent's answers better on their own. In a small test, the same set of instructions gave answers of the same quality as one long prompt and as a short prompt plus skills. They make a long prompt easier to manage. Keep your agent's main job in the main prompt: if a skill would be needed in nearly every conversation, loading it only adds a step.

To add one, click **Add a skill** under the **Prompt** field. You can describe the situation and have Otto draft the skill, write it yourself, or start from **Returns & refunds**, **Bookings**, **Pricing questions**, **Complaints** or **Order tracking**. Otto also suggests skills from your prompt. A suggestion marked **Moves 78 words** takes that part of your prompt out and turns it into a skill, and **Undo** puts it back.

![The new skill panel with Draft with AI and Write it myself, three suggested skills including Returns & refunds marked Moves 78 words, and the five starters underneath](https://res.cloudinary.com/djyjvrw5u/image/upload/v1796073848/skill_suggestions_1d904429c0.png)

Each skill shows how many chats used it in the last 7 days. A skill nobody uses may need a clearer **When to use it**, and one used in nearly every chat probably belongs in the main prompt. In **Conversations**, each chat lists the skills it loaded. Up to 3 skills can be active in one conversation, and an agent can have 20.

You can also ask Otto ("Move our returns rules into a skill"), or read and change skills from an AI assistant with the `get_bot_skills` and `set_bot_skills` tools in the [Chat Thing MCP server](https://chatthing.ai/docs/mcp/tools). [Give your agent skills](https://chatthing.ai/docs/bot-settings/skills) has the details.

## FAQ

### Do @ references cost more message tokens?

Only on replies where your agent searches a referenced data source. Those use roughly twice the message tokens of a normal reply. References to Power-Ups don't add a search.

### Do I need to rewrite my prompt?

No. Existing prompts work as before. Where your prompt already names a data source in words, replacing the name with an @ reference is enough.

### Which plans have the prompt editor, references and skills?

Every plan. Power-Ups need the Basic plan or above, so on Free you can refer to data sources only. **Edit with AI**, **Review for problems**, drafting with Otto and skill suggestions use your agent's message tokens.

### When should I use a skill instead of the main prompt?

Use a skill for steps that only matter in some conversations, such as returns, bookings or complaints. Anything your agent needs in most conversations, including how it presents answers, belongs in the main prompt.

### **Related articles **

[![Gemini 4 Hydrogen, Claude Opus 5.5 and test results you can search](https://res.cloudinary.com/djyjvrw5u/image/upload/v1794577398/hero_e3754b5f2e.png)](https://chatthing.ai/blog/gemini-4-hydrogen-opus-5-5-and-better-testing) [<h4>Gemini 4 Hydrogen, Claude Opus 5.5 and test results you can search</h4>](https://chatthing.ai/blog/gemini-4-hydrogen-opus-5-5-and-better-testing)

Five new models, including Gemini 4 Hydrogen, now first on SupportBench. Plus test results you can search and export, a review that finds problems in your prompt, and a more accessible chat widget.

[![Chat Thing for Discord: AI moderation by your rules and a help forum that answers itself](https://res.cloudinary.com/djyjvrw5u/image/upload/v1794486028/hero_4ddab00cf7.png)](https://chatthing.ai/blog/chat-thing-for-discord) [<h4>Chat Thing for Discord: AI moderation by your rules and a help forum that answers itself</h4>](https://chatthing.ai/blog/chat-thing-for-discord)

Discord AI moderation by rules you write in plain English, an agent that answers every post in your help forum and hands the rest to your team, and automations that react or reply when things happen.

[![Web search: a more powerful replacement for Google Search](https://res.cloudinary.com/djyjvrw5u/image/upload/v1794239469/hero_7a59991b16.png)](https://chatthing.ai/blog/web-search-replaces-google-search) [<h4>Web search: a more powerful replacement for Google Search</h4>](https://chatthing.ai/blog/web-search-replaces-google-search)

The new Web search Power-Up searches the websites you choose, reads the pages and PDFs it finds, and links to its sources. It replaces Google Search, which stops working on 1 January 2027.

<dl>

<dt>**Previous **</dt>
<dd>[← 8 Chatbase alternatives in 2026, with real prices](https://chatthing.ai/blog/chatbase-alternatives)</dd>

</dl>