
AI tools for teachers – prompt generator
- Moodle 1.9–5.1
- 更新 2026-11-02
AI Prompt Generator helps teachers create clear, structured prompts for AI tools directly from Moodle using course data (topics, resources, activities, competencies).
Empower your teachers with a dedicated, course-aware AI prompt builder! The AI for Teachers block allows educators to quickly generate highly structured, context-rich instructional prompts directly within their Moodle courses without needing to be “prompt engineers.”
By connecting directly to your course data, the builder eliminates the need to manually type out redundant details. Teachers can use intuitive “Browse” buttons to instantly pull in course sections, learning competencies, and gradebook outcomes. The result? Highly accurate, ready-to-use prompts for creating lesson plans, quizzes, rubrics, and student activities.
✨ Key Features
Course-Aware Context: The builder automatically prefills the subject name and provides “Browse” modals to seamlessly insert your specific Moodle course sections, activities, learning plan competencies, and gradebook outcomes.
Real-Time Generation: As you select options or type (Student age, Class type, Audience, Language, etc.), the prompt updates instantly and natively.
Multi-Provider AI Integration: Connect your institution’s preferred AI provider to seamlessly send prompts and receive responses without ever leaving Moodle. Currently supports:
OpenAI (ChatGPT)
Google Gemini
Anthropic Claude
DeepSeek
Custom OpenAI-compatible API (Any provider using the OpenAI standard!)
Ollama (Run local models on your own server for total data privacy!)
Quick Templates: Admins can define custom JSON-based prompt templates with placeholders (like {topic}, {audience}) for one-click highly specialized generation.
Advanced Response Viewer: AI responses are returned in a beautifully formatted modal with 4 distinct view modes: Rich HTML (rendered), Text , Raw Markdown , and HTML Code .
Smart “Copy” functionality: One-click copy preserves Rich Text formatting (like bullet points, bold text, and headers) so it pastes perfectly into Microsoft Word, Google Docs, or your Moodle text editor.
Teacher-Only Access: Safely restricted to users with editing capabilities (editing teachers and managers by default)—students cannot access the block.
Custom Templates (JSON)
You can define your own prompt templates that appear in the dropdown menu. Use placeholders like {subject} , {topic} , {lesson} , {audience} , {outcomes} .
Example 1: Simple JSON
- 2.0.0Moodle 4.1, 4.2, 4.3, 4.4, 4.5, 5.0, 5.1, 5.2, 5.3
- 1.6.0Moodle 3.9, 3.10, 3.11, 4.0, 4.1, 4.2, 4.3, 4.4, 4.5, 5.0, 5.1