Install
openclaw skills install @pranjalminocha/nyc-311-reporterAutomate NYC 311 service request filing by browsing the 311 portal with Playwright. Scrapes complaint categories, finds forms, fills them with user data, and submits reports. Use when the user wants to file a complaint via NYC 311 and needs end-to-end browser automation.
openclaw skills install @pranjalminocha/nyc-311-reporterAutomates NYC 311 complaint filing using Playwright for browser automation.
Extract from natural language:
Run the browser script to explore available complaint categories:
python3 scripts/browse_311.py scrape
For fire hydrant complaints:
python3 scripts/browse_311.py find
Run with your complaint details:
Dry run (preview only):
python3 scripts/browse_311.py submit \
--location "726 DeKalb Avenue, Brooklyn, NY" \
--vehicle "Gray Nissan Micra" \
--duration "10 hours" \
--name "Ricardo Díaz" \
--email "ricardo@example.com" \
--phone "+19299990000"
Actual submission:
python3 scripts/browse_311.py submit \
--location "726 DeKalb Avenue, Brooklyn, NY" \
--vehicle "Gray Nissan Micra" \
--duration "10 hours" \
--name "Ricardo Díaz" \
--email "ricardo@example.com" \
--phone "+19299990000" \
--submit
Store user information in assets/config.json:
{
"name": "Ricardo Díaz",
"phone": "+19299990000",
"email": "ricardo@example.com",
"home_address": "726 DeKalb Avenue",
"work_address": "726 DeKalb Avenue",
"apartment": "1E",
"preferred_contact": "email",
"notify_updates": true
}
scripts/browse_311.py — Main automation script:
scrape — List all complaint categoriesfind — Find the fire hydrant/parking formsubmit — Fill and optionally submit the formpip install -r requirements.txt
playwright install chromium
/tmp/ for review--submit first to verify the form fills correctly