HaughtAI
HaughtAI

Compose

Skills

Instructions a persona follows, and how to write one it will actually use.

What a skill is

A skill is instructions. It is text, written for the model, that says how to do one thing. It is not code, not a tool, and it does not run anything — a Connector is what reaches the outside world.

The model does not see a skill's full text until it decides it needs it. What it sees up front is a short catalogue: each attached skill's name and one-line description. So a long skill costs nothing until it is opened, and the description is what earns that opening.

Write the description for the model, not for a person browsing a list. "Use before stating any fact you have not already verified" tells it when to open the skill. "A helpful research helper" does not.

How to write one

A skill that works is a procedure, not an essay. Four parts, in this order:

PartWhat it answers
TriggerWhen should this be used? State the situation, not the topic.
StepsWhat to do, numbered, one action each.
Stop conditionWhen is it finished? Without this, a procedure keeps going.
Output contractWhat the answer looks like. Shape and length, not content.

A complete example

# Source check

Use this whenever you are about to state a fact you did not get from the
conversation itself.

1. Write down the claim in one sentence.
2. Find the primary source. A summary of a source is not the source.
3. Quote the sentence that supports the claim, word for word.
4. If there is no primary source, say that, and say what you would need.

Stop when step 3 or step 4 is done. Do not go on to look for more
material than the claim needs.

Output: the claim, the quote, and the link. Nothing else.

Why this shape works

  • The trigger is a condition. "Whenever you are about to state a fact" can be checked while answering. "Research" cannot.
  • Each step is one action. A step that contains "and" is usually two steps, and the model will do one of them.
  • The stop condition is explicit. Models do not know when to stop unless told. A procedure that ends at a named result is reproducible; one that ends at "enough" is not.
  • The output contract is stated last. It is the thing the reader sees, so it is the last thing the model reads before it writes.

Things that make a skill worse

  • Restating the persona's identity — it is already in every turn.
  • Describing a tool rather than when to use it.
  • Long lists of prohibitions. State what to do instead.
  • Two procedures in one skill. Split them; a persona can carry 200.

The skill record

Inside a persona file, a skill is an object with four fields:

FieldRequiredMeaning
definition Yes The instructions. Markdown. This is the whole substance of the skill.
name No A label. Defaults to empty.
description No The one line the model reads before deciding to open the skill.
id No A hint from the exporting app. It is discarded and a new one is allocated.
{
  "id": "3U729O",
  "name": "Source check",
  "description": "Use before stating any fact you have not already verified.",
  "definition": "# Source check\n\n1. Write down the claim...\n2. Find the primary source.\n..."
}

About the id

Do not build anything on a skill id. A receiving app allocates its own, so an id written in one file means nothing in another. What survives a round trip is the pair of name and definition: if the same pair already exists locally, the existing local id is reused.

Two personas in one file may share a skill. It is created once.

Built-in tools

These are the studio's own tools. A persona may name any of them, and a name the receiving app does not implement is dropped rather than treated as an error — so a file naming a tool from a newer version still imports.

NameWhat it opens
web_fetchOpen a URL the model already has and return the page as readable text.
use_skillOpen one of the persona's own skills. Offered only when it carries a skill.
get_dataOpen one of the persona's own data files. Offered only when it carries one.

Offered, not merely attached

use_skill is only offered when the persona carries at least one skill, and get_data only when it carries a data file. A persona with neither sends exactly the request it would have sent with no tools at all — which is worth knowing when you are comparing a persona against a bare model.

What is not on the list

Web search is a tool on the HaughtAI search Connector, not a built-in. If a persona needs to search the web, it needs that Connector attached — see Connectors in HaughtStudio.