GrepBoard/Manuals
605 manuals ·

Extract meeting action items and verify them against the notes

·Tested on Claude Code 2.1.302 · sonnet alias · Ubuntu 24.04 · 2026-10·Test scope ↓·6 steps

A model guesses owners and due dates. Tell it to leave unknown cells empty, check each evidence sentence with grep -F, then fill the blanks by hand.

An action-item table with "Owner: B, Due: next week" is useless if the notes never said it. Let the model fill Owner and Due only when the notes state them, then check that every evidence sentence exists in the notes. The same table-plus-check idea is used in proofreading changes as a table.

[1] Save the notes to a file. This is an invented team meeting. Some lines are deliberately vague about who does what and by when: "Someone has to sort out the old log retention rules, but let's decide that later", "as soon as possible", "I can do it too, I guess", "I can't say by when", "on hold".

meeting.txt
[Weekly check-in] Present: A (lead), B (dev), C (design), D (ops)A: Let's start with where we are on the 3.2 release.B: I found the login bug. The token expiry calculation ignores the time zone.A: Then B takes the fix, and please merge it by next Wednesday.B: Understood. I'll push the test code with it.C: I narrowed the settings screen mockups down to two. I'll share them this Friday.A: Good. We'll pick one of the two in the meeting.D: The staging server disk is over 80%. The logs need cleaning up.A: Someone has to sort out the old log retention rules, but let's decide that later.D: Also, the month-end maintenance notice hasn't gone out yet.A: Let's get a draft of the notice written and circulated as soon as possible.C: The icon license check is still open. I can do it too, I guess.A: We'll put that on hold for now.B: I thought C was writing the release notes draft.C: No, I only add the screenshots. Someone has to decide who writes the text.A: I'll write the text before November 1. C, send the screenshots by the 31st.D: We need to run a backup restore drill once this quarter.A: D, please pick a date and share it. D owns this.B: There is also a dependency update. A security advisory came out.A: Somebody needs to look into that.B: I'll look at the scope only. I can't say by when.C: We can vote on the mockups at the next meeting.A: The next meeting is next Tuesday at 10 a.m.D: Until then I'll bring a table of the disk usage trend.A: Last thing: the customer inquiry response rules are off this agenda.A: That's all for today.

[2] Write the prompt. Fix the column names, allow Owner and Due only if the notes state them, and require evidence to be a sentence copied from the notes without the speaker label (A:).

head.txt
Extract the action items from the meeting notes inside <notes>. Rules:- Output only a Markdown table with exactly these columns: Task | Owner | Due | Evidence.- Owner and Due: write only what the notes state explicitly. If the notes do not name a person or a date for that task, leave the cell empty. Never guess, and never infer an owner from who spoke.- Evidence: one sentence copied character for character from the notes, without the speaker label ("A:" etc.). Choose the sentence that supports the task, owner or due date.- Do not list decisions or discussion that are not tasks.- Write the table in the language of the notes. Keep Owner and Due as they appear in the notes.- If there are no action items, output exactly: None- No other text. <notes>

[3] Run it. The same input was run twice. --tools "" turns tools off.

console
$ (cat head.txt meeting.txt; echo "</notes>") > prompt.txt$ claude -p --model sonnet --max-turns 1 --tools "" < prompt.txt > out.1.txt$ claude -p --model sonnet --max-turns 1 --tools "" < prompt.txt > out.2.txt$ cat out.2.txt| Task | Owner | Due | Evidence ||---|---|---|---|| Fix the login bug (token expiry time zone) and merge it | B | next Wednesday | Then B takes the fix, and please merge it by next Wednesday. || Push the test code together with the fix | | | I'll push the test code with it. || Share the settings screen mockups (narrowed to two) | | this Friday | I'll share them this Friday. || Clean up the logs on the staging server (disk over 80%) | | | The logs need cleaning up. || Sort out the old log retention rules | | | Someone has to sort out the old log retention rules, but let's decide that later. || Write and circulate a draft of the month-end maintenance notice | | | Let's get a draft of the notice written and circulated as soon as possible. || Write the text of the release notes | | before November 1 | I'll write the text before November 1. || Send the screenshots for the release notes | C | the 31st | C, send the screenshots by the 31st. || Pick a date for the backup restore drill and share it | D | | D, please pick a date and share it. || Look into the dependency update for the security advisory | | | Somebody needs to look into that. || Bring a table of the disk usage trend | | | Until then I'll bring a table of the disk usage trend. |

