Build an AI Meeting Quality Grader with Observability

Build a web app that scores your meeting notes with an AI judge, traces every grading decision for full transparency, and generates actionable follow-up plans — combining LLM evaluation, observability, and meeting intelligence in one tool.

What You'll Build

A browser-based meeting quality grader that combines three powerful ideas: an AI judge that scores your meeting notes, a trace panel that shows exactly how the AI reached each verdict, and a follow-up planner that turns raw notes into action items. Here's what the finished tool will do:

  • ✓ Accept raw meeting notes via a paste-in text area and parse them into structured data
  • ✓ Run an LLM-as-Judge evaluation across five quality dimensions: clarity, decisions, action items, participation, and follow-up readiness
  • ✓ Display a full observability trace panel showing the judge's chain-of-thought for every score so you can audit its reasoning
  • ✓ Generate a structured follow-up plan with owner assignments, due dates, and priority levels
  • ✓ Export the full graded report (scores + trace + follow-up plan) as a formatted Markdown file

What You'll Need

⚙

AI Tool

Claude (claude.ai) for building the tool — Claude Code works great here if you have it. You'll also use Claude or ChatGPT as the AI judge inside the finished app.

📄

Text Editor

VS Code, Cursor, or any editor you like. We're building a single HTML file with embedded JavaScript — no frameworks or build steps needed.

Step-by-Step Instructions

1

Build the Meeting Notes Input and Parser

Start by building the UI shell and the note-parsing logic. The app needs a clean text area where users paste raw meeting notes, plus a parser that extracts a title, date, attendees, and the body text so the judge has structured input to work with. This mirrors the meeting prep workflow from the ChatGPT tutorial — good structured input is everything.

PROMPT — send this to Claude
Build me a single HTML file called meeting-grader.html with embedded CSS and JavaScript. Dark theme using #0f0f13 as the page background, #1a1a24 for cards, and #252533 for elevated surfaces. Use Inter font from Google Fonts.

The app should have:
1. A header with title "Meeting Quality Grader" and a subtitle "Paste your notes. Get a score. See every reason why."
2. A large textarea (min 300px tall) with placeholder text: "Paste your meeting notes here...\n\nTip: Include a title on line 1, date on line 2, attendees on line 3, then the body of your notes below."
3. A "Grade This Meeting" button styled with a violet/purple gradient.
4. A results section (hidden by default) below the button that will hold: a scores panel, a trace panel, and a follow-up panel.
5. A JavaScript function called parseMeetingNotes(text) that extracts: title (line 1), date (line 2 if it looks like a date, else 'Unknown'), attendees (line 3 split by comma if it contains commas, else an empty array), and body (everything after line 3). Return these as a plain object.

Make the textarea and button feel polished. Add a small character counter below the textarea. No frameworks — vanilla JS only.

What to look for: You should get a complete HTML file with a working textarea, a character counter that updates as you type, the parseMeetingNotes function returning a clean object, and a hidden results section ready to be populated. Open it in your browser and confirm you can type in the textarea and see the character count update.

2

Build the LLM-as-Judge Evaluation Engine

Now build the heart of the tool: a judge prompt that evaluates meeting notes across five dimensions and returns structured scores with reasoning. This is exactly the LLM-as-Judge pattern from this week's tutorial — the key insight is that the judge prompt must specify a rubric, demand a numeric score, and ask for explicit reasoning for each dimension so you can trace it later.

PROMPT — send this to Claude
In my meeting-grader.html file, add a JavaScript function called buildJudgePrompt(parsed) that takes the parsed meeting object (title, date, attendees, body) and returns a string — the full system+user prompt that will be sent to an AI judge.

The prompt must:
1. Open with a system role: "You are a strict but fair meeting quality judge. You evaluate meeting notes against a rubric and return only valid JSON."
2. Define a rubric for 5 dimensions. For each, the judge must return a score from 1-10 and a 'reasoning' string of 2-3 sentences explaining exactly why it gave that score:
   - clarity: Were decisions and discussion points written clearly?
   - action_items: Were action items captured with owners and due dates?
   - decisions: Were key decisions explicitly recorded?
   - participation: Is there evidence of broad team involvement?
   - follow_up_readiness: Could someone who wasn't there understand what happens next?
3. Ask the judge to also return an overall_score (average of the 5), a one-sentence 'verdict', and a 'biggest_gap' field naming the single weakest dimension.
4. Specify that the response must be valid JSON matching this exact shape:
{
  "scores": {
    "clarity": { "score": number, "reasoning": string },
    "action_items": { "score": number, "reasoning": string },
    "decisions": { "score": number, "reasoning": string },
    "participation": { "score": number, "reasoning": string },
    "follow_up_readiness": { "score": number, "reasoning": string }
  },
  "overall_score": number,
  "verdict": string,
  "biggest_gap": string
}
5. Inject the actual meeting notes into the user portion of the prompt so the judge has full context.

