shengyanlin/claude-overlay
A Python desktop overlay that brings screen context to Claude Code and Codex
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Claude Overlay is a Python/Tkinter desktop client backed by local agent CLIs. On the Claude path, the UI hands requests to claude-agent-sdk, which drives the installed and authenticated claude CLI; the CLI connects to Anthropic. Pillow ImageGrab supplies screen context as one image per monitor by default. The overlay does not call a model endpoint directly or run inference locally.
The same UI sits above two OS integration layers: win32utils.py on Windows and macutils.py on macOS. Codex is an alternate backend behind the title-bar switch and uses the user's codex CLI login. This is a launcher and frontend for existing agent runtimes, not a general-purpose model gateway. Its compatibility surface includes the desktop OS, Python dependencies, and provider CLIs.
Key Capabilities & Differentiators
The frameless, always-on-top window collapses to an orb and can be toggled with Ctrl+Alt+Space on Windows or Option+Shift+Space on macOS. Each message can carry a fresh capture of all monitors or only the active window; automatic capture can also be disabled. Users can paste images or attach PDF, Word, and PowerPoint files.
The Claude backend can go beyond answering questions about the screen: with permissions enabled, it can change local files and run commands, including working on an open document or spreadsheet. The status line exposes model and reasoning-effort controls, and the title bar switches between Claude and Codex. Conversations survive restarts, and multiple named overlays let users keep separate tasks open.
Trade-offs & Limitations
Compared with using an agent CLI directly, the overlay saves context switching for questions about the current app, but automatic capture makes it easier to send unrelated on-screen content. Compared with conventional chat, its local agent can take action: Claude defaults to bypassPermissions and can edit files or run commands without confirmation. For visual Q&A, start in read-only mode or set PERMISSION_MODE to plan; narrow or disable capture separately, since read-only does not stop screenshots.
Local installation avoids a separately configured API key on the Claude subscription path, but it does not keep inference or submitted context on the machine. Launch telemetry is a separate, opt-out request carrying the version, a random per-install ID, the OS build, and the Python version. DO_NOT_TRACK=1 or CLAUDE_OVERLAY_TELEMETRY=0 disables this reporting, not provider processing of chat content.
Hardware & Deployment Guide
On Windows 10/11, clone or unpack the repository, run setup.cmd, and launch Start Claude Overlay.cmd. On macOS, run setup.command and open Claude Overlay.app; grant Screen Recording permission when prompted, then relaunch. Setup covers missing Python and the claude CLI, with Codex optional. A provider login is still required; installing the desktop client does not provide offline inference.
The dependency policy in requirements.txt uses minimum versions rather than exact pins so the SDK can track the independently updated Claude CLI. CI installs from that file on a clean runner and checks loading with preflight.py. That helps surface incompatibilities but does not make installs reproducible across dates. Version v1.29.0 added macOS support without forking the UI; v1.29.1 fixed an interactive Git prompt that could stall Windows updates when OneDrive left a folder read-only.
Windows or macOS users who already use Claude Code or Codex and want to ask about an active app without switching windows or attaching screenshots by hand.
You require offline inference, cannot send screen content to a provider, or cannot deploy a local agent without first reviewing its permissions.
Quick Start & Installation
git clone https://github.com/shengyanlin/claude-overlay.git
Comparison vs. Top Chat UI & AI Apps Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| claude-overlay ★ | 105 | +1 | Python | MIT | A Python desktop overlay that brings screen context to Claude Code and Codex |
| open-design | 110.9k | +1k | TypeScript | Apache-2.0 | Local-first design workspace that turns coding-agent output into reviewable prot |
| open-codesign | 8.3k | +54 | TypeScript | MIT | Local-first Electron app for turning prompts into prototypes and decks with your |
| DeepTutor | 65.5k | +1.6k | Python | Apache-2.0 | A self-hosted agent workspace for source-grounded tutoring, reading, and practic |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/shengyanlin/claude-overlay.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about claude-overlay
How does the overlay connect to Claude and Codex?
Do I need a GPU, and what drives local resource usage?
Can a company deploy or redistribute it, and does that make inference self-hosted?
When is the overlay preferable to the CLI or a conventional chat app?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy