Create a simulated cell diagnostic lab in Claude, embed it in Google Sites, and use it to support a four-part biology micro-project.
By Phillip Alcock
Published: 2026-11-09
URL: https://aiworkflowsforteachers.substack.com/p/how-to-build-a-cell-diagnostic-lab
Time: 60–90 minutes to build and test, estimated | Level: Beginner | Platforms: Claude → Google Sites → Google Docs

View the app here - <https://sites.google.com/pblfuturelabs.com/biovaultapp/home>
Students investigate four fictional cell samples, record evidence and use their findings to write a clinical pathology report. The app provides simulated readings for teaching. Its numbers and cases are invented and should not be used to make real medical conclusions.
Free Article.
Before you start
You will need:
- Access to Claude and its artifact features.
- A Google Site you can edit and publish.
- A Google Docs account or another document editor.
- A device and browser like the ones your students will use.
- Teacher-approved resources on cell organelles and their functions.
The idea is to create a ‘Learning Experience’ that includes ‘Visible Thinking’ and ‘Evidence of Learning’. You will create a single HTML file, an embedded app and a student report template. If you already have a working version of the app, start with the testing step. If it is already embedded and tested on your published site, move to the micro-project.
Use fictional patient names and symptoms. Ask students to leave their own names and other identifying information out of the app’s notebook.
Route: Claude (build and revise the app) → Google Sites (embed and test) → Google Docs (write the report).
Teach me about the code and the prompt
Bio-Vault uses three languages in one file: HTML, CSS and JavaScript.
HTML creates the parts of the page, such as the specimen selector, test buttons, cell diagram and notebook. The prompt asks Claude to give buttons and fields clear labels so students can tell what each control does.
CSS controls the appearance of those parts. It sets the colours, text size, spacing and layout. The prompt asks for a dark laboratory interface, but it also specifies readable contrast and large controls. On a narrow screen, the layout should rearrange rather than leave labels overlapping or buttons too small to use.
JavaScript controls what happens when students interact with the app. When a student selects a specimen and runs a test, JavaScript looks up the simulated result, updates the gauges and displays a readout. It also records observations in the notebook.
The app needs a consistent set of results. If students run the same test on the same specimen twice, they should see the same reading. Otherwise, they cannot compare evidence or explain their diagnosis. The prompt therefore asks Claude to put the cases and test results in a clearly labelled data section. A teacher can inspect that section and correct a case without searching through the whole file.
The cases are simplified models. For example, a fluorescent tracer in the app represents the movement of a protein through a cell. The display does not reproduce a real laboratory assay. Students should use the results as evidence within the simulation and compare their explanations with their class resources.
The notebook has two jobs. It records readings generated by the app, and it gives students space to explain what those readings suggest. The prompt asks for a baseline and a post-test reading so students can compare the two. It also asks students to describe a connection between cell structures, rather than naming an organelle without explaining its role.
Claude can attempt to save notes in the browser using local storage. That storage belongs to a particular browser and device, and it may be unavailable or cleared. The prompt therefore includes a visible warning and a copyable text report. Students should copy their work into their own document during the lesson instead of relying on the app as their only copy.
Google Sites supports embedded HTML, CSS and JavaScript. The code remains inside the embedded area, so features such as copying to the clipboard or saving notes need to be tested in the published site as well as in Claude’s preview. Google requires CSS to be inside <style> tags and JavaScript inside <script> tags. Sites Help
Step 1: Generate the diagnostic lab

