Picture a Year 9 pupil stuck on question 4 of her maths homework at 8pm. She opens an artificial intelligence (AI) chatbot, types “answer to question 4”, copies what comes back and closes the laptop. Now picture her typing “I’m in Year 9, I’m stuck on step two of this question, give me a hint but don’t tell me the answer.” Same pupil, same tool, very different evening. The gap between those two requests is what people mean by AI prompting skills, and a new randomised controlled trial (RCT) suggests they can be taught quickly, with one important catch.
The short version: In a trial with 431 university programming students, published in Scientific Reports on 28 November 2026, a short online lesson on writing prompts that ask AI to teach rather than solve improved the prompts students wrote. The improvement was still there six weeks later, in a paper exam taken without AI, and the more active the lesson, the bigger the gain. Final exam scores, though, did not differ between the groups. My view is that schools should teach prompting, because pupils are already using chatbots for homework, but treat it as a habit to build rather than a cure for weak learning.

Why AI prompting skills matter in schools now
The communications regulator Ofcom published new survey findings on 24 November. Of the 2,004 children aged 8 to 17 it surveyed in the United Kingdom (UK) in August and September, 81% said they had used an AI chatbot in the previous six months. Among those users, 35% use one daily and 53% use one for schoolwork or homework.
The parents’ answers are the part that caught my eye. Of parents whose children use chatbots, 68% think their child uses them in a similar way to a search engine, and 49% worry their child may become lazy or outsource answers and thinking. Those two findings sit together uncomfortably. A search engine habit is exactly “answer to question 4”, and that is the kind of use the evidence warns about.
The best-known warning comes from a field experiment with nearly a thousand high school maths students, published in 2025. Pupils given a standard chatbot did better while practising, then scored 17% lower than pupils who had never had access once it was taken away. A version built with safeguards to protect learning largely removed that harm. A pupil using a general chatbot at home has no such safeguards unless she switches on a study mode or asks for them herself. Often, if the safeguards are going to exist at all, pupils will have to type them.
What the new trial tested
The study, by Ruiwei Xiao and colleagues at Carnegie Mellon University, the University of Toronto and the New Jersey Institute of Technology, ran in an introductory university programming course in Canada. All 1,024 students on the course were randomly assigned to one of four versions of an online lab, and 431 completed every stage of the study. The supplementary materials describe the four versions in detail.
The lightest version was a two-sentence reminder to use AI as a tutor and not as a shortcut, which students read and acknowledged. The other three taught a six-part framework for a learning prompt:
- the role you want the AI to play, such as a patient tutor
- your level, so the explanation stays simple
- the context, meaning the task, your work so far and what went wrong
- the exact difficulty you have
- a guardrail, asking the AI not to give you the solution
- a tutoring method, such as three guiding questions or a worked example of a similar problem
In the second version students simply read three illustrated scenarios with example prompts. In the third they chose the best option for each part of the prompt and had their choices checked. In the fourth they chose and then wrote each part in their own words, with automated feedback when something was missing.
What happened to the prompts
At the start of term, students’ prompts scored 23% to 24% on the researchers’ rubric in every group. Very few asked the AI to hold back the answer, with scores for that part of the rubric between 4% and 7%. Straight after the lab, scores were 32% for the reminder group and 64%, 69% and 74% for the reading, choosing and writing groups.
The test that matters came six weeks later, as an optional bonus question in the course’s paper final exam, answered by hand and without AI. Students had to write a prompt to help them learn a database topic the course had never covered. Scores were 31%, 39%, 40% and 47%. The guardrail habit lasted best. Compared with their starting point, the three groups who had been taught the framework were between 30 and 46 percentage points more likely to include one, against about 5 points for the reminder group.
A pupil who asks for a hint has not learned anything yet. They have made learning possible, which is a different thing.
Why better prompts did not mean better grades
Average final exam scores ranged from 67.2% to 71.0% across the four groups, and the authors report no difference between them. Students in every group said they kept using AI for learning, with average answers between once a week and more than once a week, and their confidence rose as their skill did.
The authors place the limit of the effect on the path from prompting skill to achievement. My reading, and it is only a reading, is that knowing how to write a good prompt in an exam hall is one thing, and choosing to write it at 8pm, tired, with a deadline, is another. A single lab is also a small dose. Prompting is a way into learning, and the learning still has to happen afterwards.
There are limits for schools too. These were university students learning to code, and more than half of those enrolled did not finish every stage, although the drop-out rate was similar across groups. Voluntary use was self-reported. Nobody should claim from this study that a prompting lesson will raise General Certificate of Secondary Education (GCSE) grades, and the paper does not claim it.
What I would do in a secondary classroom
Start with the guardrail sentence, because it was the habit students lacked most and the one that lasted best. Give every pupil a line to keep in their planner or on the inside cover of an exercise book: “Help me work this out. Give me a hint or a question, not the answer.” It costs nothing and it changes what comes back.
Next, make pupils write prompts as well as read good ones. The writing group did best in the trial, both straight away and six weeks later. A hypothetical Year 10 science lesson might take a weak prompt such as “explain photosynthesis” and ask pairs to rebuild it with a role, their level, the question they are stuck on, a guardrail and a method. Then they run both versions and compare the replies. Our piece on how pupils use AI explains why this distinction between getting work done and learning matters so much, especially for lower-attaining pupils.
Then check the learning without AI, because this trial shows a good prompt is no guarantee of it. A short quiz with the laptops closed the next lesson tells you more than any prompt does. The Education Endowment Foundation (EEF) is recruiting secondary schools in England for trials of guided AI modes that hold back answers, and our guide to guided AI sets out what those trials will measure.
Finally, bring parents in. If most of them picture a chatbot as a search engine, a short paragraph in the next homework letter explaining the guardrail sentence would do more than a ban nobody can enforce at home. It also fits into the wider work on AI literacy in schools, where knowing how to ask well sits alongside knowing when the answer is wrong.
The trial gives schools a cheap, tested routine for better prompts. It does not give us a shortcut to better learning, and it would be odd if it did.
Frequently asked questions
What are artificial intelligence (AI) prompting skills?
AI prompting skills are the ability to write requests that get useful help from an AI chatbot. For learning, a strong prompt states the role you want the AI to play, your level, the task, the exact difficulty, a request not to give the answer, and a method such as guiding questions.
Can a short lesson improve how students prompt AI?
In a randomised controlled trial (RCT) with 431 university programming students, published in November 2026, a single online lesson improved the prompts students wrote. The gains were still visible six weeks later in a paper exam taken without AI, and the most active version of the lesson, where students wrote each part of a prompt themselves, worked best.
Does teaching prompting improve exam results?
Not in that trial. Average final exam scores were between 67.2% and 71.0% across the four groups, and the researchers found no difference between them. Better prompts make learning possible, but pupils still need practice and checks without AI.
How can pupils stop an AI chatbot giving them the answer?
Ask it directly. A guardrail sentence such as “Give me a hint or a question, not the answer” works with most chatbots. In the trial, only 4% to 7% of students included a request like this before they were taught, and it was the habit that lasted best afterwards.
Have you taught your pupils how to prompt an AI chatbot for help rather than answers, and did it change how they use it at home? Tell us in the comments what worked, and what pupils ignored.



