npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

ai-nomad

v0.2.1

Published

Your AI session, anywhere. Continue Claude Code, Codex and Cursor sessions on any machine and in any of the three tools, end-to-end encrypted in your own private GitHub repo.

Readme

ai-nomad

Your AI session, anywhere. · ai-nomad.magnificalabs.dev

Share AI coding sessions between any machine and any AI tool (Claude Code, Codex, Cursor), with no server. Sessions are encrypted on your machine and stored in a private GitHub repo you own.

ai-nomad demo: push from the laptop, continue a Codex session in Claude Code on the desktop

 laptop                         GitHub (private repo)                desktop
┌──────────────┐  encrypt+push  ┌──────────────────────┐  pull+decrypt ┌──────────────┐
│ Claude Code  │ ─────────────▶ │ meta/<hmac>.enc      │ ────────────▶ │ claude --resume
│ Codex        │                │ sessions/<hmac>.enc  │               │ codex resume │
│ Cursor       │ ◀───────────── │ keycheck.enc         │ ◀──────────── │ handoff → any AI
└──────────────┘                └──────────────────────┘               └──────────────┘
        ▲  MCP server (list / search / get_session) works inside all three tools  ▲

Install

Requires Node ≥ 22.5 and git. The GitHub CLI (gh) is optional but makes setup easier.

1. Create or join your vault (once per machine)

First machine. This creates a private GitHub repo and a new key:

npx ai-nomad init yourname/ai-sessions --create

Save the printed nomad1-… key in your password manager.

Every other machine:

npx ai-nomad join yourname/ai-sessions        # paste the key when prompted

2. Add the plugin to your tools

Each plugin bundles the same three things: the ai-nomad MCP server, commands for listing and continuing sessions, and hooks that pull when a session starts and push when it stops.

| Tool | Install | Then use | |---|---|---| | Claude Code | npx ai-nomad install claude | /ai-nomad:sessions, /ai-nomad:continue <id>, /ai-nomad:sync | | Codex | npx ai-nomad install codexthen /plugins → ai-nomad → Install | $ai-nomad-sessions, $ai-nomad-continue <id>, $ai-nomad-sync (or just ask) | | Cursor | npx ai-nomad install cursorthen Developer: Reload Window | /ai-nomad-sessions, /ai-nomad-continue <id>, /ai-nomad-sync |

Or run npx ai-nomad install all to do all three. For tool versions without plugin support, npx ai-nomad install codex --manual / cursor --manual writes the MCP server and hook straight into the tool's config instead.

Use

Run these with npx ai-nomad …, or install it once with npm i -g ai-nomad.

ai-nomad push                 # encrypt + upload new/changed sessions (incremental)
ai-nomad pull                 # fetch what other machines pushed
ai-nomad list                 # all sessions from all machines, newest first
ai-nomad search "stripe webhook"
ai-nomad show <id>            # transcript as markdown

ai-nomad open <id>                    # same tool: native resume (claude --resume / codex resume)
ai-nomad open <id> --in claude        # other tool: writes .ai-nomad/handoff-<id>.md + prints the command
ai-nomad open <id> --in codex --exec  # ...and launches it

From inside any AI that has the MCP server: "list my sessions from the canmatch project and continue the one about the web build". The AI calls list_sessions, then get_session, and carries on.

How the "any AI" part works

| From → To | How | |---|---| | Claude → Claude, Codex → Codex | Native. The original JSONL is restored into ~/.claude/projects/… or ~/.codex/sessions/…, with the working directory remapped to this machine, and resumed with the tool's own resume command. | | Anything → anything else | Handoff. A markdown transcript gets the opening request plus as much recent history as fits a budget, with tool calls condensed. Use it through the MCP get_session tool or a .ai-nomad/handoff-*.md file. | | → Cursor | Always a handoff. Cursor's chat history lives in an internal SQLite DB that isn't safe to write from outside. |

Security model

  • End-to-end encryption. Every file is AES-256-GCM, with keys derived via HKDF from one random 256-bit key. The key is generated locally and is never pushed anywhere. GitHub (or anyone who gets the repo) sees only ciphertext.
  • Nothing readable in the repo. File names are keyed HMACs of (tool, sessionId), so they don't reveal tools, projects or titles. Commits are authored as ai-nomad <ai-nomad@localhost> with messages like sync 3 sessions from 1a2b3c4d.
  • Tamper-evident. Each blob's repo path is bound in as GCM associated data, so blobs can't be swapped or renamed undetected. A keycheck.enc file rejects a wrong key up front.
  • Secret scrubbing. Before encryption, common credentials are redacted from transcripts: API keys, GitHub/GitLab/Slack/Stripe/npm tokens, AWS key IDs, JWTs, private keys, and user:pass@ in URLs. This is defense in depth in case a handoff goes to another provider or the key leaks. Turn it off with "redact": false in ~/.config/ai-nomad/config.json.
  • Visibility check. ai-nomad init/join refuse a public repo unless you pass --allow-public.
  • Local files. The key is stored in ~/.config/ai-nomad/key (mode 600). You can supply it via AI_NOMAD_KEY instead.

What's not hidden: the number of sessions, their approximate sizes, and when you sync.

Things to know

  • Repo growth. Each update to a session stores a new gzipped blob. Run ai-nomad compact occasionally to squash history to one commit; other machines handle that automatically on their next pull.
  • Hook pushes are debounced. At most one push per session every 10 minutes, plus a final push on Claude's SessionEnd. Pushes run in the background so they never slow the tool down.
  • Conflicts. A session continued on machine B is never overwritten by an older copy from machine A. The newest updatedAt wins.
  • Size limit. Sessions whose encrypted blob exceeds ~45 MB keep the normalized transcript (handoff still works) but drop the raw file (no native resume).
  • Codex native resume writes the rollout file and session_index.jsonl entry. Very new Codex builds that index threads only in their SQLite state may not list it in the picker. codex resume <id> and handoff still work.

Support

Questions or problems: [email protected]