Both runs left Owner empty where the notes only say "I'll …". The set of rows differs, though. out.1.txt has 9 rows and out.2.txt has 11. Run 2 added the test code push (line 5) and the log retention rules, which the notes defer with "let's decide that later". Run 1 listed "I'll look at the scope only" as the dependency task, and run 2 listed "Somebody needs to look into that." instead. Neither run listed the icon license check ("on hold") or the customer inquiry rules ("off this agenda").

[4] Write the check script. It reads the table row by row and reports three things: whether the evidence sentence is in the notes verbatim (grep -F), whether a filled Owner or Due appears inside that evidence sentence (WARN), and whether a cell is empty (EMPTY).

check.sh
#!/usr/bin/env bash# usage: check.sh notes.txt table.md# EVID : the evidence sentence is not in the notes verbatim (grep -F)# WARN : owner/due is filled but does not appear in the evidence sentence# EMPTY: owner or due is blank -> a person must fill itnotes=$1; table=$2; n=0; bad=0while IFS='|' read -r _ task owner due evid _; do  trim() { sed 's/^ *//; s/ *$//' <<<"$1"; }  task=$(trim "$task"); owner=$(trim "$owner"); due=$(trim "$due"); evid=$(trim "$evid")  [ "$task" = Task ] || [[ $task == ---* ]] && continue  n=$((n+1)); msg=  grep -qF -- "$evid" "$notes" || { msg="EVID  "; bad=$((bad+1)); }  if [ -z "$msg" ]; then    [ -n "$owner" ] && ! grep -qF -- "$owner" <<<"$evid" && msg="WARN  owner='$owner' "    [ -n "$due" ] && ! grep -qF -- "$due" <<<"$evid" && msg="${msg:-WARN  }due='$due' "    [ -z "$owner" ] && msg="${msg}EMPTY owner "    [ -z "$due" ] && msg="${msg}EMPTY due "  fi  printf '%2d %-34s %s\n' "$n" "$task" "${msg:-OK}"done < <(grep '^|' "$table")echo "$n rows, $bad evidence not found"[ "$bad" -eq 0 ]

[5] Check both results. The grep -v hides the rows that are fully filled.

console
$ ./check.sh meeting.txt out.1.txt | grep -v ' OK$' 2 Share the two settings screen mockups EMPTY owner  3 Clean up the staging server logs   EMPTY owner EMPTY due  4 Write and circulate the draft of the month-end maintenance notice EMPTY owner EMPTY due  5 Write the release notes text       EMPTY owner  7 Pick a date for the backup restore drill and share it EMPTY due  8 Look at the scope of the dependency update (security advisory) EMPTY owner EMPTY due  9 Bring a table of the disk usage trend EMPTY owner EMPTY due 9 rows, 0 evidence not found$ ./check.sh meeting.txt out.2.txt | grep -v ' OK$' 2 Push the test code together with the fix EMPTY owner EMPTY due  3 Share the settings screen mockups (narrowed to two) EMPTY owner  4 Clean up the logs on the staging server (disk over 80%) EMPTY owner EMPTY due  5 Sort out the old log retention rules EMPTY owner EMPTY due  6 Write and circulate a draft of the month-end maintenance notice EMPTY owner EMPTY due  7 Write the text of the release notes EMPTY owner  9 Pick a date for the backup restore drill and share it EMPTY due 10 Look into the dependency update for the security advisory EMPTY owner EMPTY due 11 Bring a table of the disk usage trend EMPTY owner EMPTY due 11 rows, 0 evidence not found

All 20 evidence sentences exist in the notes, and no WARN fired because both runs only filled an owner or due date that is inside its evidence sentence. The check cannot tell that run 2's retention-rule row is probably not a task, or that run 1 dropped the test code push. Those need a human read.

To see a failure, out-bad.txt is out.2.txt with one evidence sentence edited by hand (the model did not make this error). The exit code is 1.

console
$ ./check.sh meeting.txt out-bad.txt | grep -E 'EVID|rows' 4 Clean up the logs on the staging server (disk over 80%) EVID  11 rows, 1 evidence not found

[6] Fill the blanks by hand. grep -nF on the evidence sentence gives the line number and the speaker.

console
$ for e in "I'll push the test code with it." "I'll write the text before November 1." "Until then I'll bring"; do grep -nF -- "$e" meeting.txt; done5:B: Understood. I'll push the test code with it.16:A: I'll write the text before November 1. C, send the screenshots by the 31st.24:D: Until then I'll bring a table of the disk usage trend.

"I'll" in each of these means the speaker owns the task: B for the test code, A for the release-notes text, D for the disk table. "Until then" in the last one points to the next meeting, which line 23 puts at next Tuesday, 10 a.m. Rows where nobody volunteered, such as the staging log cleanup and the month-end notice, go back to the meeting organizer, and "as soon as possible" has to become a date.

#claude#meeting-notes#prompt