ZMPTYWorkPermitting

Jurisdiction research toolkit

A Claude Code toolkit that turns thousands of agency documents into source-linked permit requirement reports. 22 project areas in 9 states; research cut from 1 to 2 weeks to 2 to 3 days per area.

Line drawing of a stack of documents feeding a report grid, with a magnifier over one cell

The problem

Before a fiber network can be designed, someone has to find out what every jurisdiction along it requires: permits, encroachment agreements, bore depths, traffic control, bonds and drawing details. Each state DOT, county, city, railroad and pipeline owner publishes this differently, across manuals, forms and municipal code. A requirement missed means a rejected submittal and another review round.

What it does

  • Reuses what’s on file: checks each new jurisdiction list against an archive of jurisdictions already researched before searching again.
  • Reads the right documents: indexes each agency’s website and scores its links, so reading time goes to permit pages, forms and code sections. Each document is kept or set aside by reading its own purpose statement, never by file name, and nothing is deleted.
  • Builds the reports: a 52-column, color-coded report with one row per jurisdiction (watch outs, their own rules, standard, ask, not applicable). A simpler summary is built from the same data, so the two can’t drift apart.
  • Writes the guides: a Word engineering guide for each jurisdiction, with every citation linked to the agency’s own page, and a drawing-requirements PDF for each project area.
  • Flags gaps: scans the research against a list of permitting terms and reports topics a jurisdiction never covered, as leads to check.

How it’s built

  • A Claude Code skill: a written workflow plus 10 Python tools (about 4,100 lines). The research is judgement, so the code is the plumbing around it.
  • Subagents with hard limits: reading is split across subagents with read-only briefs, no downloads without approval, full reads only, and one schema per requirement (quote, citation, link).
  • Config-driven builds: one JSON per area feeds both reports, the guides and the drawing PDF.
  • 236-check self-test with fault injection, and every rebuild keeps the old version with hash-checked, logged file moves.

Result

  • 22 project areas researched across 9 states: 51 report workbooks and 117 engineering guides.
  • Caught 768 requirements the first report missed in one area (a full-read audit found 1,146 in all), and every report since has used the read-everything rule.
  • Research per area down from 1 to 2 weeks to about 2 to 3 days, with every document read in full.
  • Thousands of permitting documents taken in, organized and summarized, with every requirement quoted, cited and linked back to its source.