Comic book style split-screen of a hand demonstrating a task on one side and a robot repeating it on the other, representing teaching an AI agent by demonstration

Quick answer

To teach an AI agent a task by showing it once, pick a short, repeatable job, do it slowly from start to finish while the agent records, then review the skill it writes before you use it. Check the inputs, steps and how it reports back, and add rules such as “copy numbers exactly, never estimate”. Run it by hand a few times, test any schedule on a copy, and only then put it on a routine. This is the approach WorldofAI shows with Grok Bot’s Teach a task feature, and the same thinking works with any agent that learns from a demo.

Key takeaways

  • Showing beats describing for jobs that involve clicking through websites.
  • Choose tasks that are short, repeatable and low risk for your first demos.
  • Record one clean run at a steady pace, with no detours.
  • Always read the skill it saves. Fix the inputs, steps and reporting before you rely on it.
  • Add a “never guess” rule for figures and facts.
  • Test on a copy before you schedule, so your real files stay clean.

📘 Main article: This guide supports Grok Bot Tutorial: How to Build a Team of AI Teammates That Do the Work. It turns the Desk bot demo into a step-by-step method you can use to teach your own agent a recurring job.

Writing instructions for an AI agent can take longer than doing the job yourself. Showing it the job once is often quicker and clearer.

This guide answers one question: how do you teach an AI agent a task by showing it once? It builds on our main article, Grok Bot Tutorial: How to Build a Team of AI Teammates That Do the Work, and on WorldofAI’s sponsored Grok Bot tutorial.

What does teaching an AI agent by demonstration mean?

You do the job while the agent watches, and it turns what it saw into written, reusable steps. In the video, WorldofAI opens Teach a task from the plus menu, starts a recording on the bot’s computer and checks his channel’s latest uploads. When he stops, the bot studies the demo and saves a skill in a couple of minutes.

A skill here means a saved set of instructions for one job: what it needs, what to do and how to report back. You can call it again by name, edit it or schedule it.

Which tasks are good to teach this way?

Short, repeatable jobs on websites, where a mistake is easy to spot and fix.

Good first tasksLeave for later
Checking your latest videos or posts and noting the figuresAnything that sends messages or emails
Collecting prices from three supplier pagesAnything that pays, orders or books
Copying new enquiries into a spreadsheetDeleting files or records
Gathering links for a weekly round-upPublishing to your website or social accounts

If you aren’t sure which job to start with, our guide on choosing the next workflow to automate with AI helps you pick one with low risk and clear value.

How do you record a good demonstration?

Do one clean, steady run from start to finish.

  1. Prepare first. Sign in to any sites the task needs before you start recording.
  2. Start from the same place every time, such as the site’s home page or a saved link.
  3. Move at a steady pace. Pause briefly on anything important, like a sort order or filter.
  4. Avoid detours. Don’t check other tabs or fix unrelated things mid-demo.
  5. Finish the job properly, including where the result is saved.
  6. Stop the recording and let the agent build the skill.

💡 Tip: If the agent lets you add a note, say out loud or type what matters, for example “always sort by latest first”. In the video, the bot picked up the sort order from the demo, but a short note removes any doubt.

What should you check in the skill it creates?

Read every line, and check four things.

  • Inputs: what it needs each time, such as a channel link or a date range.
  • Steps: in the right order, with nothing missing or invented.
  • Output: where it saves results, in what format and with which columns.
  • Rules: what it must never do, and when to stop and ask.

In WorldofAI’s demo, the bot added a rule he hadn’t stated: copy the numbers exactly as shown and never estimate them. That is a good rule to add to any skill that handles figures. Edit anything that isn’t right; a skill is only as good as its written steps.

⚠️ Warning: An agent may confidently report that a job is done when it isn’t. Compare the first few outputs with the real pages yourself. Our guide on spotting reward hacking when an AI agent says the job is done shows what to look for.

How do you test the skill before scheduling it?

Run it by hand first, then test the schedule on a copy.

  1. Run the skill manually two or three times, on different days if the data changes.
  2. Check each result against the real website.
  3. Fix the skill each time something is off, rather than correcting the output by hand.
  4. Create the routine, for example every Monday at 9am.
  5. Ask for a test run on a copy of your file. In the video, Desk did this so the real tracker stayed clean.
  6. Add a stop condition so the routine ends or asks for help if something unexpected happens. See how to set a stop condition for a recurring AI agent task.

🔎 Unconfirmed / rumour: Teach-by-demonstration features are new and vary between tools. How well an agent copes when a website changes its layout isn’t shown in the video. Expect to re-teach or edit a skill when the sites it uses change.

What mistakes should you avoid?

  • Teaching a risky task first. Start with read-only jobs.
  • Recording a messy demo. The agent may learn your detours as steps.
  • Skipping the review. Always read the saved skill.
  • Scheduling too soon. Wait for a few clean manual runs.
  • Testing on the real file. Use a copy until you trust it.
  • Keeping the only copy inside the tool. Save the skill text somewhere you own as well.

Frequently asked questions

Can an AI agent learn a task from one demonstration?

For simple, repeatable web tasks, often yes. WorldofAI’s Desk bot built a working skill from a single recording. More complex jobs may need edits or a second demo.

What is an AI agent skill?

It is a saved set of instructions for one job: the inputs, steps, output and rules. You can reuse, edit or schedule it.

Is it better to write instructions or show the task?

Showing is usually quicker for clicking through websites. Writing is better for rules and judgement. The best skills combine both.

How do I stop a taught skill going wrong on a schedule?

Run it manually first, test the routine on a copy and add a stop condition so it asks you when something unexpected happens.

Does Teach a task work in every AI agent?

No. It is a Grok Bot feature in the video, and other tools may offer different versions or none. The method in this guide still applies.

The bottom line

Teaching an AI agent by showing it once can save a lot of instruction writing, but the review is what makes it reliable. Choose a short, low-risk job, record one clean run, read and fix the skill, then test it before scheduling. Your next step: pick one weekly task you do in a browser and do a slow, tidy run of it with the agent recording.

author avatar
Garry Knight
I'm Garry Knight, the person behind Prodify Digital. I write about email list building, email marketing, SEO, AI search and the tools that connect them. My aim is to make online marketing easier to understand, so creators and small business owners can make informed decisions about building an audience and keeping people engaged. Here you'll find straightforward guides and product reviews that explain what something does, where it fits and which limitations matter. The focus is on clear explanations and useful next steps—not hype, shortcuts or promises of easy earnings.
One thought on “How to Teach an AI Agent a Task by Showing It Once”

Leave a Reply