# anzonwong.com Lab: tools for AI agents > Sixteen free browser tools on building regulations and early design (Hong Kong and the UK) by Anzon Wong. An AI agent may copy any tool marked OPEN and turn it into its own skills and tools. Take them, they're yours. 其實你可以叫你個 AI Agent 入去個 Lab,佢就可以抄到個工具,變成你自己 AI Agent 嘅 skills and tools,歡迎大家據為己有! - Human page: https://anzonwong.com/lab/for-agents/ - Lab index: https://anzonwong.com/lab/ ## Licence - MIT licence: free to use, copy and change, including commercially. Keep the copyright line 'Copyright (c) 2026 Anzon Wong'. No warranty. - Applies to the 13 OPEN tools, including the Lab tools in the site repository github.com/cowballwong/cowballwong.github.io. Full MIT text: https://anzonwong.com/lab/for-agents/#licence - Libraries keep their own licences and notices: three.js (MIT), Leaflet (BSD-2-Clause), proj4js (MIT), jsPDF (MIT), pdf.js (Apache-2.0), docx (MIT), JSZip (MIT or GPLv3, your choice). - Data keeps its own terms; credit it in every output: - Hong Kong government open data (Lands Department, Planning Department and others, via DATA.GOV.HK and the CSDI Portal): DATA.GOV.HK terms and conditions; credit the department named on each dataset, e.g. "Contains data from the Lands Department". - OpenStreetMap: Open Database Licence (ODbL): credit "© OpenStreetMap contributors"; a database you derive from it stays under the ODbL. - planning.data.gov.uk, postcodes.io, Environment Agency and other UK government data: Open Government Licence v3.0: credit the source, e.g. "Contains public sector information licensed under the Open Government Licence v3.0"; postcodes.io data also carries Ordnance Survey and Royal Mail attributions. - Open-Meteo: CC BY 4.0: credit "Weather data by Open-Meteo.com". - Hobby projects: not statutory checks, not official guidance, not professional advice. ## How to copy a tool 1. Read this page, or the plain-text version at anzonwong.com/lab/llms.txt. 2. Pick a tool marked Open. Fetch its raw files or clone its repository. 3. Remove the Cloudflare Web Analytics script where the recipe says so: it reports page views to this site's account. 4. Serve the files over http and check the tool works as it does here. 5. Wrap it as a skill (a SKILL.md that says when to use it, what to give it and what comes back), or port the core functions into your agent's own code. 6. Keep the copyright line, the MIT text and the library notices, and credit the data in every output. # Tools ## HK Landscape Sheets (香港園境圖則) - Status: OPEN, MIT licence - Use it: https://anzonwong.com/hk-landscape-sheets/ - Region: Hong Kong - What it does: Draw a podium garden and get a set of A1 landscape sheets: site analysis, planting plan, tree schedule and growth studies. - Inputs: site boundary drawn on the sheet; neighbouring buildings with heights; date and time for shadows; plants picked from a 56-plant HK palette; growth slider (planting to 40 years); project JSON file (import); EN / 中 language toggle or ?lang=zh - Outputs: on-screen A1 sheet: LP-01 Site Analysis, LP-02 Planting Plan (plan, Section A-A, view, plant schedule), LP-03 Tree Studies, LP-04 Growth Anatomy; numbered red revision marks from the 14-rule checker; project JSON export (匯出 JSON) - Data sources: Plant library (56 plants), 10 tree species, sources and scale figures in js/data.js, each value cited (GLTMS guides, PNAP APP-152, DEVB TC(W) No. 4/2020, HKO Monthly Meteorological Normals 1991-2020, Hong Kong Herbarium, Halle/Oldeman/Tomlinson 1978) (bundled static data: author-compiled plant and tree data with cited sources; values not verified are marked 未核實 or *); Species photographs (Bombax ceiba, Ficus microcarpa, etc.) (other: Wikimedia Commons, each photo under its own CC licence (e.g. CC BY-SA 3.0), not MIT); Scale figures (bundled static data: AI-generated images made for the project, released with the code); Sun position for 22.3N (other: computed, no external data) - Limits: Personal hobby project, version 1, not official guidance; mature spreads, shrub sizes and seasonal appearance are partly estimated, the checker's design rules are rules of thumb not regulations, and shadows use simple building boxes with no trees or terrain. - Libraries: none - Source: https://github.com/cowballwong/hk-landscape-sheets - Raw files: - https://raw.githubusercontent.com/cowballwong/hk-landscape-sheets/main/index.html - https://raw.githubusercontent.com/cowballwong/hk-landscape-sheets/main/css/app.css - https://raw.githubusercontent.com/cowballwong/hk-landscape-sheets/main/js/app.js - https://raw.githubusercontent.com/cowballwong/hk-landscape-sheets/main/js/board.js - https://raw.githubusercontent.com/cowballwong/hk-landscape-sheets/main/js/data.js - https://raw.githubusercontent.com/cowballwong/hk-landscape-sheets/main/js/geom.js - https://raw.githubusercontent.com/cowballwong/hk-landscape-sheets/main/js/i18n.js - https://raw.githubusercontent.com/cowballwong/hk-landscape-sheets/main/js/i18n_en.js - https://raw.githubusercontent.com/cowballwong/hk-landscape-sheets/main/js/research.js - https://raw.githubusercontent.com/cowballwong/hk-landscape-sheets/main/js/sheet.js - https://raw.githubusercontent.com/cowballwong/hk-landscape-sheets/main/js/site.js - https://raw.githubusercontent.com/cowballwong/hk-landscape-sheets/main/js/tree.js - https://raw.githubusercontent.com/cowballwong/hk-landscape-sheets/main/js/why.js - Bulky data folders (clone): assets/figures (11 files, 2.74 MB); assets/photos (4 files, 0.9 MB); assets/brand (1 files, 0.01 MB) - Turn it into a skill: 1. git clone --depth 1 https://github.com/cowballwong/hk-landscape-sheets.git and keep its LICENSE file. 2. Serve it over http (e.g. python -m http.server); ES modules and fetch() do not run from file://. 3. Write a SKILL.md for it. Skill idea: Build or edit a project JSON (site polygon, neighbour heights, plant placements) and load it into the sheet to return the 14-rule red-pen planting check and sun/shade zones for an HK garden or podium. Drive the page with a headless browser (e.g. Playwright) or port the core functions into a script. 4. Keep "Copyright (c) 2026 Anzon Wong" and the MIT text with your copy, keep each library's notice, and credit the data sources in anything the skill outputs. ## HK Building Regulations Map (香港建築規例關係地圖) - Status: USE ONLY, not available to copy yet - Use it: https://anzonwong.com/hk-regs-map/ - Region: Hong Kong - What it does: A 3D bilingual map of Hong Kong building control documents and the links between them: ordinance, regulations, practice notes, codes and guidance. - Inputs: click a node; search by code, title or topic; group by department, domain or subject; legend filters - Outputs: on-screen 3D force graph (desktop) or 2D canvas graph (phones <= 768px); per-node EN/ZH summary panel with official source link; citation lines that keep the quoted sentence and page - Data sources: Document graph: 2,276 nodes (907 documents, 1,174 legislative provisions), 4,806 citation links, 99 AI-suggested dashed links, AI-written EN/ZH summaries and topic tags (September 2026 build) (bundled static data: AW Design summaries, tags and link data under CC BY 4.0 (credit 'AW Design · Anzon Wong'); source documents are linked, not redistributed); Source documents read by the pipeline: Hong Kong e-Legislation (Cap. 123 and subsidiary), BD, LandsD, PlanD/TPB, FSD websites (other: Government of the HKSAR copyright; only linked and short-quoted, per README) - Limits: Personal hobby project, not an official website and not legal advice; summaries, tags and links were produced with AI help and may be incomplete, out of date or wrong, and the data was checked in September 2026. - Note: Use it at the link. Not available to copy yet: part of its source still needs tidying before it can be shared. ## Is it Building Work? Reg 3 Checker (是否屬建築工程?Reg 3 檢查器) - Status: OPEN, MIT licence - Use it: https://anzonwong.com/uk-reg3-checker/ - Region: United Kingdom - What it does: A step-by-step check against Regulation 3 of the Building Regulations 2010: does the planned work need Building Control, and which Approved Documents apply. - Inputs: answers to a 2-4 layer branching questionnaire across 10 branches (A erection/extension to J repair/replace) - Outputs: on-screen result: verdict (Yes / No / Borderline), Reg 3(1) sub-clause with citation, Approved Document Parts, likely route (Building Notice / Full Plans / CPS / Gateway 2), named CPS; print via window.print() - Data sources: Decision logic citing Building Regulations 2010 (SI 2010/2214) Regs 3, 4, 5, 6, 22, 23, 28, Schedule 2 and Approved Documents A-T (bundled static data: author-written decision tree citing legislation.gov.uk) - Limits: General guidance, not legal advice; the final determination rests with the Building Control Body, it submits nothing, and it does not cover Higher-Risk Buildings under the Building Safety Act 2022 in detail. - Libraries: none - Source: https://github.com/cowballwong/uk-reg3-checker - Raw files: - https://raw.githubusercontent.com/cowballwong/uk-reg3-checker/main/index.html - Turn it into a skill: 1. git clone --depth 1 https://github.com/cowballwong/uk-reg3-checker.git and keep its LICENSE file. 2. Serve it over http (e.g. python -m http.server); ES modules and fetch() do not run from file://. 3. Write a SKILL.md for it. Skill idea: Walk a described piece of work through the Reg 3 branches and return the verdict, the Reg 3(1) sub-clause, the Approved Document Parts engaged and the likely submission route or CPS. Drive the page with a headless browser (e.g. Playwright) or port the core functions into a script. 4. Keep "Copyright (c) 2026 Anzon Wong" and the MIT text with your copy, keep each library's notice, and credit the data sources in anything the skill outputs. ## CPS Checker (CPS 自我認證檢查器) - Status: OPEN, MIT licence - Use it: https://anzonwong.com/uk-cps-checker/ - Region: United Kingdom - What it does: Can your installer self-certify the work under a Competent Person Scheme, or do you need Building Control? - Inputs: work category (one of 8: windows, gas, electrical, microgeneration, air-con, solid fuel, oil, plumbing); building type (dwelling, office, mixed, HRB, listed); category-specific follow-up answers (e.g. like-for-like vs new; PV / heat pump / biomass size) - Outputs: on-screen verdict: Green (CPS self-cert), Amber (CPS + Building Control), Red (Building Control only); scheme name and URL, documentation to keep, regulatory citations, HRB / listed / F-Gas caveats; print-friendly result page (window.print()) - Data sources: Decision logic citing Building Act 1984 Sch 1 para 4A, Building Regulations 2010 Regs 20, 20A and Schedule 3, BSA 2022 and HRB regs 2023, ADs A, B, G, H, J, L, M, P, Q, S; scheme links (FENSA, CERTASS, Gas Safe, NICEIC, HETAS, OFTEC, MCS, APHC, REFCOM) (bundled static data: author-written decision tree with links to scheme sites) - Limits: General guidance, not legal advice; CPS scope is set by the scheme operator and can change, so verify on the official register, and Higher-Risk Buildings follow a separate Building Safety Regulator regime. - Libraries: none - Source: https://github.com/cowballwong/uk-cps-checker - Raw files: - https://raw.githubusercontent.com/cowballwong/uk-cps-checker/main/index.html - Turn it into a skill: 1. git clone --depth 1 https://github.com/cowballwong/uk-cps-checker.git and keep its LICENSE file. 2. Serve it over http (e.g. python -m http.server); ES modules and fetch() do not run from file://. 3. Write a SKILL.md for it. Skill idea: Given a work category, building type and the follow-up answers, return the Green / Amber / Red CPS verdict with the scheme name, URL and citations. Drive the page with a headless browser (e.g. Playwright) or port the core functions into a script. 4. Keep "Copyright (c) 2026 Anzon Wong" and the MIT text with your copy, keep each library's notice, and credit the data sources in anything the skill outputs. ## HK Wind Sketch (香港風環境草圖) - Status: OPEN, MIT licence - Use it: https://anzonwong.com/hk-wind-sketch/ - Region: Hong Kong - What it does: Pick a Hong Kong area and a wind direction, drag in a building, and watch a qualitative 2D wind field react at pedestrian level. Runs in the browser. - Inputs: place search (map.gov.hk) or address search (ALS); map click; one of four ready-made areas (Kwun Tong, Central, Mong Kok, Tsuen Wan); wind direction; drawn buildings (corner-by-corner or rectangle, move/delete); grid level Light 96 / Normal 128 / Fine 160 - Outputs: on-screen 3D view: ground colour = speed ratio in the first air cell vs incoming wind, streamlines, drifting particles, vertical section along the wind; PlanD wind-rose hint for direction; phone / no-GPU fallback: 2D D2Q9 slice about 2 m above ground - Data sources: LandsD Building dataset (footprints, base/top height mPD, storeys, block type) via CSDI WFS landsd_rcd_1637211194312_35158 (DATA.GOV.HK/LandsD/CSDI terms); LandsD 5 m DTM (DATA.GOV.HK hk-landsd-openmap-5m-grid-dtm, Dec 2015 DOP5000), cut into 1,602 x 1 km tiles (int16 m, zlib) (bundled static data: LandsD 5 m DTM tiles, DATA.GOV.HK terms); PlanD Site Wind Availability Data, 200 m level, 500 m grid (annual/summer/winter direction frequency) (bundled static data: PlanD SWAD table, DATA.GOV.HK terms); Ready-made area snapshots, October 2026 (central, kwun_tong, mong_kok, tsuen_wan) (bundled static data: LandsD buildings snapshot, DATA.GOV.HK terms); Base map and labels (CSDI Map API XYZ tiles) (DATA.GOV.HK/LandsD/CSDI terms); Place search (LandsD location search) (DATA.GOV.HK/LandsD/CSDI terms); Address Lookup Service (other: ALS terms (README)) - Limits: A qualitative teaching sketch on a coarse 4-6 m grid for early design feel: not an AVA under HPLB/ETWB TC No. 1/06, no velocity ratios, comfort ratings, pass/fail or wind loads, not checked against a wind tunnel or reference CFD, and must not be relied on for any planning, building or lease application. - Libraries: three.js 0.160.0 (MIT) - Source: https://github.com/cowballwong/hk-wind-sketch - Raw files: - https://raw.githubusercontent.com/cowballwong/hk-wind-sketch/main/index.html - https://raw.githubusercontent.com/cowballwong/hk-wind-sketch/main/app/static/wind.css - https://raw.githubusercontent.com/cowballwong/hk-wind-sketch/main/app/static/wind.js - https://raw.githubusercontent.com/cowballwong/hk-wind-sketch/main/app/static/solver3d.js - https://raw.githubusercontent.com/cowballwong/hk-wind-sketch/main/app/static/wind3d.js - https://raw.githubusercontent.com/cowballwong/hk-wind-sketch/main/app/app.py - https://raw.githubusercontent.com/cowballwong/hk-wind-sketch/main/app/wind_web.py - https://raw.githubusercontent.com/cowballwong/hk-wind-sketch/main/app/templates/wind/page.html - https://raw.githubusercontent.com/cowballwong/hk-wind-sketch/main/app/templates/wind/_body.html - https://raw.githubusercontent.com/cowballwong/hk-wind-sketch/main/app/templates/wind/standalone_base.html - https://raw.githubusercontent.com/cowballwong/hk-wind-sketch/main/prep_data.py - https://raw.githubusercontent.com/cowballwong/hk-wind-sketch/main/prep_pland_grid.py - https://raw.githubusercontent.com/cowballwong/hk-wind-sketch/main/prep_terrain.py - https://raw.githubusercontent.com/cowballwong/hk-wind-sketch/main/DISCLAIMER.md - Bulky data folders (clone): app/static/data/dtm (1603 files, 23.2 MB); app/static/data (excluding dtm: areas.json, 4 area snapshots, pland_grid.json) (6 files, 1.0 MB) - Turn it into a skill: 1. git clone --depth 1 https://github.com/cowballwong/hk-wind-sketch.git and keep its LICENSE file. 2. Serve it over http (e.g. python -m http.server); ES modules and fetch() do not run from file://. 3. Write a SKILL.md for it. Skill idea: Given an HK place or address and a wind direction (optionally a drawn building outline and height), load the 600 m square, run the browser solver and return views of the ground-level speed ratio and streamlines. Drive the page with a headless browser (e.g. Playwright) or port the core functions into a script. 4. Keep "Copyright (c) 2026 Anzon Wong" and the MIT text with your copy, keep each library's notice, and credit the data sources in anything the skill outputs. ## St Albans Live (St Albans 實時地圖) - Status: USE ONLY, not available to copy yet - Use it: https://anzonwong.com/lab/st-albans-live/ - Region: United Kingdom - What it does: Buses in their real liveries, trains as carriages, road speeds, parking, EV chargers and fuel prices on one live 3D map. Runs in the browser, in English or Chinese. - Inputs: tap a bus, train, car park, charger or fuel station; layer drawer; day/night toggle; EN / 繁 toggle - Outputs: on-screen live 3D map; bus route both directions and next stop; train calling points with booked/expected times and platforms; drive times to M25, M1, Hatfield, Harpenden and slowest-road ranking; car park tariffs with PayByPhone codes; EV charger status and price per kWh where published; fuel prices with cheapest E10 - Data sources: Buses: bustimes.org (Bus Open Data) (other: Bus Open Data via bustimes.org (licence not stated in article)); Trains: Realtime Trains (other: Realtime Trains (licence not stated)); Speeds, drive times, incidents: TomTom (other: TomTom commercial API (key kept on server)); Motorway closures and roadworks: National Highways Transport Data Feeds (other: National Highways (licence not stated)); Parking tariffs: St Albans City and District Council, APCOA, SABA (other: published tariffs (licence not stated)); EV chargers: Evolt (Swarco), MFG EV Power, GeniePoint open data; locations from OpenStreetMap (other: operator open feeds; OSM ODbL for locations); Fuel prices: Asda, MFG, Esso open price data (other: retailer open price data (licence not stated)); Map: MapLibre, OpenFreeMap, OpenStreetMap, Esri World Imagery (OSM ODbL); Routes, weather, search: OSRM, Open-Meteo, Photon (Komoot) (other: OSRM / Open-Meteo / Photon (licences not stated in article)) - Limits: A personal hobby project, not an official service of the council, operators or data providers; for reference only, not for navigation, safety or travel decisions, live data can be late, wrong or missing, and train positions are estimated from the live departure board, not GPS. - Note: Use it at the link. Not available to copy yet: it needs a server and API keys behind it. ## HK Site Model (香港地盤模型) - Status: OPEN, MIT licence - Use it: https://anzonwong.com/lab/hk-site-model/ - Region: Hong Kong - What it does: Pick a 250 m, 500 m or 1 km square anywhere in Hong Kong and download a 3D massing model: terrain, buildings at their recorded mPD heights, and roads. DXF in HK1980 Grid, OBJ and GLB. - Inputs: square size: 250 m / 500 m / 1 km; click the map to place the square, drag to adjust; typed coordinates (lat, lon or HK1980 E, N) - Outputs: on-screen 3D preview (orbit/zoom); zip download containing: site.dxf (true HK1980 Grid, mPD; layers TERRAIN, BLDG_TOWER, BLDG_PODIUM, BLDG_OTHER, ROADS, SITE_BOUNDARY, NOTES); site.glb and site.obj (local origin at SW corner, 0 mPD, metres, Y up, one object per block); origin.txt (origin in HK1980 and WGS84, axis mapping); README.txt (sources, dates, estimated-height blocks, accuracy limits) - Data sources: LandsD Building (footprints, base/top height) via CSDI FeatureServer landsd_rcd_1637211194312_35158 (DATA.GOV.HK/LandsD/CSDI terms); LandsD Road Centreline via CSDI FeatureServer landsd_rcd_1637310758814_80061 (DATA.GOV.HK/LandsD/CSDI terms); LandsD 5m Grid DTM via DATA.GOV.HK, tiled 18 Oct 2026 (1 km tiles, 201 samples, decimetres) (bundled static data: LandsD 5 m DTM tiles, DATA.GOV.HK terms); Base map and labels (LandsD map API tiles) (DATA.GOV.HK/LandsD/CSDI terms) - Limits: Massing only, not for survey, statutory or legal use: buildings are base-to-top prisms with no roof features, setbacks or basements (missing heights estimated from storeys and marked _EST), and the 5 m DTM is about +/-5 m and includes some flyovers and tree canopy. - Libraries: three.js 0.170.0 (MIT) - Source: https://github.com/cowballwong/cowballwong.github.io/tree/main/lab/hk-site-model - Raw files: - https://raw.githubusercontent.com/cowballwong/cowballwong.github.io/main/lab/hk-site-model/index.html - https://raw.githubusercontent.com/cowballwong/cowballwong.github.io/main/lab/hk-site-model/app.js - Bulky data folders (clone): lab/hk-site-model/dtm (1605 files, 15.65 MB); lab/hk-site-model/img (Blender renders for the page) (3 files, 0.11 MB) - Turn it into a skill: 1. Fetch the raw files above, or sparse-clone the folder: git clone --depth 1 --filter=blob:none --sparse https://github.com/cowballwong/cowballwong.github.io.git, then git sparse-checkout set lab/hk-site-model 2. Keep it at /lab/hk-site-model/ under your web root, or fix the relative script paths in index.html: they assume that depth. 3. Delete the Cloudflare Web Analytics