Moodle Plugins directory: AI tools for teachers - prompt generator: Versions: 1.4 | Moodle.org
AI tools for teachers - prompt generator
Blocks ::: block_aipromptgen
Maintained by
Boban Blagojević
AI Prompt Generator helps teachers create clear, structured prompts for AI tools directly from Moodle using course data (topics, resources, activities, competencies).
AI tools for teachers - prompt generator 1.4
Moodle 3.9, 3.10, 3.11, 4.0, 4.1, 4.2, 4.3, 4.4, 4.5, 5.0, 5.1
Released: Rāhoroi, 31 Kohitātea 2026, 3:16 PM
Code prechecks
overview
phplint
phpcs
js
css
phpdoc8 | 0
savepoint
thirdparty
grunt16 | 0
shifter
mustache0 | 5
gherkin
HTML | XMLChanges
1.4 (2026-01-31)
- Fix: Resolved PHP TypeError (htmlspecialchars) when rendering course competencies in Mustache templates.
- Fix: Achieved full ESLint compliance for all Javascript modules (actions, ui, markdown, stream, etc.).
- Refactor: Split complex logic in
markdown.jsandui.jsinto smaller, maintainable helper functions. - Clean: Removed trailing whitespace and addressed all pending linting warnings.
1.3 (2026-01-31)
- Feature: Refined AI Response Modal with 4 view modes: RAW, TEXT, HTML (Rich preview), and HTML CODE (source).
- Feature: Smart "Copy to Clipboard" with support for copying rich text.
- Feature: Improved UI feedback with copy status indicators.
- Feature: Enhanced Markdown rendering compatibility.
- Fix: Improved auto-formatting for streamed AI responses.
- Fix: UI layout refinements for better modal visibility.
1.2 (2025-12-06)
- Feature: Added RAW, TEXT, and HTML view modes for AI response improved accessibility and usage.
- Feature: Added "Copy" buttons that respects current view mode.
- Feature: Client-side Markdown rendering with auto-fix for clumped text from streams.
- Fix: Ollama connection now supports local/private IP addresses by bypassing SSL verification for local subnets.
- Fix: Reduced modal height to prevent buttons from being pushed off-screen.
- Fix: Improved TEXT view cleanup (removed stray markdown artifacts).
1.0 (2025-12-04)
- Stable release.
- Added unified "Send to AI" workflow.
- Added Ollama provider support.
- Refined prompt builder UI.
0.3.0 (2025-08-31)
- Unified "Send to AI" button with provider select.
- Added Ollama endpoint & model settings.
0.2.0 (2025-08-25)
- Initial OpenAI ChatGPT send support.
- Prompt builder refinements.
0.1.0
- First public prototype (prompt builder only).
Version information
- Version build number
- 2026013101
- Version release name
- 1.4
- Maturity
- Stable version
- MD5 Sum
- 4c0cb7098c7666e369234611a6e72576
- Supported software
- Moodle 3.9, Moodle 3.10, Moodle 3.11, Moodle 4.0, Moodle 4.1, Moodle 4.2, Moodle 4.3, Moodle 4.4, Moodle 4.5, Moodle 5.0, Moodle 5.1
- Latest release for Moodle 3.9
- Latest release for Moodle 3.10
- Latest release for Moodle 3.11
- The more recent release 1.5.0 (2026013103) exists for Moodle 4.0
- The more recent release 1.5.0 (2026013103) exists for Moodle 4.1
- The more recent release 1.5.0 (2026013103) exists for Moodle 4.2
- The more recent release 1.5.0 (2026013103) exists for Moodle 4.3
- The more recent release 1.5.0 (2026013103) exists for Moodle 4.4
- The more recent release 1.5.0 (2026013103) exists for Moodle 4.5
- The more recent release 1.5.0 (2026013103) exists for Moodle 5.0
- The more recent release 1.5.0 (2026013103) exists for Moodle 5.1
Version control information
- Version control system (VCS)
- GIT
- VCS repository URL
Default installation instructions for plugins of the type Blocks
- Make sure you have all the required versions.
- Download and unpack the block folder.
- Place the folder (eg "myblock") in the "blocks" subdirectory.
- Visit http://yoursite.com/admin to complete the installation
- Turn editing on in any home or course page.
- Add the block to the page
- Visit the config link in the block for more options.