Who it is forA host who wants a teammate or outside reviewer in the session but must keep control of edits, commands and network use on their machine.
The problemInviting someone into a live session can let their requests change files or run commands on the host's machine without a check.
The outcomeGuest requests to edit, run commands or use the network ask the host first, or the guest is limited to watch-only mode.
What you need first
- Claude Code 2.1.286 or newer, installed by both the host and each guest
- Your normal Claude authentication
- Git and Node 20+ if you use the setup script or self-host a server
- A Cloudflare account and browser authorization only if you deploy your own Worker
Steps
- Host: start the session in the project folder and type
/share-session. - Host: keep the default rule, where a guest's request to edit, run commands or use the network asks the host first.
- Host: for a read-only guest, choose watch-only mode when the room is set up.
- Host: open
/roomto check the people in the room and the host controls. - Host: approve or deny guest requests as they arrive, and type
/stop-sharingto end the room.
Prompt for your agent
With the Paradigm-Study/claude-share plugin, open a shared session for the project at <project-path> using the default approval rules. Output the room's permission settings and the list of guests from /room. Verify that a guest request to run a command at <test-command> waits for host approval and does not run on its own.
Caveat. The README does not give the exact command or menu for choosing watch-only mode, so check the full guide before relying on it.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Paradigm-Study/claude-share and "Let guests watch or ask before edits and commands"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer