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.
In this guide
- What does teaching an AI agent by demonstration mean?
- Which tasks are good to teach this way?
- How do you record a good demonstration?
- What should you check in the skill it creates?
- How do you test the skill before scheduling it?
- What mistakes should you avoid?
- Frequently asked questions
- The bottom line
- Related posts
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 tasks | Leave for later |
|---|---|
| Checking your latest videos or posts and noting the figures | Anything that sends messages or emails |
| Collecting prices from three supplier pages | Anything that pays, orders or books |
| Copying new enquiries into a spreadsheet | Deleting files or records |
| Gathering links for a weekly round-up | Publishing 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.
- Prepare first. Sign in to any sites the task needs before you start recording.
- Start from the same place every time, such as the site’s home page or a saved link.
- Move at a steady pace. Pause briefly on anything important, like a sort order or filter.
- Avoid detours. Don’t check other tabs or fix unrelated things mid-demo.
- Finish the job properly, including where the result is saved.
- 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.
Want the full picture? Read Grok Bot Tutorial: How to Build a Team of AI Teammates That Do the Work to see the whole three-bot build, then plan your next bot with how to split work between several AI bots.
How do you test the skill before scheduling it?
Run it by hand first, then test the schedule on a copy.
- Run the skill manually two or three times, on different days if the data changes.
- Check each result against the real website.
- Fix the skill each time something is off, rather than correcting the output by hand.
- Create the routine, for example every Monday at 9am.
- Ask for a test run on a copy of your file. In the video, Desk did this so the real tracker stayed clean.
- 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.
Related posts
- Grok Bot Tutorial: How to Build a Team of AI Teammates That Do the Work
- How to Split Work Between Several AI Bots Without Overlap
- How to Set a Stop Condition for a Recurring AI Agent Task

[…] How to Teach an AI Agent a Task by Showing It Once — record a task once, review the skill it creates and test it safely before you schedule it […]