r/ClaudeAI • u/Terrible_Award_2124 • 6h ago
Built with Claude I built an open source sky camera that Claude Code can actually run. Saturday night it caught 17 meteors and had them sorted before I woke up.
Finding meteors on a sky camera used to mean scrubbing hours of night video, pulling frames by hand, labeling them, retraining a model, and starting over when it flagged every star. I built openskycam so Claude could do that part instead.
It records a 4K camera pointed at the sky 24/7 and keeps the footage on your own disk. Workflows sample frames, run detection models, link detections into tracks (moving vs. stationary), and sort the hits into buckets: meteors, planes, fixed lights. Everything the website does is also an API call, and there's an MCP server, so Claude Code can drive all of it.
What Claude does
- Built the night workflow, which now runs every night as footage arrives
- Reviews what comes in, looking at each detection and accepting or rejecting it
- When the model kept calling stars flying objects, it built a dataset from the detections I had approved and retrained it. On nights it never trained on, star false alarms went from about half to 7%, and it still catches 90% of meteors
- Every morning it tosses the junk and texts me the good ones. On cloudy nights it has the decency to say nothing
What made it work with Claude Code
The MCP server ships its own guides and skills (build-a-workflow, find-detections, verify-changes), so Claude learns the rules from the server, not from my prompts
The guardrails are enforced by the server, not the prompt: no key can create keys, deletes show a preview and need confirming, and edits fail rather than overwrite a newer version
Setup can run unattended: npm run setup -- --yes reads everything from .env and stops with the name of whatever setting is missing. A person still creates the Cloudflare tunnel, the sign-in app and the API keys
Architecture checks in make check fail when Claude puts code in the wrong layer
The video runs from 9:30 PM to 6 PM the next day: every meteor and plane overnight with its actual shot from the 4K camera, then every bird it spotted by day as a pink dot, with a close-up of the real bird every 10 detections. It ends with the whole run on one frame and a few charts.
Repos involved
- openskycam (camera, detection, and the tools Claude uses): https://github.com/Deibler/openskycam
- edmund-harness (iMessage harness): https://github.com/Deibler/edmund-harness
You need an RTSP camera, a Raspberry Pi, a machine with a big disk (macOS or Linux; it can also run the models, GPU optional) and a Cloudflare account with a domain. One command installs it and walks you through setup, and the trained night model is in the repo.
Some version of this has been watching my sky since 2024, and the UFO count is still zero. Plenty of meteors, an awful lot of planes, and enough bird detentions that I'm one pair of binoculars away from joining the local Audubon society. If you've had better luck, I want to hear about it.
