Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

fairshare-cli

Latest version: v0.3.1

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
PyPI package Publisher: Dongli99
0 Stars
0 Forks
8 Versions
747 Downloads
Python Repo language

Scan summary

fairshare-cli was last scanned on 23 Nov 2026 at version 0.3.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 8 versions; the latest 5 were published within 6 days (18–23 Nov 2026).
  • Findings: No rules fired in version 0.3.1.
  • Downloads: 747 downloads.

Versions

8 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.3.1 LATEST 23 Nov 2026 No rules fired
0.3.0 21 Nov 2026 No rules fired
0.2.1 20 Nov 2026 No rules fired
0.2.0 19 Nov 2026 Not shown
0.1.4 18 Nov 2026 Not shown

No rules fired in 0.3.1

Findings

Findings for v0.3.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.3.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

fairshare

Use multiple AI subscriptions like one.

Per-session, token-free, agent-aware.

fairshare runs Claude Code as one assistant across the subscriptions you already have: every account shares the same history, memory, settings and skills.

  • Per-session. Each session starts on the account whose budget is best used right now, judged by its real usage, its plan's size and the time to its weekly reset. Sessions running side by side spread across accounts, and moving one never moves the others.
  • Token-free. fairshare never reads, stores or swaps a login. Each account signs in through Claude Code itself, and usage comes from Claude Code's own /usage command and status line, so reading it spends nothing.
  • Agent-aware. Near a limit, fairshare tells the agent in the session. The agent hands off to a fresh session on another account with a note, or moves the session with its whole context, and decides what its background workers do.

The aim is to use every account fully before its weekly reset. It is a heuristic, not a guarantee.

A 30-second demo with three made-up accounts: fairshare status ranks them by real usage; fairshare starts a session on the best one; when that account reaches 95% of its 5-hour window, fairshare tells the agent, which writes a checkpoint and runs fairshare pickup, and the same session continues on another account

Status: early (0.x). Claude Code on Pro, Max and Ultra plans is the first supported provider. Runs on macOS and Linux; Windows is not supported.

Terms. Whether spreading work across several subscriptions fits a provider's terms is for you to check. docs/terms-and-limits.md says what fairshare deliberately never does and what is left for you to decide.

Quick start

pipx install fairshare-cli      # the command is `fairshare`
fairshare setup
fairshare

From source: git clone https://github.com/Dongli99/fairshare && pipx install ./fairshare. Installing needs network access once, to fetch the build tool; fairshare itself has no dependencies.

What setup does

fairshare setup builds the hub: one folder (default ~/.local/share/fairshare/hub) that holds a Claude Code config folder per account, all linked to one shared set of history, transcripts, memory, settings, CLAUDE.md and skills. Before you run it, know that:

  • it lists the Claude Code folders it finds, asks which to join and, for each, a name (Enter keeps the folder's own);
  • each account you join gets a new folder in the hub and one browser sign-in there, through Claude Code's own sign-in (fairshare never sees a token);
  • it copies your history, settings and skills into the hub. Your own folders are not changed: fairshare never writes them, and to label them it runs Claude Code's own sign-in check there;
  • the first folder joined decides the shared settings, CLAUDE.md and keybindings. Later folders' differences are shown, not applied. all joins signed-in folders first, your default ~/.claude first among them; type numbers to choose the order yourself;
  • it asks once whether to turn on Remote Control for every session (Enter: yes), unless your settings already say;
  • when an alias of yours still starts Claude Code on a folder you joined, it offers one block at the end of that shell file that overrides it (alias work='fairshare run -a work'), shown as a diff and asked first; your own lines stay, and fairshare aliases --remove undoes it. Plain claude still uses ~/.claude, outside the hub. Start sessions with fairshare.

Everyday use

  • fairshare starts a session on the best account. fairshare run <args> passes the arguments to Claude Code unchanged; fairshare run -a ID starts that account instead.
  • fairshare status lists the accounts, best first, with their usage and live sessions; --json prints the same as one JSON object for scripts.
  • Near a limit (90% and 95% of a window), fairshare tells the agent in the session, naming the best account now. A skill fairshare installs in the hub teaches it to run fairshare handoff with a note at its next stopping point, unless little work is left: a fresh session continues on that account before the limit, reading the note first. (warning_move = "pickup" moves the same session instead, with its whole context.) It is the agent's call, so it usually happens, not always.
  • When an account hits its limit mid-session, fairshare checks it really is out, then leaves the session for Claude Code to resume by itself at the reset, with its whole context. A line and the status bar say which limit, when it resets, and the best account that can take work; ! fairshare pickup moves the session there now. resume_wait_minutes makes that move automatic. A session is never resumed on an account that is out.
  • Inside a session, ! fairshare pickup moves it now, ! fairshare handoff starts a fresh session from a written note, and ! fairshare starts a fresh session with nothing carried over (a switch).
  • From a terminal, fairshare pickup lists your recent sessions and continues the one you pick, the same session under its own id; fairshare fork continues a copy instead, and the original goes on.
  • A worker is a background session the main session starts for big work; near a limit, the main session decides what its workers do.
  • fairshare full-reset ID plans a full reset claude.ai granted that account for this week: it ranks with twice its week's room until the reset is used, and the status bar says when to use it. fairshare cannot see which resets you hold, so you plan them.
  • fairshare doctor checks the setup; fairshare doctor --fix repairs what it can. fairshare -v prints the installed version.

Every command, message and setting is in docs/usage.md.

How it decides

For each account:

score = capacity × (100 − weekly used %) ÷ hours until the weekly reset

The score is the share of the week's budget it must burn per hour to use it all; the highest score wins. That sends work to the account whose reset is nearest and whose budget is least used. Capacity is the plan's size (Pro = 1).

  • If the short (5-hour) window is nearly full, the score is scaled by what is left of that window, and new sessions go to an account that can work now. One resetting within the hour is still used when no other account can.
  • Between accounts within 10% of each other, a new session goes to the one with fewer sessions running.
  • An account whose week or short window is spent ranks below every usable account, however soon it resets: it cannot take work until then.
  • A planned full reset (fairshare full-reset) counts as 100% more weekly room until fairshare sees it used or the week resets.

Usage comes from Claude Code's own local /usage command, asked for every account at each launch (no model call, nothing spent), and from its status line during a session. The rule is one pure function in src/fairshare/policy.py.

Removal

fairshare uninstall        # changes nothing; says where everything is
pipx uninstall fairshare-cli

uninstall lists the config, the state folder (usage snapshots, session records, checkpoint notes) and the hub, and gives you a prompt for your own agent to merge the hub's history back into your own folders. They all stay until you delete them. The hub's accounts stay signed in; fairshare leave --logout ID signs one out before you delete the hub.

Requirements

  • macOS or Linux, Python 3.11+.
  • Claude Code, signed in with a Pro, Max or Ultra subscription on each account.

More

Prior art

ccm shares state between Claude Code accounts in a similar way. fairshare borrowed several of its ideas, reimplemented in its own code: ignoring stale statusLine redraws, reading claude auth status, warning about login-override variables, and merging a stray folder into the shared one with the clashing file renamed.

Contributing

See CONTRIBUTING.md. New providers and plans are welcome; the policy never changes for them.

License

MIT

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases fairshare-cli

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229