An automated agent that reconstructs yesterday's unfinished tasks from Coast screen history, generates a recap page with cropped screenshot evidence, and pushes a notification to your phone each morning.

Stars

8

7-day growth

No data

Forks

0

Open issues

0

License

No data

Last updated

2026-07-29

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It is a practical, real-world automation that combines screen recording, AI agent orchestration, and personal productivity into a daily habit, with a privacy-first design and a feedback loop that refines future audits.

Who it is for

  • Developers building AI agent workflows and automation
  • Productivity enthusiasts who track their digital activity
  • macOS users familiar with launchd and CLI tools
  • Users of Coast screen tracking looking for advanced recap capabilities

Use cases

  • Daily morning review of unfinished communications and work-in-progress
  • Tracking follow-ups on messages, emails, or tasks left incomplete
  • Automatically documenting and archiving daily loose ends with visual evidence
  • Building a personal habit of accountability and closure

Strengths

  • Uses vision-based verification to ensure screenshot crops actually show claimed evidence
  • Runs two subagents in parallel to cover both communication and work-in-progress loose ends
  • Privacy-sensitive: all sensitive data remains on local machines and is gitignored
  • Integrates push notifications, a web UI, and a two-way sync for seamless interaction

Considerations

  • Tightly coupled to Coast.app, OpenCode, and macOS (launchd), making cross-platform adoption difficult
  • Requires non-trivial setup including multiple CLI tools and a private hosting box
  • Resource overhead from screenshot cropping, OCR, and vision analysis may be significant on weaker machines

README quick start

coastcap — morning audit

Every morning, an agent reconstructs yesterday from my Coast screen history, finds the loose ends — things I left unfinished, never sent, or forgot to follow up on — and publishes a recap page with cropped screenshot evidence. A push notification lands on my phone when it's ready. Marking an item complete on the page feeds back into the next morning's audit.

(full quality: docs/demo.mp4)

How a morning runs

  1. 9:00 — launchd starts a headless OpenCode run (run.sh + prompt-template.md) with a random jitter.
  2. The agent reads its memory: previous audits (history/), the previous recap JSON, and which items I marked complete on the page (state/interactions.json).
  3. It dispatches two subagents in parallel over the Coast CLI: one hunts communication loose ends (unsent replies, people waiting on me), the other work-in-progress loose ends (abandoned terminals, half-typed prompts, errored flows). Carryover items from previous days get re-verified against the new day's evidence.
  4. For the items where a screenshot helps, it locates the exact frame, crops to the evidence region using Coast's OCR box coordinates (scripts/crop-evidence.py), then looks at each crop with vision and only ships images that actually show the claimed evidence.
  5. It writes site/data/.json. The Bun server renders it as a per-day page (/july-28th-2026) with an archive at /.
  6. A 10-minute two-way sync (scripts/sync.sh) pushes the site to an exe.dev box (auth-gated HTTPS) and merges item interactions in both directions. The first sync after a new recap fires a Hark push notification with a tap-through to the day's page.
  7. Tapping a row on the page blurs it and offers Mark complete — that interaction syncs back and becomes "cleared" in tomorrow's audit.

Components

PathWhat it is
run.shMorning entrypoint: date substitution, jitter, headless opencode2 run --auto
prompt-template.mdThe agent's brief: memory, subagents, synthesis rules, crop verification, output schema
scripts/crop-evidence.pyFrame + on-screen text → OCR-box union → padded sips crop
scripts/sync.shTwo-way state merge + site push to the box + once-per

Related repositories

Similar projects matched by category, topics, and programming language.

MoonshotAI
Featured
MoonshotAI GitHub avatar

Kimi-K3

Kimi K3 is an open-weight, 2.8T-parameter native multimodal agentic model with a 1M-token context window, designed for frontier coding, knowledge work, and reasoning tasks.

AI & Machine LearningAI Agents
3,348
jamesob
Featured
jamesob GitHub avatar

local-llm

A comprehensive guide for building and configuring a high-end local machine to run state-of-the-art LLMs, with detailed hardware choices, BIOS tuning, and Docker-based model serving.

AI & Machine LearningLarge Language Models
1,660
Blaizzy
Featured
Blaizzy GitHub avatar

nativ

Nativ is a native macOS app that lets you run AI models locally on Apple silicon, offering chat, model management, performance analytics, and an OpenAI/Anthropic-compatible API server.

AI & Machine LearningAI Vision & Audio
985