Module 2 · Lesson 06

Skills and Teach a task

Turn a task that worked into a skill any Bot can reuse, by describing it or by showing it once with Teach a task.

  • 7 min
  • Beginner
Contents3
  • Know what a skill contains and when a task is ready to become one
  • Create a skill from a finished task, from written material, or with Teach a task
  • Review a draft skill and call it with / in a later conversation

Tasks that come back every week

Some tasks come back every week: the same report, the same reply to a supplier, the same five clicks in an old web tool. Explaining them each time is slow, and the result shifts with your wording.

Memory (lesson 05) helps a Bot An AI teammate with a name, a job and its own conversation. It works on a computer in the cloud, even when you're away. See in the glossary → remember your preferences. It does not give the Bot a reliable method for a specific job. For that, you save a skill.

A recipe card for your Bots

A skill is a reusable set of instructions for how to do a task. It works like a recipe card that sits in a shared kitchen: whoever picks it up follows the same steps and gets the same dish. Skill Saved instructions to do a task the same way every time. All your Bots can use them. See in the glossary → are available across your Bots, although a Bot may need the right connector (lesson 08) or login to use one.

What a skill contains

A skill captures the steps, the decisions to make along the way, the expected output and the safety boundaries. A useful skill states:

  1. When to use it
  2. The inputs and access it needs
  3. The sequence of work
  4. How to check the result
  5. What to return
  6. What requires approval

If one is missing, the Bot has to guess.

Where it fits

  • The description holds rules that one Bot must always follow.
  • Memory holds what a Bot has picked up while working with you.
  • A skill holds the method for one task, and any of your Bots can use it.

Start with a task that already works

Follow this order: do the task once, make it reliable, save the method as a skill, and only then automate it with a Routine Work a Bot does on its own, on a schedule or when something happens in another tool. See in the glossary → (work that runs on a schedule, lesson 10). A skill saved from a half-working task just repeats the problems faster.

Three ways to create a skill

From a task you just finished. Once the result is right, ask the Bot to save the process. This is the most common path.

From written instructions or existing material. You can paste a procedure, a checklist or examples and ask the Bot to turn them into a skill. Real examples work well. An email Bot can learn your tone from emails you have already written.

Day 1 · 0:52:11Teaching an email Bot your tone

By demonstration, with Teach a task. You do the task once on the Bot's computer while it watches, and it writes the skill for you. The next section walks through it.

The limits of Teach a task

  • It records visible computer interaction for up to ten minutes.
  • It does not record microphone audio, so narrating out loud adds nothing.
  • Everything on screen is recorded, so don't show secrets. For passwords and other credentials, use the secure handoff flow instead (lesson 09).
  • It may not be available on your account yet. If you don't see it, ask the Bot to create the skill from written instructions and the completed task.

The skill it produces is a draft. One demonstration shows the happy path, the case where everything goes right. It does not show what to do when a field is empty, a page fails to load or the action needs your approval. You add that.

Save a task as a skill

Save a skill from a finished task

  1. Run the task in a normal conversation and correct it until the result is right.
  2. Ask the Bot to save the process as a skill with a clear name.
  3. Read the skill it writes. Check it against the six points above.
Prompt
Save the process we just used as a skill called "Weekly supplier report." Include where the data comes from, the table format, what counts as a late delivery, and the rule that nothing is sent to suppliers without my approval.

Teach a task by demonstration

  1. Open a one-to-one conversation with the Bot and open its computer view.
  2. Choose Teach a task.
  3. Describe the result you are about to demonstrate.
  4. Do the workflow once, at a normal pace.
  5. Stop the recording and review the skill the Bot creates.
  6. Test it on a safe example before you put it on a schedule.

Finish the draft

Add what one example could not show:

Prompt
Update the skill you just created. If the spreadsheet has an empty row, skip it and list it at the end. If the page doesn't load after two tries, stop and tell me instead of guessing. Ask for my approval before saving anything in the shared drive.

Use a saved skill

In the message box of the desktop app, type / to pick a saved skill. (Typing @ is for Bots, groups, routines and Connector A ready-made link between a Bot and a service such as Slack, Notion or GitHub. In the app they appear as Plugins. See in the glossary →.)

If a skill doesn't appear in the / menu, it may not be enabled for this Bot. Open Settings → Plugins → Yours, find the skill and enable it for the current Bot.

Slide Sonya learns to animate a slide

In a live demo, the xAI team had a Bot called Slide Sonya (lesson 01) that worked on a slide deck. The presenter wanted it to add animations to slides, so they showed it once.

Day 1 · 0:43:54Teaching a Bot to animate a slide

  1. With the deck open on Sonya's computer, they chose Teach a task.
  2. They took control of the computer and did the work themselves: Insert, then an animation, then "fly-in". They played it to check it worked.
  3. They stopped the recording.

Sonya turned the recording into an "add animation" skill that appeared among its skills. From then on, one message was enough:

Prompt
Add the animation I taught you to the slides in this section.

To make that skill safe to reuse, the next move would be to finish the draft: which slides should never be animated, what to do if the deck is locked, and when to stop and ask.

The same approach suits long, repetitive work in business tools, such as a sales team's steps in Salesforce, a popular CRM The tool where a team tracks customers and sales deals. See in the glossary →.

Day 1 · 6:19:37Recording a workflow on the Bot's computer

Day 2 · 3:36:21Why a skill built from one mistake goes bad

Skills saved too early

  • Saving a skill too early. The skill copies a process that still has errors. Fix: run the task until the output is right, then save it.
  • Treating the learned skill as finished. It breaks the first time something unexpected happens. Fix: add decision rules, failure handling and approval boundaries to the draft.
  • Showing a password during a demonstration. The secret ends up in the recording. Fix: use the secure handoff flow for credentials (lesson 09), never the recording.
  • Demonstrating a long, wandering session. The recording stops at ten minutes and the Bot learns your detours. Fix: rehearse first and show only the clean path.
  • Scheduling before testing. A routine repeats a bad skill every day. Fix: test on a safe example first.
  • The skill isn't in the / menu. You think it was lost. Fix: enable it for this Bot under Settings → Plugins → Yours.

A good skill gets reviewed and tested

  • A skill is a reusable set of instructions for a task, available across your Bots.
  • A good skill says when to use it, what it needs, the steps, how to check, what to return and what needs approval.
  • Create skills from a finished task, from written material, or by demonstration with Teach a task (up to ten minutes, no audio).
  • A learned skill is a draft. Add decision rules, failure handling and approvals, then test it on a safe example.
  • Type / to use a skill. If it's missing, enable it under Settings → Plugins → Yours.