PandaNpc

Share Your Claude Code and Codex Subscription

Share Your Claude Code and Codex Subscription

You pay for Claude Max or a Codex plan, but only you can use it β€” meanwhile a family member or teammate wants to try an agent-driven coding session without setting up their own subscription. PandaNpc lets you share a live connection to the Claude Code (or Codex) session running on your machine, so someone else can log in and drive it, without you handing over your password or your machine.

This guide covers PandaNpc's connection sharing feature specifically β€” generating a link that lets another person use your Claude Code / Codex. It's different from session sharing, which just gives someone a read-only transcript of one conversation to look at. If you only want to show someone what Claude did, see the read-only "Share session" option in the sidebar instead β€” this guide is about handing over the wheel.

What sharing a connection actually gives someone

Be clear-eyed about this before you send a link: the person you share with can act on your machine, not just view it.

They get They don't get
A live line into Claude Code (or Codex) running on your machine β€” they can chat, approve tool calls, and drive it like you would Your PandaNpc account, password, or any of your other connections
The ability to run Bash commands, edit files, and read/write whatever the working directory (and the agent's tool permissions) allow Read-only β€” there's no "view only" mode for connection sharing. Anything the session can do, they can do
Whatever Claude/Codex usage that requires, drawn from your own subscription, not theirs A separate account on your machine, or the ability to see the rest of your file system beyond what that session's tools reach

The app shows this warning directly in the share dialog before you generate a link:

They can run Agent on your machine β€” execute commands and tools, read and write your project files. They consume the subscription / usage quota of whatever engine (Claude, Codex, etc.) is running on your machine. Revocable anytime: revoking immediately disconnects anyone connected via this share and blocks them from reconnecting; your own connection is unaffected.

If that's not what you want for a particular person, don't share that connection with them β€” there's no way to grant partial (read-only, or directory-restricted) access today.

What the recipient needs

Nothing installed on their end besides a PandaNpc account:

  • A free PandaNpc account. No VIP/paid tier required on either side to create or redeem a share β€” sharing works on the free plan.
  • Any PandaNpc client: the web app, the desktop app, or the iOS app. They do not need to install pandapaw themselves β€” that only runs on your machine, the one actually executing Claude Code or Codex.
  • They don't need their own Claude or Codex subscription. The session runs under yours.

Only remote (relay) connections β€” the ones set up via pandapaw β€” can be shared. A purely local connection (Claude Code or Codex running on the same device as the client, no network involved) has nothing to share.

How to share a connection

The walkthrough below is captured in the web app at pandanpc.com/agent. The desktop app shows the same sidebar and the same dialogs, so every step matches one-to-one; on iOS the layout is different but the fields are the same.

Step 1 β€” Find the connection in your sidebar

Open the Claude Code sidebar and locate the connection you want to share. Only remote (relay) connections can be shared, so if your list mixes local and remote ones, the Remote filter above the list narrows it down first.

The connection list in the PandaNpc sidebar

Step 2 β€” Right-click it and choose "Share Connection"

Right-clicking a connection opens its context menu. "Share Connection" only shows up for remote connections; on a local one the entry isn't there at all.

The connection context menu with "Share Connection" highlighted

The dialog restates what you're handing over before anything is generated β€” that the other person can run the agent on your machine, that it draws on your subscription, and that you can revoke it at any time.

Under Valid for, choose 1 day, 7 days, 30 days, or Forever. 7 days is the default; pick the shortest window that actually covers what the other person needs.

The Share Connection dialog, showing the security notice and the expiry options

Click Generate share link. The dialog turns into the finished share: the link (https://pandanpc.com/agent?connect=<code>), a copy button next to it, and a Revoke share action that stays available for as long as the share exists.

Copy the link and send it however you like β€” chat, email, whatever. Treat it like a password: anyone holding it can redeem it.

The generated share link with a copy button and a "Revoke share" action

The code in the screenshot is a placeholder. A real one is 32 hex characters.

Step 5 β€” The connection now carries a "Shared" badge

Back in the sidebar, a small green share icon appears next to the connection's name, so you can tell at a glance which of your connections are currently handed out.

A connection in the sidebar with the green "shared" badge next to its name

Step 6 β€” Review all your shares in one place

Your account page has a Shared Connections entry that opens a list of every share that's still active, with how many people have redeemed it and when it expires. The two buttons on each row copy the link again and revoke the share.

The Shared Connections page listing an active share with its redeemer count and expiry

What the recipient sees

Opening the link in a browser lands them on pandanpc.com/agent, which reads the ?connect= parameter and pops the New Agent Connection dialog already filled in β€” name, engine, and mode all come from your connection. The green "Connection recognized" line under the connection-link box means the code checked out against the server.

On desktop or iOS there's no auto-detect: they open the New Connection dialog themselves and paste the link (or just the bare code) into the Connection link field. Everything after that is the same.

The New Agent Connection dialog, pre-filled from the share link

Step 8 β€” They check the preview and confirm

Scrolling down shows the rest of what they're accepting, including the working directory the session will run in β€” this is the one field worth pointing out to them, since it's the part of your machine the agent will be working against. Then they hit Create & Connect.

The lower half of the dialog, showing the working directory and the Create & Connect button

Step 9 β€” It becomes an ordinary connection in their account

From here it behaves like any other connection they own: it sits in their sidebar, they start sessions from it, and those sessions run Claude Code (or Codex) on your machine.

The shared connection now listed in the recipient's own sidebar

Sharing with multiple people (family, small team)

A few behaviors matter once more than one person is involved:

  • One link can be redeemed by any number of people. There's no cap β€” if you want to share the same machine with your whole family, send everyone the same link.
  • A connection only keeps one active share link at a time. If you click "Share Connection" again on the same connection, it generates a new link and immediately invalidates the old one β€” anyone still connected through the old link gets disconnected. So don't regenerate a fresh link per person; that revokes access for everyone using the previous one. Send the same link to everyone you want to include.
  • They can't redeem their own share β€” if you're logged into two accounts, redeeming a code you created yourself is blocked.
  • Everyone who redeems the link ends up with their own connection entry in their own account. They see only the sessions they themselves start through that connection β€” not your existing conversation history on that machine.

Usage, quota, and who pays

This is the part people usually get wrong, so to be precise:

  • The Claude Code / Codex usage itself is billed to the machine owner's account. The actual claude or codex process runs on your machine, signed into whatever plan you're on. Every message the recipient sends draws down your usage the same as if you'd typed it yourself.
  • Sharing doesn't cost you an extra "online device" slot. PandaNpc's online-connection limit (free = 3 machines online at once, VIP = 10, SVIP = 100) counts machines that register through pandapaw, not people who redeem a share and connect as viewers/operators. A recipient using your shared connection isn't a second machine from your quota's point of view.
  • There's no separate rate limit for shared connections beyond whatever your Claude/Codex plan itself enforces. If your subscription's usage window is exhausted, the recipient hits the same wall you would.

In short: sharing is generous with your money, not free of it β€” the person you share with is spending your subscription's usage, so only share with people you'd be fine footing the bill for.

Revoking access

Once a connection is shared, its context menu changes: "Share Connection" becomes "Manage share", and a red "Revoke share" appears right under it β€” you can cut access without opening the dialog at all.

The context menu of a shared connection, showing "Manage share" and a red "Revoke share"

The same action lives at the bottom of the share dialog and on the Shared Connections page from Step 6. Whichever one you use, revoking:

  • Immediately disconnects anyone currently connected through that share link.
  • Blocks the link/code from being redeemed again.
  • Does not touch your own connection at all β€” you keep working uninterrupted; only the shared-in copy is cut off.

Revoking is per-connection, not per-person: since a connection only ever has one active link, revoking cuts off everyone who redeemed that link, all at once. If you shared the same link with three people and only want to remove one of them, there's currently no way to revoke a single person's access without also disconnecting the others β€” you'd need to revoke and re-share with the remaining people.

Claude Code vs. Codex

Sharing works the same way for both engines β€” if the connection you're sharing runs Codex instead of Claude Code, the steps above are identical; the app carries the engine type along automatically so the recipient's client connects correctly.

FAQ

Does the person I share with need their own Claude or Codex subscription? No. They use yours, through the session running on your machine.

Can I let someone view without letting them act? Not with connection sharing β€” anything the session's tools can do, the recipient can do. If you want a view-only experience, use "Share session" for a specific conversation instead.

Will they see my other connections or account settings? No. A share exposes exactly one connection (its name, mode, and working directory) β€” nothing else about your PandaNpc account.

Will they see the conversations I already had on that connection? No. When they redeem the link, it's saved as a brand-new connection in their own account, with its own empty session list. They see what happens from the point they connect onward, not your prior history.

What happens when the share expires? Anyone who already redeemed it keeps their connection entry, but it stops working going forward β€” reconnecting is rejected the same as if you'd manually revoked it.

Can I limit which directory they can access? The connection is scoped to whatever working directory it was set up with when you shared it (shown in the preview before they confirm). Within that session, though, tool permissions β€” not a sandbox β€” are what determine what Claude/Codex can touch, same as when you use it yourself.

Is this safe to do with someone I don't fully trust? Only if you're comfortable with them running arbitrary commands on that machine within that session's permissions. There's no scoped/limited-permission share mode today β€” full control or no access are the only options. When in doubt, share the read-only session transcript instead of the connection.