MySetup CLI guide
Your skills, from the terminal
CLI 0.2.11. This is an early release; commands may change. Check mysetup --help for your installed version.
The MySetup command-line client keeps your skill library in sync on desktops, servers and dev containers. It works without a desktop app, and without an account for your local library.
Install
macOS
Install with Homebrew. Homebrew keeps MySetup up to date with your other tools.
brew install mysetupai/tap/mysetupLinux
Run the install script. It downloads the archive for your computer from mysetup.ai, checks its signature and SHA-256 checksum and installs into ~/.local/bin without sudo. You can read the script first at mysetup.ai/install.sh.
curl -fsSL https://mysetup.ai/install.sh | shOr download the archive from the download page, check it against the published checksum and copy mysetup into a folder on your PATH.
Make it yours
mysetup onboardGuided setup checks your account after sign-in and lets you choose which skills to bring onto this computer. You can then select local skills to sync privately. Approve your selection together, with file review available before approval. You can keep everything local, stop at any point and continue later.
After your chosen skills are ready, setup turns on background sync where supported and shows how to connect another computer. Existing pauses and app-managed hosts are respected. For a remote terminal, run mysetup onboard --device-code. Public and group sharing are separate reviewed actions; selecting a skill for private sync never publishes it.
Already use the Mac app? Setup uses the same engine and preserves your existing library. Run mysetup doctor if something needs attention. To disconnect this computer and start setup again, use mysetup reset. It archives eligible local connection records and keeps your skill files and account content; unfinished work must be reviewed first. Individual commands below remain available for scripts and advanced use.
Update
Update MySetup the way you installed it: brew upgrade mysetup, your package manager for the .deb package, or the install script again. MySetup never downloads an update itself. From CLI 0.2.7, your next command safely updates the background engine. If you deliberately selected a development version, MySetup asks before changing it. Use mysetup runtime ensure to review that choice; restarting the service alone keeps a deliberate selection.
Verify a download
Each CLI release has a SHA256SUMS.txt file listing the SHA-256 checksum of every download, signed with minisign in SHA256SUMS.txt.minisig.
The MySetup release signing public key:
RWRb7ed0PpQsLY2ls30JciQE8bmyfLp23edRJzDkZEfq8nlMwARPQnxVCheck the checksums file, then the download against it:
minisign -Vm SHA256SUMS.txt -P RWRb7ed0PpQsLY2ls30JciQE8bmyfLp23edRJzDkZEfq8nlMwARPQnxV
shasum -a 256 -c --ignore-missing SHA256SUMS.txtSign in
Signing in to mysetup.ai adds hosted Sync and groups. It never uploads your library or publishes anything on its own.
mysetup auth login- Opens your browser to sign in with GitHub, Google, X or Apple, then returns to the terminal.
mysetup auth login --device-code- For hosted sign-in from SSH sessions, servers and containers. Open the link on any device, check the code and approve. This does not select a private Hub.
mysetup auth status- Shows which account you use.
mysetup auth logout- Signs this computer out.
The CLI never asks for your account password, and you never need to copy a token.
On a server without a system keyring, select an encrypted local vault with mysetup auth vault passphrase, then create and unlock it with mysetup auth unlock before signing in. For automation, use mysetup auth unlock --passphrase-fd with a protected input descriptor. Unlock a passphrase vault again after each host restart.
Use your own Hub
On macOS or Linux, one of your computers can hold the private library and its history. Other computers connect over SSH, optionally through Tailscale. No mysetup.ai account is needed. Keep the Hub awake and reachable, and maintain your own backups.
On the computer that will hold your library
mysetup hub create --name "My Hub"- Create and start the Hub. Keep its displayed fingerprint for the pairing check.
mysetup hub status- Check the authority, fingerprint and whether the Hub is running.
Install the CLI on both computers. Set up key-based SSH and verify the SSH host key first. The remote login must find mysetup on its PATH. Tailscale can provide the hostname or IP address; it does not replace the pairing review.
On each connecting computer
mysetup auth login --hub user@mini --profile private-hub- Start a separate Hub profile. Compare the displayed Hub fingerprint with hub status on the authority before confirming.
mysetup status --profile private-hub- Check the selected Hub and any recovery or cleanup warnings.
mysetup sync once --profile private-hub- Sync this profile after reviewing enrollment or installation.
Replace user@mini with your SSH destination. Keep using --profile private-hub on this profile's commands, including sign-out and background service commands. Use a new profile when choosing an authority; existing hosted history is not moved automatically. Two profiles cannot run against the same library home at once. Stop the other profile's host or choose a separate library home with mysetup profile library-home <dir> --profile private-hubwhile that profile's host is stopped.
Hub sync is private-only. Hosted groups, website publication and mobile access do not use this library. Export and review selected content separately if you want to share it.
If the Hub is restored from a backup
A changed Hub identity or detected history rollback stops sync until you review it. In the Mac app, open the Hub restore review and check its identity and history before approving. A restored backup may also make previously revoked devices valid again: inspect the device list and revoke them.
For advanced CLI use, mysetup rpc hub.restore.inspect '' returns the review. Confirm through hub.restore.confirm with its single-use reviewToken, confirmedFingerprint and confirmedStateDigest, after checking those values. Include your profile option on both calls. Expired reviews require a fresh inspection; never blindly retry an uncertain confirmation. There is no hub restore shortcut.
mysetup hub remove stops the authority and preserves its state. Stop it before copying or restoring a backup. A skill export is not a backup of the Hub's identity, credentials or device access records.
Status
mysetup status- What is in sync, what is waiting, and anything that needs your review.
mysetup status --verbose- Show skill IDs, paths and detailed sync and recovery information.
mysetup library list- The skills on this computer, which agents see them and whether they sync. No account needed.
mysetup library show <name>- One skill: its folder, agents, files and how to start syncing it.
mysetup doctor- Checks your setup and explains anything that needs attention. Add --verbose for the details.
Use --json on commands that list it in --help for machine-readable output. Interactive sign-in and review commands may need your input.
Sync
Only the skills you choose sync. Machine configuration and vault credentials are not included. Review skill files for private content before approving. A conflict keeps both versions for you to review.
mysetup sync add- Choose account skills to add to this computer, review the destination and approve your selection.
mysetup sync enroll <folder> <skill>- Sign in first, then review what would sync for one skill, for example mysetup sync enroll ~/.agents/skills release-notes. Nothing uploads until you approve it.
mysetup apply <review>- Approves exactly what a review showed, using the code it printed.
mysetup sync once- Run one sync now, then stop.
mysetup sync status- Show what is syncing.
mysetup sync pause- Pause syncing until you resume, even after a restart.
mysetup sync resume- Carry on syncing.
mysetup sync stop <skill-id>- Stop syncing a skill, by the ID mysetup status --verbose shows. Its files stay on this computer.
mysetup sync conflicts- Compare conflicting versions, choose which to use or decide later. Newer local edits remain protected.
To install an existing private skill, use mysetup sync install <skill-id> --into <root> --name <folder>, review the proposed files and approve with mysetup apply <review>. Enrollment and edit reviews can show redacted sensitive-content warnings. Review the actual files too: a warning scan cannot guarantee that a bundle contains no secrets.
Background sync
Guided setup enables background sync after your selected skills are ready, when your vault and host support it. A passphrase vault needs unlocking after a restart. You can also enable the service yourself. It runs for your user account only and keeps your library current without a terminal open.
Hosted change notifications prompt the running host to check sooner. Scheduled polling and reconnect catch-up remain available. A connected notification channel does not mean every file has finished syncing; check mysetup status.
mysetup service enable- Turn on background sync.
mysetup service status- Check whether it is running.
mysetup service disable- Turn it off again.
History, conflicts and export
mysetup sync history <skill-id>- List the available revisions.
mysetup sync restore <skill-id> <revision-id>- Restore an earlier skill revision as the newest one. This is separate from approving a restored Hub.
mysetup sync resolve <skill-id> <conflict-id>- Keep the conflicting version as the newest revision after reviewing both versions.
mysetup sync discard <skill-id> <conflict-id>- Discard a conflict you have reviewed and do not want to keep.
mysetup sync export <new-directory>- Export available skills and retained history without changing the source library. Read the export's notes for unavailable content.
mysetup sync export <new-directory> --git- Write a local Git repository with revision history. You choose whether and where to push it.
Choose a new destination. Export refuses pending recovery that could change its source. Git export does not automatically push, pull remote edits or make Git the sync authority. Review old commits as well as current files before sharing a repository.
Devices and access
mysetup devices- List devices for the selected hosted account or Hub. Last contact is not an online or sync-progress indicator.
mysetup devices revoke <device-id>- Review and revoke that device's access. Its existing local files remain on that computer.
Use --profile private-hub for your Hub devices. After a failed pairing, status may report an unknown outcome or a device needing cleanup. Check the authority's device inventory before retrying or dismissing that warning.
Hosted groups
Join a group on mysetup.ai, then explicitly follow its skills. Following includes current and future group skills on your computers. Group editing is shared work; public publication remains a separate review. Groups are not available on private Hubs.
mysetup groups following- Show the groups you follow.
mysetup groups follow <group-id>- Follow a group's skills across your computers.
mysetup groups connect <group-id> both- Choose agent connections on this computer: both, claude, codex or none.
mysetup groups history <group-id> <skill-id>- Read the skill history available to your membership.
mysetup groups compare <group-id> <skill-id> <revision-id> local- Compare a revision with this computer's files before deciding what to keep.
mysetup groups restore <group-id> <skill-id> <revision-id> --affects-group- Restore a revision for the group, when your role permits it. This changes the shared skill for everyone.
mysetup groups unfollow <group-id>- Stop following across your computers. Existing files stay.
Uninstall
MySetup signs out this device and turns off background sync before you remove the program. Keep your setup for reinstall, or explicitly choose a fresh start. Your skill folders and cloud content stay where they are. These examples describe CLI 0.2.8 or later.
mysetup self uninstall- Choose Keep setup or Start fresh. Without a terminal, this previews the steps. Use --yes to uninstall while keeping setup.
mysetup self uninstall --fresh-start --yes- Back up and clear eligible local setup records. Pending work and pinned Hub profiles block this action. Trust settings, recovery copies and separate GitHub credentials stay.
brew uninstall mysetup- If you installed with Homebrew.
rm ~/.local/bin/mysetup- If you used the install script. Use your package manager for the .deb package.