Claude Remote 开源:从手机在自家 PC 上启动 Claude Code 会话
Оригинальный заголовок: Claude Remote is open source: start Claude Code on your own PC from your phone, with your hooks, skills and CLAUDE.md intact
Заголовок и краткое изложение на выбранном языке ожидают перевода.
作者开源了 Claude Remote 插件,在手机上打开 PWA 选择项目文件夹,就能在自家 PC 上以该文件夹启动 Claude Code 会话,并加载本机 profile 里的 hooks、skills 和 CLAUDE.md,会话通过 --remote-control 出现在 Claude 应用的 Code 标签页中,STOP 可结束会话。
I've posted about this a few times while building it. It's public now, so here's the whole thing in one place.
Why I built it
My setup is most of how I work: hooks that stop a bad commit, skills for review and shipping, global rules I keep refining. They live in my profile folder, not in any repo, so a cloud session never sees them. And my ideas rarely show up while I'm sitting at the PC.
What it does
I open a PWA on my phone, tap a project folder, and a Claude Code session starts on my PC in that folder, with my profile loaded. The session runs with --remote-control, so it appears in the Claude app's Code tab and I drive it from there. STOP ends it.
How it compares, honestly
- Remote Control needs a session already running, which means someone started it at the desk. This starts one with nobody there, in the folder you pick.
- Dispatch also runs Claude on your machine. The difference is the start: no desk step, and you choose the folder before the session exists.
- If your code is pushed and you've never customised anything, the cloud sessions are simpler. This is for people with a setup they can't upload.
Install
It's a plugin. In Claude Code on the PC:
! npx.cmd -y github:MrTig-afk/claude-remote
It adds the marketplace, installs the plugin, sets itself up in the background and hands you a link to set a passcode. Needs Windows 10/11, Node 24.2+, Tailscale.
Things I learned that might help other plugin authors
- There's no post-install hook. The first time plugin code runs is the next session start, through a SessionStart hook, so the hook only decides and hands the real work to a detached background job.
- A SessionStart systemMessage keeps newlines and ANSI colour, so setup prints a QR code of the phone address right in the terminal.
claude plugin list --jsongives youinstallPath, but it's version-scoped and moves on every update. Don't hardcode it.
Repo: https://github.com/MrTig-afk/claude-remote
Feedback very welcome, especially from anyone running more than one Claude profile.
Источник: Reddit · ClaudeCode / Codex / VibeCoding · reddit.com