Timetable clash resolver
The agent detects room, teacher and class clashes, proposes swaps and checks them against the rules to avoid cascading changes. The deputy head approves the changes.
What the agent does
- 1
Read the timetable.
- 2
Detect clashes.
- 3
Propose swaps.
- 4
Check the rules.
- 5
Output the changes. → deputy head approves
Enough to decide?
Proposed pattern- Required input
- No example input written yet
- Example output
- No example output written yet
- Stop condition
- cascading changes; rules
- Reviewer
- Not yet independently reviewed
- Last run
- Not run by us yet
What it costs to run
A rough range per run, from the cheapest to the dearest of the paid models we checked. Your real cost depends on how much text you send.
Checked 2026-11-25 source
$0.001 to $0.30 per run · $0.016 per run with a mid-priced model
- Small, cheap model
- $0.001 per runPer 100 runs: $0.11
- Typical
- $0.016 per runPer 100 runs: $1.63
- Large model
- $0.30 per runPer 100 runs: $30.00
Free tiers and local models can bring this to zero while you test.
How we worked this out
- 5 model calls, one per step (at least 2)
- 4,000 input tokens per call (it reads documents or data)
- 500 output tokens per call
- each call re-reads the earlier outputs
- no retries, no loops, no cached-input discount
- Longer inputs cost more; agents that retry or loop use more calls.
- Free tiers may cover small volumes: see free AI tokens.
- Local models have no per-token price but need your own hardware.
Works with
Tags
Before you start
- Access the agent needs
- database, spreadsheet
- Who approves
- deputy head approves
- What to log
- every action it proposes and the decision taken
- When to stop
- cascading changes; rules
Why it is worth it
Timetable clashes are a puzzle every term.
Start this week
- Let the agent detect clashes.
- Have it propose swaps within the rules.
- Approve the changes.
Watch out for
Fixing one clash can create another, so check each proposed swap against all the rules before approving it.
Measure this
Clashes resolved.
About this entry
Proposed pattern Checked 2026-11-27 Next check 2026-12-25 v2026-11-27.1
What we checked
| Item | Result | Date | By | Source and note |
|---|---|---|---|---|
| Text and steps | Checked | 2026-11-25 | — | — |
| Human checkpoint and risks | Checked | 2026-11-25 | Reviewer to be named | — |
| Workflow run | Not checked yet | — | — | — |
| Cost estimate | Checked | 2026-11-25 | — | source · mid-priced model assumed |
| Tool links | Not checked yet | — | — | — |
| Outside evidence | Not checked yet | — | — | — |
Limitations
- This is a pattern written from how the job is usually done. We have not run it.
- Steps, tools and risks are general. Your systems and rules will differ.
- Test it with made-up or public data before using real data.
- Not checked yet: workflow run, tool links, outside evidence.
Change history
- Watch-out line rewritten spec v2026-11-27.1
- Long text added: why it is worth it, how to start, what to watch out for, how to measure it spec v2026-11-26.1
- Added to the catalogue spec v2026-11-25.1
Evidence
- No outside evidence yet; this is our own analysis.
Spec versions
- v2026-11-27.1 · Watch-out line rewritten
- v2026-11-26.1 · Long text added: why it is worth it, how to start, what to watch out for, how to measure it
- v2026-11-25.1 · Added to the catalogue
Run it with AI
Pick the AI you already use.
You are helping teacher. Goal: Timetable clash resolver. The agent detects room, teacher and class clashes, proposes swaps and checks them against the rules to avoid cascading changes. The deputy head approves the changes. Work through these steps and show your result for each: 1. Read the timetable. 2. Detect clashes. 3. Propose swaps. 4. Check the rules. 5. Output the changes. Tools or data I can give you: database, spreadsheet. Ask me for anything missing before you start. Do not take any action yourself; stop for my decision where: deputy head approves. Watch for: cascading changes; rules.
Opens the tool with your prompt already filled in. Review it there before you send.
Copies the prompt, then opens the tool. Paste it in to start.
Nothing happened? The Claude Desktop app (Mac, Windows, or Linux, where it is still in beta) may not be installed. Use the copy button instead.
ROLE: Assistant for teacher. TASK: Timetable clash resolver. SUMMARY: The agent detects room, teacher and class clashes, proposes swaps and checks them against the rules to avoid cascading changes. The deputy head approves the changes. PROCEDURE: 1. Read the timetable. 2. Detect clashes. 3. Propose swaps. 4. Check the rules. 5. Output the changes. HUMAN CHECKPOINT: deputy head approves GUARDRAILS: cascading changes; rules RULES: ask when inputs are missing; never invent facts; cite where each fact came from.
Copies the prompt, then opens the tool. Paste it in to start.
{
"name": "timetable-clash-resolver-1014",
"goal": "Timetable clash resolver",
"persona": [
"teacher"
],
"autonomy": "supervised",
"tools": [
"database",
"spreadsheet"
],
"plan": [
"Read the timetable.",
"Detect clashes.",
"Propose swaps.",
"Check the rules.",
"Output the changes."
],
"human_in_the_loop": "deputy head approves",
"guardrails": "cascading changes; rules",
"output": "a draft for human review"
}Copies the prompt, then opens the tool. Paste it in to start.
{
"trigger": "On demand (manual start)",
"steps": [
{
"n": 1,
"do": "Read the timetable."
},
{
"n": 2,
"do": "Detect clashes."
},
{
"n": 3,
"do": "Propose swaps."
},
{
"n": 4,
"do": "Check the rules."
},
{
"n": 5,
"do": "Output the changes."
}
],
"connects": [
"database",
"spreadsheet"
],
"approval": "deputy head approves",
"stop_on": "cascading changes; rules"
}Copies the prompt, then opens the tool. Paste it in to start.
{
"name": "timetable-clash-resolver-1014",
"goal": "Timetable clash resolver",
"persona": [
"teacher"
],
"autonomy": "supervised",
"tools": [
"database",
"spreadsheet"
],
"plan": [
"Read the timetable.",
"Detect clashes.",
"Propose swaps.",
"Check the rules.",
"Output the changes."
],
"human_in_the_loop": "deputy head approves",
"guardrails": "cascading changes; rules",
"output": "a draft for human review"
}Opens the tool with your prompt already filled in. Review it there before you send.
Copies the prompt, then opens the tool. Paste it in to start.
You are helping teacher. Goal: Timetable clash resolver. The agent detects room, teacher and class clashes, proposes swaps and checks them against the rules to avoid cascading changes. The deputy head approves the changes. Work through these steps and show your result for each: 1. Read the timetable. 2. Detect clashes. 3. Propose swaps. 4. Check the rules. 5. Output the changes. Tools or data I can give you: database, spreadsheet. Ask me for anything missing before you start. Do not take any action yourself; stop for my decision where: deputy head approves. Watch for: cascading changes; rules.
Copies the prompt, then opens the tool. Paste it in to start.
You are helping teacher. Goal: Timetable clash resolver. The agent detects room, teacher and class clashes, proposes swaps and checks them against the rules to avoid cascading changes. The deputy head approves the changes. Work through these steps and show your result for each: 1. Read the timetable. 2. Detect clashes. 3. Propose swaps. 4. Check the rules. 5. Output the changes. Tools or data I can give you: database, spreadsheet. Ask me for anything missing before you start. Do not take any action yourself; stop for my decision where: deputy head approves. Watch for: cascading changes; rules.
Copies the prompt, then opens the tool. Paste it in to start.
{
"name": "timetable-clash-resolver-1014",
"goal": "Timetable clash resolver",
"persona": [
"teacher"
],
"autonomy": "supervised",
"tools": [
"database",
"spreadsheet"
],
"plan": [
"Read the timetable.",
"Detect clashes.",
"Propose swaps.",
"Check the rules.",
"Output the changes."
],
"human_in_the_loop": "deputy head approves",
"guardrails": "cascading changes; rules",
"output": "a draft for human review"
}Copies the prompt, then opens the tool. Paste it in to start.
{
"name": "timetable-clash-resolver-1014",
"goal": "Timetable clash resolver",
"persona": [
"teacher"
],
"autonomy": "supervised",
"tools": [
"database",
"spreadsheet"
],
"plan": [
"Read the timetable.",
"Detect clashes.",
"Propose swaps.",
"Check the rules.",
"Output the changes."
],
"human_in_the_loop": "deputy head approves",
"guardrails": "cascading changes; rules",
"output": "a draft for human review"
}Copies the prompt, then opens the tool. Paste it in to start.
At a glance
- For
- teacher
- Industry
- education
- Autonomy
- supervised
- Difficulty
- Works with
- Steps
- 5 · 1 human checkpoint
- Runs as
- on demand
- Needs approval
- deputy head approves
- What it costs to run
- $0.016 per run with a mid-priced model
- Evidence
- ID
UC-1014
Where to go from here
All teacher use casesSimilar work
These use cases do the same kinds of work as this one. Each card shows what they have in common.
Posting time optimiser and queue
The agent reads your analytics, finds your best posting windows, assigns posts to them and updates the queue every week. You review it weekly in case the data is misleading.
Why two tables don't join
The agent compares key formats in two tables, finds mismatches, proposes normalisation rules and tests the join rate. You review a sample and approve the rules.
Alert thresholds from history and seasonality
The agent models seasonality in a metric's history, proposes alert thresholds and backtests them for false alarms before publishing. The owner approves.
Same kinds of tools, a different job
These use cases connect to the same kinds of tools as this one, so part of your setup carries over.
Business question into a checked SQL answer
The agent finds the right tables, writes a query, runs it read-only and sanity-checks the result. It returns the answer with the query, row counts and assumptions. You review it before sharing.
Monthly forecast refresh with backtest
Each month the agent refits forecast models on new data, backtests them and picks the best, publishing it with error statistics. A backtest threshold guards against drift. You approve any model change.
Messy spreadsheet into clean tables
The agent infers a schema from a spreadsheet, cleans the values, loads them into staging and validates them. It reports rejected rows with counts so no data is lost silently. You approve the load.