
claude-share
Securely share your Claude Code with your friends.
Install with your AI
Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.
Install and set up claude-share (git-clone project) into my current project. Found on https://claudeers.com/claude-share Repo: https://github.com/prathamVaidya/claude-share Homepage/docs: — Detected install method: git-clone → git clone https://github.com/prathamVaidya/claude-share Category: plugins. Platforms: cli, api. Read the repo's README for exact setup and env vars, then install it and wire it into my project. Claudeers Health Verdict: unknown; community-verified: false. Confirm the source before running anything.
git clone https://github.com/prathamVaidya/claude-share
// compatibility
| Platforms | cli, api |
|---|---|
| Operating systems | — |
| AI compatibility | claude |
| License | MIT |
| Pricing | open-source |
| Language | TypeScript |
claude-share
Securely share your Claude Code subscription with others.
One machine runs claude-share to expose its Claude credentials through a local proxy. Other machines run claude-connect to connect and use Claude Code as if they had their own subscription.
How it works
Receiver machine Sharer machine
───────────────── ──────────────────────────────
claude (CLI) claude-share
│ │
│ HTTPS_PROXY=... ├─ MITM proxy (intercepts Anthropic API calls)
└──────────────────────────────────>│ injects sharer's OAuth token
│
├─ Hono API (pairing, health, CA cert)
│
└─ bore tunnel (public URL via bore.pub)
- The sharer's OAuth token is read from the macOS Keychain and injected per-request inside the MITM proxy — it is never written to disk or sent to the receiver.
- The receiver installs a temporary CA cert (valid only for the session) so the MITM can intercept Anthropic traffic. Non-Anthropic domains pass through as an opaque TCP tunnel — never inspected.
- Pairing uses a one-time code. Once paired, credentials are saved so reconnecting skips the pairing step.
Install
npm install -g @0xpv/claude-share
This installs both claude-share and claude-connect binaries.
Quickstart
Sharer
claude-share
Requires bore for internet sharing (brew install bore-cli). If bore is not installed you'll be prompted — decline to share on LAN only.
The TUI shows connection URLs. Share the Public URL with receivers over the internet, or the LAN URL for local network.
Keys: c copy URL · q quit
Receiver
# First time — paste the connect URL from the sharer's TUI
claude-connect --share <connect-url>
# Subsequent runs — pick from saved connections
claude-connect
The receiver configures Claude Code to route through the proxy and installs the session CA cert automatically. Everything is cleaned up on exit.
One-time use (npx)
# Sharer
npx @0xpv/claude-share
# Receiver
npx -p @0xpv/claude-share claude-connect --share <connect-url>
Requirements
- Node.js 18+ on both machines
- bore (
brew install bore-cli) on the sharer machine for internet sharing - The sharer must be logged in to Claude Code (
claude login) - The receiver must have Claude Code installed
Security model
- The sharer's OAuth token is read from the macOS Keychain and injected into requests in-memory. It is never transmitted to the receiver.
- Only these Anthropic endpoints are proxied:
POST /v1/messages,GET /v1/models,/api/hello, and OAuth flows onplatform.anthropic.com/platform.claude.com. - File upload (
/v1/files), fine-tuning, and assistants endpoints are blocked. - All non-Anthropic HTTPS traffic passes through as an opaque TCP tunnel — the proxy never sees the contents.
- Sessions expire after the duration chosen at startup (6h / 24h / 1 week).
Development
# Sharer
bun run dev:share
# Receiver
bun run dev:connect --share <connect-url>
Set TUNNEL=0 to skip the bore tunnel during local development.
Build: bun run build — compiles both binaries into their dist/ folders.
// faq
What is claude-share?
Securely share your Claude Code with your friends.. It is open-source on GitHub.
Is claude-share free to use?
claude-share is open-source under the MIT license, so it is free to use.
What category does claude-share belong to?
claude-share is listed under plugins in the Claudeers registry of Claude-compatible tools.
// embed badge
[](https://claudeers.com/claude-share)
// retro hit counter
[](https://claudeers.com/claude-share)
// reviews
// guestbook
// related in Claude Plugins
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explainin…
"CLI-Anything: Making ALL Software Agent-Native" -- CLI-Hub: https://clianything.cc/
financial-services — a Claude ecosystem project on GitHub.