· 5 min read
New MiniLesson Item: Smart Frame
Smart Frame lets you put your own interactive activity, made with an AI tool like ChatGPT, Claude or Gemini, inside a MiniLesson.

Smart Frame is a MiniLesson item type that shows an interactive page that you upload. It can be an explainer, a custom practice activity, or a small game. It sits in the lesson like any other item, and it can send a score back to the lesson.
You don’t need to know how to code to make one. You describe the activity to an AI tool, like ChatGPT, Claude or Gemini, try it out in the chat, and then upload the file it gives you.
What is it for?
Teachers are very creative and they make things over at ChatGPT and other places. Smart Frame gives teachers a place to put those things in Moodle and track student participation, or even give a grade.
AI tools have become very good at making small interactive web pages. Teachers are already asking them for drag and drop activities, timelines, sorting games and the like. Smart Frame is a safe way and place to embed those widgets in Moodle.
Some features
- Upload one HTML file. This is what AI tools make most easily. If the activity needs audio, video or images, you can upload a ZIP instead.
- AI instructions on the item form. The Smart Frame form has a “Make a widget with AI” box with instructions you copy, or download, and give to the AI tool. They tell the AI how to build a page that will work in MiniLesson.
- Scores, if you want them. Some activities report a score, like 3 out of 4. You choose whether the lesson ignores it, saves it without grading, or uses it as the item grade.
- Its own interface language. An activity can have its instructions and buttons in more than one language. You can pick one, or let MiniLesson choose the learner’s own language.
- It is sandboxed. The page runs in a locked box. It can’t read anything from Moodle, can’t send anything anywhere, and can only talk to the lesson about its height and its score.
Making a Smart Frame activity
Add a new item to your MiniLesson and choose: Smart Frame. In the Make a widget with AI box there are four steps:
- Paste the instructions into a new ChatGPT (or other agent) chat, or download them and attach the file.
- Describe the activity. For example: “A quiz on the past tense of 10 common verbs, with English and Japanese instructions, that reports a score.”
- Try it in the chat, and ask for changes until you are happy with it.
- Say “Export it for Poodll”, download the file it gives you, and upload it in the Widget file box.

Steps 2 and 3 are where the work happens. The AI shows you the activity in its preview window, so you can click through it as a student would before it goes anywhere near your course. If something is wrong, just say so: “make the buttons bigger”, “add five more verbs”, “show the right answer after a wrong try”.
Then save the item. Two more settings now appear:
- Widget language — Automatic, or one of the languages the activity offers.
- Widget score — Ignore, Save, but do not grade, or Use as the item grade.
The student sees the activity inside the lesson, sized to fit, with the usual lesson navigation around it.

A TOEIC Widget Try it here
To change an activity later either continue the chat from where you left off, and re-export and re-upload. O download the file from the item form, attach it to a new chat along with the instructions, and say what you want changed.
A note on scores: the score is worked out in the student’s browser, so a student who really wanted to could change it. Smart Frame scores are fine for practice. Don’t use them for tests that matter.
Safety
A Smart Frame page can run any JavaScript its author wrote, so we took care over what that JavaScript is allowed to do. The page runs in a browser sandbox with its own anonymous origin. It can’t see Moodle’s cookies or pages, can’t make requests to Moodle or any other site, can’t open windows, and can only load files from its own folder. Even if a page tried to do something bad while an administrator was viewing it, it would not be able to.
Site administrators who would rather teachers didn’t upload their own pages can turn Smart Frame off on the MiniLesson item types page. The full details are in the security notes that come with the plugin, in item/smartframe/smartframe-security.md.
AI agents can make them too
If you build lessons with the MiniLesson MCP server, the AI agent can make Smart Frame items as well. Ask it for a lesson and it can add a custom activity alongside the regular item types.
Smart Frame is for the activity you can picture but couldn’t find in the list of item types. Now you can describe it, try it, and put it in your lesson.




