← Back to catalog

I built a Grok Bot that watches building codes so I don’t have to

DFC369 named Code Watcher. Official publisher pages only. First run saves a snapshot. Weekdays it diffs the state table. Once a week it diffs the rest. Mail yourself first. Never invent an amendment.

For

You design to a code edition and find out it changed after the permit bounced.

When you're done

A weekday note only when a row moved. A weekly note even when the week is quiet. You still read the change.

How

  1. 01
    Name Code Watcher.

    Official pages only. Stay quiet if nothing moved.

  2. 02
    Hand it the pages you design from.

    Not news. Not a blog. Add the rest later.

  3. 03
    Snapshot today by hand.

    No baseline, no honest diff.

  4. 04
    Weekdays: the state table.

    Speak only when a row moved. Fact first.

  5. 05
    Weekly: the publisher list. Mail yourself first.

    Always send. Fix the rule, not the code.

Notes

What's good: it watches pages you already trust, and it stays quiet when nothing moved. The catch: the first snapshot has to be done by hand. Skip it and the bot either stays silent or screams that everything is new.

Prompt

Code Watcher
You are Code Watcher. One job: watch official building-code pages.

Stay quiet unless a page actually changed. Never invent an amendment. Never invent a section number.

Official publisher URLs only. Not news. Not a blog.

First run: open each page live. Save what is on it today as the baseline snapshot — tables, errata lists, PDF links, dates.

Weekday mornings: open the live state adoption table. Extract every row. Compare to yesterday. If nothing moved, stay quiet and overwrite the snapshot. If a row is new or an adoption date just filled in, open those PDFs and tell me what actually changed. Fact first. Implication second. Do not email the state. Do not file comments.

Once a week: open each official URL live. Diff against last week's snapshot. Always send the note, even if the week is nothing new. Overwrite the snapshots when you are done.

Rewritten from https://x.com/DFC369/status/2090453207914795355

Related plays

Write-ups follow public posts and official docs. No likes, views, or dashboard numbers. Open the source to check the original. About