claude-share README

The project's README from github.com/Paradigm-Study/claude-share. As one markdown file: README.md.

Shared Sessions for Claude Code

Install · Quick start · Commands · Full guide · Contribute

What you get

Share a Claude Code session with a link, and a teammate joins it from their own Claude Code. They see your prompts, replies and tool results live, and they can prompt Claude on the same code. Their prompts run on your machine, and by default each edit, command or network call asks you first.

A teammate's invitation above the composer in Claude Desktop

Watch the 90-second demo. Recorded with fictional teammates; credits. Works in Claude Desktop and the terminal, on a public server or your own.

Install

Both people need Claude Code 2.1.286 or later (claude --version) and this plugin:

claude plugin marketplace add Paradigm-Study/claude-share
claude plugin install shared-session@claude-share

Start a new session after you install. In Claude Desktop, quit and reopen the app.

Is your terminal claude older than the one Claude Desktop bundles? Run the setup script instead. It needs Git and Node 22.18+:

git clone https://github.com/Paradigm-Study/claude-share.git && cd claude-share
node scripts/setup.ts join

join installs the plugin for sharing and joining. If it prints NEEDS HUMAN, do that step and run it again. More install options.

Quick start

Before you share: anyone with the link can join. The session goes through the room server, encrypted in transit but not end to end. See Privacy. In a session that already has messages, Share asks whether to send them. Choose Only from now on to leave them out.

  1. Host: press Share above the prompt, or type /share-session. Copy the link.
  2. Teammate: paste the link into a new Claude Code session and send it.
  3. Teammate: ask Claude to read the README. The prompt runs on the host's machine, and both sessions show the reply and tool calls.
  4. Host: type /stop-sharing. The room ends for everyone.

Commands

Command Does
/share-session Share this session. Add watch so teammates can only watch, or new to leave out earlier messages
/stop-sharing Host: end the room for everyone. Guest: leave it
/room People, timeline, changed files, side chat, settings
/who Who is here, and what each person is doing
/share-preview <port> Host: let teammates open a local web server
/share-file <path> Host: show a file to everyone
/team Sign in, make a team, and see its shared sessions
/invite <name> Invite a teammate into this session. Needs sign-in and a shared team

Every command, previews and the cloud host.

How it works

Shared Sessions architecture: the host and guests talk to the room server on Cloudflare, a main Worker and a preview Worker in front of Durable Objects, with storage and external services

The host's machine does all the work. A guest's prompt goes through the room server to the host's Claude Code, which runs it as a turn of its own.

By default, every edit, command and network call that a guest's prompt makes asks the host first, agents included. A call the host does not answer is declined.

Guests see the host's tool calls replayed in their own Claude Code. A replay runs nothing on the guest's machine, and the guest's model is never called. Permissions, files and preview boundaries.

Privacy

The link is the key. Anyone with it can join, unless you limit the room to a team.

The room server receives the shared transcript, tool results, chat and files. Traffic is encrypted in transit, not end to end. The public server deletes a room and its files 24 hours after the host stops or was last seen. It keeps no analytics and no request logs.

Only a server that turns on traces keeps a session's turns for its team to search. The public server does not.

A browser signed in to the server's dashboard (/app) keeps its sign-in in a cookie. The server keeps only its hash. A browser sign-in lasts 30 days. Signing out, or deleting your account, ends it at once.

A preview page left open in a browser can reach the previews of a session that browser opens next. Close previews from a session you do not trust before you open another one's.

A session moved to the cloud sends your project files, conversation and Claude token to a container. The container is deleted when you bring the session home, the room ends, or a week passes.

What the server keeps, and for how long.

Troubleshooting

More troubleshooting · Known limits · Report a bug

Host your own server

node scripts/setup.ts deploy

This deploys the room server to your Cloudflare account. It needs Node 22.18+, and a person must approve the browser sign-in. To use a server that already exists: node scripts/setup.ts host --server https://your-server. Cloudflare and team sign-in setup.

Develop

The plugin is in plugin/. The room server is in server/. CONTRIBUTING.md covers tests. AGENTS.md records setup and the release steps. docs/rules/ records the rules the design keeps.

License

MIT. The Paradigm name, logo and Clover character are trademarks of Paradigm Study. Demo music has its own terms.

claude-share (Paradigm-Study/claude-share)

cloudflare-workers
Searching Database…

What is this?Shared Sessions lets you and a teammate join the same Claude Code session together: you see each other's prompts, streamed replies, tool results and previews live, while the host's machine does all the work.
Is it a Claude Code plugin or a separate app?It is a plugin that runs inside your existing Claude Code installation (Desktop or terminal) plus a small room server that relays the shared session; it is not a standalone application.
How do I install it and start a shared session?Install the plugin in a terminal running a supported Claude Code version, leaving the share-server setting empty to use the public server by default. Then press Share or type /share-session to get a link, and a teammate pastes that link into their own fresh Claude Code session.
What do I need besides Claude Code?Both people need a Claude Code install at 2.1.286+ and the plugin; if you only have the newer Claude Code bundled with Desktop and an older terminal CLI, the setup script needs Git and Node 20+ to locate it on macOS.
What can't guests see or do?Guests only see the first 40 lines of each tool result and subagents' inner steps are not mirrored at all; some viewer and session-list features are Desktop-only, and by default a guest's request to edit files, run commands or use the network must be approved by the host first.
Can I run my own server instead of the public one?Yes, teams that want their own infrastructure can deploy the room server as a Cloudflare Worker or run the included Node server from a clone of the repo.
Where does the shared session data go?Everything shared passes through a room server (the public one by default), including the transcript, tool results, side chat and files; traffic is encrypted in transit but not end-to-end, and rooms are deleted 24 hours after the host stops sharing.
Does the host keep control over what a guest can do on their machine?Yes, by default a guest's request to edit files, run commands or access the network asks the host for approval first, and a watch-only mode is available for guests who should only observe.
Is there a size limit on the public room server?The public service caps rooms at 20 people and 100 MB of shared files per room, and rooms are automatically deleted 24 hours after the host stops sharing or was last seen.
What do the optional teams add on top of basic link sharing?Optional teams add sign-in, a live list of ongoing sessions and invitations that show up directly inside Claude Code.
Can a guest see a local dev server running on the host's machine?The host can run /share-preview to expose a local dev server and guests open it from the Room, though local TCP previews require Node 20+, POSIX sh and the host keeping their session and dev server open.
Size
8.6 MB
Stars
1.1K
Age
1mo
Commits · 90 Days