I built an open source sky camera that Claude Code can actually run. Last night it caught 17 meteors and had them sorted before I woke up.
retained text
[https://docs.openskycam.org/](https://docs.openskycam.org/) 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 1. 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 2. 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 3. 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 4. Architecture checks in `make check` fail when Claude puts code in the wrong layer The video is one night: every meteor and plane detection it kept between 10 PM and 4:30 AM, drawn in at the moment it happened. # Repos involved \- **openskycam** (camera, detection, and the tools Claude uses): [https://github.com/Deibler/openskycam](https://github.com/Deibler/openskycam) \- **edmund-harness** (iMessage harness): [https://github.com/Deibler/edmund-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.
document fetched 2026-10-27 00:42 · canonical https://reddit.com/r/ClaudeCode/comments/1xfm8i7/i_built_an_open_source_sky_camera_that_claude