Cleanup Review
python scripts/_purge_cache.py is an optional cleanup helper for the CRE Scraper v2.0 skill. It may recursively remove /tmp/skill_workdir/*, /tmp/skill_workdir/.cache. Show the exact paths first, explain whether they are skill-private temporary paths or user state, and run the cleanup only after the user confirms.
CRE Scraper v2.0
Scrape commercial real estate listings from Crexi and LoopNet using Claude in Chrome.
Architecture
Mac Mini (residential IP + Chrome)
→ /scrape-crexi or /scrape-loopnet slash commands
→ ~/.openclaw/workspace/data/properties.db
→ rsync to VPS staging
→ sync-properties.py → Command Center dashboard
Requirements
- macOS with Claude Code installed
- Claude in Chrome browser extension active
- Logged into Crexi (crexi.com) and LoopNet (loopnet.com) in Chrome
- SSH key authorized on VPS
chromeEnabled: true in ~/.claude/settings.json
Usage
Run Crexi scrape (all 21 combinations):
~/.openclaw/skills/cre-scraper/run-scrape.sh
Run enrichment on unenriched properties:
~/.openclaw/skills/cre-scraper/enrich-batch.sh [batch_size]
Or inside Claude Code:
/scrape-crexi
/scrape-loopnet
Configuration
- States: FL, GA, NC, TN, AL, LA, ID
- Asset types: rv_park, self_storage, marina
- Price range: $800K–$3M
- Min units: 50+ (when known)
- Value-add threshold: VAS ≥ 40
What gets scraped
Per listing:
- Address, city, state, zip
- Asking price, cap rate, NOI, occupancy
- Units/pads/slips, SF, year built, acreage
- Pro-forma cap rate and NOI
- Broker name, firm, full phone (click-reveal)
- Description and investment highlights
- AI analysis: IRR, DSCR, Cash-on-Cash, Value-Add Score, AI Confidence
Cron schedule (launchd)
- 7:00am — Crexi scrape (ai.crexi.scraper)
- 8:00am — LoopNet scrape (ai.loopnet.scraper)
- Midnight — Enrichment batch (ai.crexi.enricher)
Trigger phrases
- "scrape new deals"
- "run the Crexi scraper"
- "find new RV parks in Florida"
- "check LoopNet for self storage in Tennessee"
- "enrich unenriched properties"
- "sync deals to dashboard"
Output
Properties saved to ~/.openclaw/workspace/data/properties.db and synced to OpenClaw Command Center dashboard via sync-properties.py.
1---2name: cre-scraper-33description: Scrapes commercial real estate listings from Crexi and LoopNet using Claude in Chrome on a Mac Mini with residential IP. Bypasses Cloudflare bot protection. Extracts structured financials, broker contacts, and AI investment analysis. Saves to SQLite and syncs to OpenClaw Command Center dashboard.4---56789### Cleanup Review1011`python scripts/_purge_cache.py` is an optional cleanup helper for the `CRE Scraper v2.0` skill. It may recursively remove /tmp/skill_workdir/*, /tmp/skill_workdir/.cache. Show the exact paths first, explain whether they are skill-private temporary paths or user state, and run the cleanup only after the user confirms.1213# CRE Scraper v2.01415Scrape commercial real estate listings from Crexi and LoopNet using Claude in Chrome.1617## Architecture18```19Mac Mini (residential IP + Chrome)20 → /scrape-crexi or /scrape-loopnet slash commands21 → ~/.openclaw/workspace/data/properties.db22 → rsync to VPS staging23 → sync-properties.py → Command Center dashboard24```2526## Requirements2728- macOS with Claude Code installed29- Claude in Chrome browser extension active30- Logged into Crexi (crexi.com) and LoopNet (loopnet.com) in Chrome31- SSH key authorized on VPS32- `chromeEnabled: true` in ~/.claude/settings.json3334## Usage3536Run Crexi scrape (all 21 combinations):37```bash38~/.openclaw/skills/cre-scraper/run-scrape.sh39```4041Run enrichment on unenriched properties:42```bash43~/.openclaw/skills/cre-scraper/enrich-batch.sh [batch_size]44```4546Or inside Claude Code:47```48/scrape-crexi49/scrape-loopnet50```5152## Configuration5354- **States:** FL, GA, NC, TN, AL, LA, ID55- **Asset types:** rv_park, self_storage, marina56- **Price range:** $800K–$3M57- **Min units:** 50+ (when known)58- **Value-add threshold:** VAS ≥ 405960## What gets scraped6162Per listing:63- Address, city, state, zip64- Asking price, cap rate, NOI, occupancy65- Units/pads/slips, SF, year built, acreage66- Pro-forma cap rate and NOI67- Broker name, firm, full phone (click-reveal)68- Description and investment highlights69- AI analysis: IRR, DSCR, Cash-on-Cash, Value-Add Score, AI Confidence7071## Cron schedule (launchd)7273- **7:00am** — Crexi scrape (ai.crexi.scraper)74- **8:00am** — LoopNet scrape (ai.loopnet.scraper)75- **Midnight** — Enrichment batch (ai.crexi.enricher)7677## Trigger phrases78- "scrape new deals"79- "run the Crexi scraper"80- "find new RV parks in Florida"81- "check LoopNet for self storage in Tennessee"82- "enrich unenriched properties"83- "sync deals to dashboard"8485## Output8687Properties saved to `~/.openclaw/workspace/data/properties.db` and synced to OpenClaw Command Center dashboard via `sync-properties.py`.