deal-finder
Skill396 starsChanged 6 months agoMITView on GitHub
Scan configured sources (Craigslist now; eBay + Facebook Marketplace planned) for used-item listings matching the owner's criteria. Currently configured for a Mac mini search (M2+, 16GB+, 512GB+, ≤$500, near 94566). Notify owner via SMS + Telegram on a match.
In this repository73 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-activitySkill
- agent-registrySkill
- agent-room-opsSkill
- answer-formatSkill
- audio-transcribeSkill
- bee-actionsSkill
- bot2bot-postSkill
- call-diagnosticsSkill
- claude-codexSkill
- claude-geminiSkill
- claude-piSkill
- claude-routerSkill
- collaboration-intelligenceSkill
- connect-appsSkill
- context-dropSkill
- context-reconstructSkill
- db-browserSkill
- doc-ingestSkill
- electron-overlay-dimmingSkill
- email-findSkill
- engine-conflict-resolveSkill
- gemini-ttsSkill
- image-generationSkill
- import-claude-contextSkill
- local-workspace-serverSkill
- macos-toolsSkill
- macos-useSkill
- make-viral-videoSkill
- marketplaceSkill
- media-transcriptSkill
- meeting-prepSkill
- meeting-schedulerSkill
- mention-gateSkill
- model-switchSkill
- morning-briefingSkill
- ms365-connectSkill
- observeSkill
- obsidian-vaultSkill
- openai-ttsSkill
- open-sutando-refSkill
- overlay-appsSkill
- phone-conversationSkill
- proactive-loopSkill
- pr-shepherd-contractSkill
- quota-trackerSkill
- regression-searchSkill
- relaySkill
- releaseSkill
- report-feedbackSkill
- review-preflightSkill
- room-collabSkill
- schedule-cronsSkill
- screen-companionSkill
- screen-recordSkill
- self-diagnoseSkill
- self-upgradeSkill
- session-recapSkill
- skill-usage-reportSkill
- The first 60 shown.
The file
Files
Deal Finder
Watches configured sources for second-hand item listings matching owner-defined criteria. Sends an SMS + Telegram DM when a new matching listing appears.
Usage: /deal-finder (one-shot scan) — typically run from cron every 60 min.
Searches
V1 keeps the original Mac Mini search inline (state/criteria.json). V2 will move this to a state/searches.json array with one entry per search, so adding "Pelican 1535 case", "Aeron chair size B", etc. becomes a JSON edit rather than a code change.
Current Mac Mini search criteria (from state/criteria.json):
- Chip family:
M2,M3,M4(M1 explicitly excluded — owner asked for M2+) - Min RAM:
16 GB - Min storage:
512 GB - Max price:
$500 - ZIP:
94566(Pleasanton, CA), search radius50 mi
Edit state/criteria.json to retune the Mac Mini search; v2 will lift this into a per-search config.
Sources
V1 (implemented): Craigslist (sfbay.craigslist.org/search/sss?...). Uses an honest User-Agent (Sutando-Personal-Agent/1.0) that identifies the agent rather than cosplaying a browser — Craigslist can decide whether to allow.
V2 (planned, not yet implemented):
- eBay —
browse.ebay.comhas a local-pickup filter; HTML scraping works without auth. - Facebook Marketplace — requires a headless browser (Playwright via the
macos-useskill, or the browser-automation MCP) because the page is JS-rendered and gated.
Behavior
- Fetch the Craigslist search results page with the honest UA.
- Parse each listing: title, URL, price, neighborhood.
- For each listing not in
state/seen.json:- Fetch the listing detail page (one extra HTTP req per listing — cheap, only on first sight).
- Apply criteria filter (chip, RAM, storage, price). Listings missing fields fall through to "soft match" — flagged but still notified, since Craigslist sellers often omit specs.
- On match: notify (SMS + Telegram), record URL in
seen.json.
- Trim
seen.jsondeterministically to the last 1000 entries (adeque(maxlen=1000)ordered by insertion — replaces the prior set-slicing trim which was non-deterministic).
Notification format
[Mac Mini Deal] $480 — M2 / 16GB / 512GB
Concord (35mi, local pickup)
Posted recent
https://sfbay.craigslist.org/...SMS goes via TWILIO_* env vars to OWNER_NUMBER. Telegram goes via results/proactive-deal-finder-{ts}.txt (the bridge picks it up).
Run it
python3 scripts/scan.py # one-shot scan with default criteria
python3 scripts/scan.py --dry-run # don't notify, print what would notify
python3 scripts/scan.py --reset # clear seen.json (force re-notify everything)Cron: every 60 min. Configured in skills/schedule-crons/crons.json as deal-finder.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