Also add a function called callJudge(prompt) that accepts an API key and model name as parameters and POSTs to the OpenAI-compatible chat completions endpoint (https://api.openai.com/v1/chat/completions), parses the JSON response, and returns the parsed judge object. Use fetch() and async/await. Add a small API key input field to the UI near the Grade button.

What to look for: The buildJudgePrompt function should produce a well-structured prompt string you can console.log and read. The callJudge function should handle the fetch correctly with proper headers and body. Claude may also add error handling — keep it, that's good. You should now have an API key input field visible in your browser.

3

Add the Observability Trace Panel

This step brings in the tracing and observability skills from this week's tutorial. Instead of just showing scores, you'll expose a full trace panel that records every decision the judge made: the input it received, the prompt it was sent, the raw response it returned, and the parsed scores. This turns your tool from a black box into something you can actually debug and trust.

PROMPT — send this to Claude
In meeting-grader.html, add an observability trace system. Here's what I need:

1. A JavaScript TraceLog class with these methods:
   - startTrace(sessionId) — begins a new trace with a timestamp
   - addSpan(name, input, output, durationMs) — records a named step with its input, output, and how long it took
   - endTrace(result) — closes the trace and stores the final result
   - export() — returns the full trace as a JSON string

2. Instrument the grading flow so it creates spans for:
   - "parse_notes" — input: raw text, output: parsed object
   - "build_prompt" — input: parsed object, output: prompt string (truncated to 500 chars in the display)
   - "judge_call" — input: prompt length in tokens (estimate as chars/4), output: raw JSON response string, duration: actual fetch time in ms
   - "parse_response" — input: raw response, output: final scores object

3. A trace panel UI section that appears in the results area after grading. It should:
   - Show a header "Observability Trace" with a small green dot labeled "RECORDED"
   - List each span as a card with: span name in a monospace badge, duration in ms, a collapsible section showing input and output as formatted JSON
   - Use a subtle left border in cyan (#22d3ee) to visually distinguish trace cards from score cards
   - Include a "Copy Full Trace" button that copies the JSON export to clipboard

4. Add a timing summary bar at the top of the trace panel showing total elapsed time and number of spans recorded.

Make the collapsible sections use a simple toggle — clicking the span card expands/collapses its detail view.

What to look for: After grading, you should see a trace panel with 4 span cards. Each card should be clickable to expand its input/output. The timing summary should show total elapsed time. The "Copy Full Trace" button should copy a JSON object you can paste into a text editor and read clearly — this is your audit log.

4

Build the Follow-Up Plan Generator

Now add the meeting follow-up intelligence layer, drawing on the ChatGPT meeting prep and follow-up tutorial. After the judge scores the notes, a second AI call generates a structured follow-up plan: specific action items with owners, due dates, and priority levels. Critically, the follow-up prompt is informed by the judge's scores — if action items scored low, the follow-up prompt specifically asks the AI to compensate by being extra explicit about owners and deadlines.

PROMPT — send this to Claude
In meeting-grader.html, add a follow-up plan generator. Here's what I need:

1. A function buildFollowUpPrompt(parsed, judgeResult) that creates a prompt for a second AI call. The prompt should:
   - Tell the AI it is a meeting follow-up specialist
   - Inject the original meeting body AND the judge's scores so the AI knows what was weak
   - If action_items score is below 6, add an instruction: "The meeting notes had weak action item tracking. Be especially explicit about assigning an owner and due date to every task you identify."
   - If decisions score is below 6, add: "Key decisions were not clearly recorded. Explicitly label each decision you identify with [DECISION]."
   - Ask the AI to return JSON in this shape:
     {
       "summary": "2-sentence recap of what this meeting was about",
       "action_items": [
         { "task": string, "owner": string, "due": string, "priority": "high" | "medium" | "low" }
       ],
       "decisions_made": [string],
       "open_questions": [string],
       "suggested_next_meeting_agenda": [string]
     }

2. A function callFollowUp(prompt, apiKey) that makes the same fetch call structure as callJudge but uses this follow-up prompt. Also instrument this call with a trace span called "followup_call".

3. A follow-up plan UI panel that renders the returned JSON as:
   - A summary card at the top
   - Action items as a table with columns: Task, Owner, Due, Priority (priority shown as a colored badge: red=high, amber=medium, green=low)
   - Decisions made as a bulleted list with a checkmark icon
   - Open questions as a bulleted list with a question mark icon
   - Suggested next meeting agenda as a numbered list

4. Add a loading spinner that shows between the judge call finishing and the follow-up call completing, with the message "Generating your follow-up plan..."

What to look for: The follow-up panel should appear below the trace panel after both AI calls complete. Action items should show as a proper table with colored priority badges. If you paste in notes that have no clear owners or due dates, the follow-up prompt should compensate and invent reasonable defaults. The loading spinner should be visible between the two calls.

5

Polish the Scores Dashboard and Add Export

Finish the tool by building the visual score dashboard that sits at the top of the results area, and adding the Markdown export so users can share or file the full graded report. The score dashboard should make it immediately obvious which dimensions passed and which failed — the same way a code review scorecard surfaces failures at a glance.

PROMPT — send this to Claude
In meeting-grader.html, add the final score dashboard and export system:

1. Score dashboard (renders at the very top of the results section):
   - A large overall score displayed as "X.X / 10" in a prominent circle. Color the circle border: green if >=8, amber if >=6, rose/red if <6.
   - The judge's one-sentence verdict displayed beneath the circle in italic text.
   - Five dimension score cards in a grid (2 columns on mobile, 5 on desktop). Each card shows: dimension name, score as "X/10", a horizontal progress bar (green if >=8, amber if >=6, red if <6), and the judge's reasoning text below the bar.
   - A "Biggest Gap" banner at the bottom of the dashboard highlighting the weakest dimension in amber, with a suggestion like "Focus your next meeting on improving: [biggest_gap]"

2. Export function:
   - A button labeled "Export Full Report" that generates a Markdown file and triggers a browser download.
   - The Markdown should include: meeting title and date as a heading, the overall score and verdict, a table of dimension scores and their reasoning, the full follow-up plan (summary, action items as a Markdown table, decisions, open questions, next agenda), and finally the raw trace JSON in a fenced code block.
   - Use Blob and URL.createObjectURL to trigger the download. Name the file: meeting-report-[title-slug]-[date].md

3. A "Grade Another Meeting" button that resets the UI back to the input state and clears all results.

4. Final polish pass: make sure the results section scrolls into view automatically after grading, the overall layout feels clean and readable, and mobile looks good at 375px width.

What to look for: The score circle should change color based on the overall score. All five dimension cards should show progress bars with correct color coding. Clicking "Export Full Report" should immediately download a .md file — open it in any Markdown viewer and you should see the full scored report with the trace at the bottom. The "Grade Another Meeting" button should cleanly reset everything.

Common Issues

The judge returns plain text instead of JSON

Add response_format: { type: 'json_object' } to your fetch body when calling the OpenAI API. If you're using Claude via API, add "Return only valid JSON, no prose before or after" as the last line of your prompt.

The trace spans show 0ms duration

Make sure you're capturing Date.now() both before and after your async fetch calls, not just at the start. The duration should be Date.now() - startTime after the await resolves.

The follow-up plan has generic owners like "Team" or "TBD"

This is expected when the original notes don't name people. Paste better notes that include attendee names. The judge's low action_items score should trigger the compensating instruction — check that your buildFollowUpPrompt function is correctly reading the score value.

The exported Markdown file has broken formatting

Make sure you're escaping pipe characters (|) in table cell values before inserting them into Markdown tables. Ask Claude to add a helper function that sanitizes cell content by replacing | with \|.

CORS error when calling the API from the browser

The OpenAI API supports browser-side fetch with an API key, but some corporate networks block it. If you see a CORS error, open Chrome DevTools Network tab, find the failed request, and check the response headers. A simple fix is to serve the HTML file from a local server with npx serve . instead of opening it as a file://.

What You Learned

⚖

LLM-as-Judge Pattern

You built a real rubric-based AI judge that scores content across multiple structured dimensions and returns machine-readable reasoning — the same pattern used in production eval pipelines.

🔎

Tracing and Observability

You instrumented every step of an AI workflow with named spans, timing data, and input/output capture — giving you a full audit trail that makes AI features debuggable instead of mysterious.

📋

Score-Conditional Prompting

You learned to use one AI's output (judge scores) to conditionally modify a second AI's input (follow-up prompt) — a powerful chaining technique that makes multi-step workflows smarter than any single call.

💾

Structured Export Design

You designed a Markdown export that bundles scores, reasoning, follow-up plans, and a raw trace into a single shareable file — turning a browser session into a persistent, auditable record.

Tips for Going Further

  • → Add a custom rubric editor — let users define their own grading dimensions and weights before running the judge, so teams can tailor scoring to their meeting style (e.g. a sales team might add a "next steps clarity" dimension weighted 2x).
  • → Store traces in localStorage — persist every grading session so users can compare how their meeting quality changes over time and spot patterns in which dimensions consistently score low.
  • → Add a second judge for calibration — call two different models (GPT-4o and Claude) and show both sets of scores side by side, with a disagreement indicator when the two judges differ by more than 2 points on any dimension.
  • → Integrate with your calendar — use the Google Calendar API to pull meeting events and their attached notes automatically, so users never have to paste anything manually.
  • → Email the follow-up plan — connect a simple email API (Resend or Mailgun) so the tool can send the structured action items directly to attendees as a formatted HTML email right after grading.
More projects

One of 47 hands-on projects.

All projects AI Coding Tools tutorials