Platform: Claude
Do this: Start a new chat and paste the prompt below. Ask Claude to create an interactive HTML artifact and provide the complete source code. Claude’s artifact controls vary by artifact type; use the available code-view, copy or download control to get the source. Claude Help Center
AI prompt: Use with Claude
Create an interactive educational simulation called
"Bio-Vault: The Cellular Organelle Diagnostic Lab".
Audience: Years 7–10 / US Grades 7–10.
Purpose: Students use simulated observations to explain how cell
structures work together. The cases and readings are fictional teaching
models, not real diagnostic tests or medical advice.
TECHNICAL REQUIREMENTS
Create one complete standalone HTML file with embedded CSS and JavaScript.
Use no external libraries, fonts, images, APIs or network requests.
Use inline SVG for the cell diagram.
Make the app usable with a mouse, touch and keyboard. Provide visible
keyboard focus, labelled controls, readable contrast and a layout that
works on a Chromebook, tablet and classroom display. Do not use colour
alone to communicate information.
Put the specimen descriptions, baseline readings, test results and
explanations in a clearly labelled, editable JavaScript data section.
Make results deterministic: the same test on the same specimen must
produce the same result. Label all percentages as invented simulation
values, not measurements from real patients.
CELL AND CASES
Show a simplified animal cell with selectable, labelled structures:
- Nucleus
- Mitochondria
- Rough endoplasmic reticulum and ribosomes
- Golgi apparatus
- Lysosomes
- Plasma membrane
When a structure is selected, show a short description of its normal
function. Do not reveal the answer before the student investigates.
Include four fictional specimens:
A. Muscle cell: a problem with mitochondrial energy production.
The case reports muscle fatigue.
B. Pancreatic secretory cell: insulin is made, but a simplified
packaging or export problem involving the Golgi apparatus prevents
normal secretion.
C. Cell with a lysosomal breakdown problem: cellular material
accumulates because breakdown is impaired.
D. Kidney epithelial cell: a membrane transport problem disrupts
the movement of ions and water. ATP production is normal in this
simplified case.
For each case, provide a short symptom or observation card and a
baseline set of four invented indicators:
- ATP output
- Protein synthesis
- Protein export
- Waste accumulation
TESTS AND EVIDENCE
Provide three test buttons:
1. Energy response test
2. Protein tracing test
3. Cellular breakdown test
Add a fourth test for membrane transport. Make sure this test provides
distinct evidence for Specimen D; normal ATP alone must not identify
the membrane as the cause.
For every specimen and test, provide:
- A clear baseline and post-test reading.
- A short observation that distinguishes what the student can see
from an interpretation.
- A brief explanation appropriate for the year level.
Use simplified, internally consistent results. Do not imply that
injecting a reagent or changing one reading replicates a real clinical
test. Where an indicator does not change, state that clearly.
LAB NOTEBOOK
Create a notebook panel for each specimen. Let students:
- Log a test name, baseline reading, post-test reading and observation.
- Enter the suspected structure.
- Explain how the evidence supports their diagnosis.
- Explain a connection to another cell structure or process.
- Identify one limitation of the simulation.
Let students edit or remove a logged entry. Do not require a name.
Attempt to save notes locally in the browser. Handle storage errors
without breaking the app, and display a clear message that local
storage may be unavailable or cleared. Provide a button that displays
the complete dossier as selectable plain text, plus a copy button
when clipboard access is available. Do not claim that copying,
completion or a code verifies student understanding.
Unlock the dossier after each specimen has at least one logged test
and a student explanation. Explain that this checks for completed
fields, not scientific accuracy.
OTHER CONTROLS
Add a presenter mode with larger text. Add optional sound with a
mute control, off by default. Provide a reset control that asks for
confirmation before clearing notes.
Include brief instructions and a visible reminder that the simulation
uses invented values.
TEST AND OUTPUT
Before returning the code, check that every specimen can be selected,
each test produces its matching result, notebook entries remain with
the correct specimen, and the dossier contains all four cases.
Return:
1. The interactive artifact.
2. The complete HTML source in one code block, beginning with
<!DOCTYPE html> and ending with </html>.
3. A short teacher key showing each intended diagnosis and the
evidence students should find.
4. A short list of features that still need testing in the published
Google Sites embed.
You should have: An interactive artifact, complete HTML source code and a teacher key for the four fictional cases.
Check before continuing: Confirm the source contains HTML, a <style> section and a <script> section. Check that there are four specimens and four tests, including the membrane transport test.
Take to the next step: Keep the Claude conversation open. You will test the artifact before copying its HTML into Google Sites.
Step 2: Test and correct the app in Claude
Platform: Claude
Do this: Open the artifact preview and work through each specimen. Record a baseline, run a test and compare the result with the teacher key.
For Specimen B, check that protein synthesis remains available while the simulated export reading indicates a problem. For Specimen D, check that the membrane transport test produces evidence that distinguishes it from the other cases.
Try the notebook and dossier controls. Use the keyboard to reach the controls and check that you can see which control has focus. Review the scientific descriptions against your approved class resources.
AI prompt: Use with Claude
Starter template: fill in the [BRACKETS].
Revise the Bio-Vault HTML artifact.
I found these problems:
[LIST THE SPECIFIC PROBLEMS AND WHAT HAPPENED]
Keep the existing cases and working features unless a correction
requires a change. Fix the problems in the source code, explain what
you changed, and return the complete updated single-file HTML.
After revising, identify the interactions I should test again.
You should have: A revised app and a teacher key that match each other.
Check before continuing: Repeat each interaction you asked Claude to fix. Confirm that each case has enough evidence to support its intended diagnosis and that the dossier contains the notes you entered.
Take to the next step: Copy or download the final complete HTML source. Keep a backup of that file in your lesson folder.
If it fails: If the artifact is incomplete, ask Claude to repair one specific feature at a time. Test each correction before requesting another. Screenshots and long explanations work best, I often use microphone recording for this.
Step 3: Embed the app in Google Sites


Platform: Google Sites
Do this: Open your class site on a computer and create or select a page for the lab.
- Select Insert, then Embed.
- Select Embed code.
- Paste the complete HTML source.
- Select Next, then Insert.
- Resize the embedded area so the app has room to display.
- Preview the page, then publish when you are ready to test the published version.
These are the controls described in Google’s Sites help. Sites Help
You should have: A Google Sites page containing the embedded Bio-Vault app.
Check before continuing: In the published site, select a specimen, run a test, enter a note and open the dossier. Check the layout on a student-sized screen. Confirm that the site is accessible to the intended class audience using your school’s existing access settings.
Take to the next step: Keep the published page link and your backup HTML file. Students will need the page link for the investigation.
If it fails: If the embed does not load or a feature behaves differently from the Claude preview, describe the exact problem to Claude and request a revised complete file. Replace the embedded code and test again. If copying fails, use the selectable dossier text. If local storage fails, have students record their observations directly in Google Docs.
Step 4: Run the four-part micro-project
Platforms: Google Sites and Google Docs
Use the lab as a fictional investigation alongside your normal cell biology resources. The schedule below can be adjusted to fit your classes.

Use this driving question:
How can evidence about cell structures help us explain a fictional cell problem and propose a way to support the affected process?
For the final report, ask students to propose a hypothetical research direction or way to support the affected process, supported by their class resources. They should identify what their simulation cannot establish. They are not expected to recommend a real treatment.
Student report template
Consider creating reports based on learning goals, and that way you can have focused sessions or workshops. Students can copy this into a new Google Doc:
BIO-VAULT: CELL INVESTIGATION REPORT
Specimen:
1. Initial observation
What symptom or cell problem was described?
2. Evidence
Which test did you run? Record the relevant baseline and post-test
readings, including any reading that stayed the same.
3. Diagnosis within the simulation
Which cell structure is the strongest candidate? Explain how the
evidence supports your choice.
4. Connected cell processes
How does the suspected problem affect another cell structure or
process?
5. Proposed research direction
What could scientists investigate to support the affected process?
Use a class source and explain how it relates to your idea.
6. Limitations
What can this simulation not tell you about a real patient or cell?
Class source used:
You should have: A dossier for each student or team and a report about one fictional case.
Check before continuing: Read the report alongside the dossier. Check that the cited test result supports the diagnosis, that the student explains a connection between cell processes and that the limitation distinguishes the simulation from a real investigation.
Save and use: Keep the teacher key and source HTML in your lesson folder. Have students save their dossiers and reports in their usual class workspace.
Completion check
- All four specimens have evidence that supports their intended diagnoses.
- The app labels its readings as invented simulation values.
- The published embed works on a device and browser used by students.
- Students have a way to save their work if local storage or copying fails.
- The teacher key matches the final app.
- The report asks students to use evidence, explain a cell connection and identify a limitation.
Phil