urban-calculator
Installation
SKILL.md
Urban Calculator
A suite of Python computational tools for precise urban design metric calculations. Each script is self-contained, accepts inputs via command-line arguments, and outputs both human-readable text and structured JSON.
Available Calculators
| Script | Purpose | Key Inputs | Key Outputs |
|---|---|---|---|
density_calculator.py |
Population and dwelling density | Site area, FAR, unit sizes, efficiency | DU/ha, persons/ha, population |
far_calculator.py |
FAR and GFA optimization | Site area, coverage, floors, uses | FAR, GFA per use, total GFA |
walkability_scorer.py |
Walk Score estimation | Amenity distances, network connectivity | Score 0-100, category |
parking_calculator.py |
Parking requirements | Uses, areas, ratios, reductions | Total spaces, area needed |
green_space_analyzer.py |
Green space adequacy | Population, park areas, distances | Per capita m2, service coverage |
block_optimizer.py |
Block dimension optimization | Target FAR, height, coverage, daylight | Optimal block dimensions |
Usage Instructions
All scripts are located in the scripts/ subdirectory relative to this skill. Run them with Python 3 via the command line. Every script supports a --json flag to output structured JSON instead of formatted text.
Related skills