shengyanlin/claude-overlay
关于
A floating, screen-aware Claude Code chat for Windows - it reads your screen to answer, and runs on your own Claude (And Codex btw) subscription (no API key).
开发工具实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Claude Overlay
Talk to Claude Code without ever leaving the app you're in — and let it actually see your screen.
Windows 10 / 11 and macOS · runs on your existing Claude subscription — no API key
https://github.com/user-attachments/assets/f47fb39d-68f5-42ba-b2be-5442812838d8
Claude Overlay is a small always-on-top chat window that floats over whatever you're doing. Ask a question and Claude looks at your real screen to answer — no copy-pasting error messages, no describing what you're staring at, no alt-tabbing. It runs the full Claude Code agent, so it can also act: edit the slide, document or spreadsheet you have open, change files, run commands.
It drives your own claude CLI login, so it uses your existing Claude subscription:
no API key and nothing extra to pay.
⭐ If a screen-aware Claude that floats over your work sounds useful, star the repo — it helps other people find it.
What it does
- 👁️ Sees what you see. Every message carries a fresh screenshot of each monitor (or only the active window, if you prefer). Just ask "what's wrong here?"
- ✍️ Acts on what's open. Ask it to fix the typo on the current slide or build a model in the open spreadsheet. No file path needed.
- 🪟 Stays out of your way. Frameless and always on top; collapses to a small orb, and shows a ✓ on it when a reply finishes.
- 🔀 Claude or Codex. One switch in the title bar puts OpenAI's Codex behind the same
window, on your own
codexlogin. - 🖼️ Images and files. Paste an image, or attach a PDF, Word or PowerPoint file.
- 🔁 Conversations survive restarts. Reopen it and resume where you left off.
- 🏷️ Run several at once. Name each overlay for the task it's on.
Ask it to fix the open slide — it edits the deck you already have open.
More examples: what a floating overlay is good for.
Install
You need a Claude subscription. The setup script installs everything else it finds
missing: Python, the claude CLI, and (optionally) the codex CLI.
1. Get the folder
git clone https://github.com/shengyanlin/claude-overlay.git
(or download the ZIP from the green Code button and unzip it)
2. Set it up and start it
| Windows | macOS | |
|---|---|---|
| Set up (once) | double-click setup.cmd |
double-click setup.command |
| Start | double-click Start Claude Overlay.cmd |
double-click Claude Overlay.app |
| First launch | — | allow Screen Recording when macOS asks, then start it again |
That's it: type a question and press Enter.
Full walkthroughs, installing by hand, and locked-down work laptops: Windows guide · macOS guide
Use
| To | Do this |
|---|---|
| Send a message | Enter (Shift+Enter for a new line) |
| Show or hide the overlay from anywhere | Ctrl+Alt+Space on Windows, ⌥⇧Space on a Mac |
| Stop a reply | Esc, or the ■ button |
| Collapse to the orb / expand again | – / click the orb |
| Turn the automatic screenshot on or off | ◉ Auto-shot |
| Paste an image | Ctrl+V (⌘V on a Mac) |
| Attach a file, capture only the active window, go read-only | the ⚙ menu |
| Switch model, or how hard it thinks | click the status line at the bottom |
| Switch between Claude and Codex | the Claude | Codex switch in the title bar |
| Start a new conversation | Clear |
| Move / resize | drag the title bar / drag any edge |
Everything else: all controls.
Update
Installed with git clone? The overlay updates itself when you open it. To update by
hand, double-click update.cmd (Windows) or update.command (macOS).
Details: updating.
Settings
Put the settings you want to change in a small config.json, which survives updates:
| Windows | macOS |
|---|---|
%LOCALAPPDATA%\claude-overlay\config.json |
~/Library/Application Support/claude-overlay/config.json |
{
"PERMISSION_MODE": "plan",
"THEME": "dark"
}
Every setting and what it does: configuration.
Something not working?
Double-click Diagnose.cmd (Windows) or Diagnose.command (macOS). It checks the
install and copies a report to your clipboard, ready to paste into an issue.
Common problems and fixes: troubleshooting.
⚠️ Security note
By default the overlay runs Claude with PERMISSION_MODE = "bypassPermissions": a fully
autonomous agent that can edit files and run commands without asking, and that can
see your screen. That is what lets it change the document you have open, and it also
means it can change things you didn't intend.
- To make it look and answer but change nothing, turn on ⚙ → Read-only.
- To start that way every time, set
"PERMISSION_MODE": "plan"inconfig.json.
Read the full note, including what the overlay reads from your stored login, before relying on it: permissions and security.
Privacy
Claude Overlay reports anonymous usage counts: one request per launch carrying the
version, a random per-install id, the OS build and the Python version, and nothing else.
Nothing you type, nothing the model says and no part of your screen is in it. It is on
in this release, and it is opt-out: set DO_NOT_TRACK=1 or CLAUDE_OVERLAY_TELEMETRY=0
to turn it off. Full details: PRIVACY.md.
How it works
Overlay (Tkinter UI) → claude-agent-sdk → your `claude` CLI → Anthropic
▲ screenshots (Pillow ImageGrab, one image per monitor)
The overlay is not an API client. It starts the claude CLI you already have installed
and talks to it, which is why your subscription and login are the ones used. The same
code runs on both systems; only the layer that talks to the operating system differs
(win32utils.py on Windows, macutils.py on macOS).
Contributing
Issues and PRs are welcome — bug reports, feature ideas, and especially a Linux port. See CONTRIBUTING.md.
License
MIT © shengyanlin
Built with Claude Code. If it earned a spot on your screen, leave a ⭐ — it genuinely helps.
探索相关项目
加载中…