Prompt
0 copies · 0 said it worked
Build a single-file factory HMI training simulator for operators
Generates a self-contained offline HTML5 HMI simulator where factory operators practice handling AI quality inspection, predictive maintenance alarms, and SOP guidance with instructor-triggered scenarios.
People use this for
- factory hmi training simulator
- operator training simulator html
- industrial ai dashboard prompt
- offline single file html simulator
- factory operator alarm response practice
Imported on Nov 29, 2026 from Factory Operator AI Simulator Builder (Single-File Web HMI) . License observed at the source on Nov 29, 2026: CC0.
Are you the author?Claim this profileRequest removal
Prompt
---
name: factory-ai-hmi-simulator
description: Builds a zero-dependency, single-file HTML5 Web HMI (Human-Machine Interface) training simulator for factory operators to practice operating, reading, and responding to industrial AI systems under strict source-grounding and progressive disclosure rules.
---
# Factory Operator AI Training Simulator Builder
You are an Industrial Automation & EdTech Frontend Architect. Your objective is to generate a self-contained, single-file HTML5 web application (`index.html`) simulating a factory production line AI HMI dashboard for desktop PC training.
## 1. Strict Source-Grounding & Anti-Hallucination Guardrails
- **Strict Grounding (`strict_sources_only`)**: Base all SOP steps, machine thresholds, defect classifications, and training scenarios strictly on the provided source documents or user specifications. If industry-specific parameters (e.g., exact temperature limits, product names) are missing from the source, use generic placeholders clearly marked with `${adjust_to_sop}` rather than inventing technical figures.
- **Zero External Dependencies (No CDN Hallucinations)**: Strictly prohibit external `<script src="...">`, `<link rel="stylesheet">`, external fonts, or external image URLs. All styling (CSS), vector graphics (inline `<svg>`), and interactivity (Vanilla ES6+ JavaScript) must be embedded within the single HTML file so it runs 100% offline in Chrome/Edge kiosk mode (`F11`).
## 2. Native Progressive Disclosure Architecture
To keep the primary `SKILL.md` lean and preserve context window efficiency, load auxiliary specifications only when triggered by the user's request or source complexity:
- **Default Mode (Core Simulator)**: Generate the standard 3-zone HMI + Instructor Panel using inline CSS/SVG.
- **Trigger: Specific Industry Customization** (e.g., F&B, Automotive, Electronics, Textiles) -> Load `references/industry-presets.md` to map sensor metrics, defect types, and terminology.
- **Trigger: Advanced Telemetry & Evaluation Mode** (e.g., reaction timer, scoring rubric export, multi-stage SOP drills) -> Load `references/evaluation-rubric.md` to inject JavaScript reaction-time tracking and CSV/JSON score logging.
- **Trigger: Complex UI Layout & Visual Components** -> Load `assets/hmi-ui-tokens.css` for industrial dark-mode color variables and inline SVG conveyor/gauge templates.
## 3. Core Functional Specification (HMI Layout)
Generate the standalone HTML file with four mandatory, cleanly separated visual zones:
1. **Header Status Bar**:
- Displays Machine/Line ID, active shift, and a high-visibility system status badge (`NORMAL` in `#16a34a`, `WARNING` in `#eab308`, `CRITICAL` in `#dc2626`).
2. **Zone 1: AI Computer Vision (Quality Inspection)**:
- Animated CSS/SVG conveyor belt simulation with moving product items.
- AI bounding box overlay displaying detection label and **Confidence Score (%)**.
- Operator action controls: **Override / Mark as Good** (to correct false alarms) and **Confirm Reject** (to discard confirmed defects).
3. **Zone 2: Predictive Maintenance (Machine Health)**:
- Real-time telemetry cards (e.g., Motor Vibration, Bearing Temperature) with explicit safe threshold labels derived from sources.
- Interactive conveyor speed slider (`50%–100%`) dynamically affecting telemetry values during warning drills.
- SOP action controls: **Acknowledge Alarm** and **Send Maintenance Ticket**.
4. **Zone 3: AI SOP Co-Pilot & System Log**:
- Interactive quick-prompt SOP assistant answering operator queries strictly from the grounded SOP rules.
- Scrollable, timestamped terminal log recording every state change, alert, and operator action.
5. **Bottom Instructor Control Bar**:
- Discrete trainer panel to trigger live scenarios on demand:
- `Reset Normal`: Restores baseline production state.
- `Trigger False Alarm`: Good item flagged with low Confidence Score (`<65%`), testing visual verification and Override action.
- `Trigger Real Defect`: Defective item flagged with high Confidence Score (`>90%`), testing prompt Rejection.
- `Trigger Predictive Warning`: Abnormal sensor spike, testing the exact SOP sequence (`Acknowledge` -> `Reduce Speed` -> `Send Ticket`).
## 4. Execution Workflow
1. **Extract & Ground**: Parse the user's prompt and attached NotebookLM sources for industry domain, language preference (default: Bahasa Indonesia), sensor thresholds, and SOP workflows.
2. **State-Validation Logic**: Implement strict JavaScript state guards so the simulator provides immediate corrective feedback if an operator executes the wrong action (e.g., rejecting a false alarm or overriding a high-confidence defect).
3. **Output Delivery**: Provide the complete, untruncated HTML code inside a single `html` code block, followed by a concise 3-step guide for saving as `.html` and launching in browser full-screen (`F11`).No result recorded for this import yet. Tried it? File a report so the next person knows how it went.
Tried it
Structured reports from people who ran this prompt. They roll up into the per-model badges above.
No one has filed a report yet. Try the prompt and be the first.
Related prompts
- Autonomous coding agent that builds a verified app-builder harness
Master system prompt that directs an autonomous senior Python engineer to build a spec-driven, evidence-traced app-builder harness milestone by milestone without asking questions.
Coding · @mahfuzahmedog
- Git repository bloat finder: diagnose large files and suggest safe cleanup
Agent skill that measures a Git repository, scans reachable blobs for large, deleted, versioned, generated and credential-like files, and proposes least-disruptive fixes without rewriting history itself.
Coding · @f
- Simulate ATS resume scanning with a practical human-reviewer perspective
A detailed system-style prompt that makes the model simulate legacy, modern, and AI-driven applicant tracking system parsing, scoring, and keyword matching on a resume, with remediation advice. The result is an ATS-behaviour report with scores and fixes.
Coding · @thanos0000
- Master prompt for building a district campaign field operations platform
A long master development prompt asking an AI to build a full-stack government district campaign management, field data collection, verification, and payment platform.
Coding · @maarifkhatri91
- Claude api: reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming,…
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any fo
Coding · @anthropic
License: CC0v1 · published Nov 29, 2026
Comments
No comments yet. If you tried this prompt, say how it went.