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

session-bridge-skill

v0.2.0

Published

Portable CLI and skill bundle for browsing saved Codex and Claude sessions and importing snapshot context without live resume.

Readme

Session Bridge

npm version GitHub Repository

session-bridge is a portable CLI and skill bundle for:

  • browsing saved Codex and Claude sessions
  • previewing a chosen session
  • importing a snapshot packet from a past session
  • forking the current live Codex or Claude session into a new terminal target

It does not restore hidden reasoning, background tasks, or live tool state. Snapshot import is not live resume, and live fork only branches the provider's visible session history.

Install

Install from this repo:

bash install.sh

Or with npm:

npx session-bridge-skill install

This installs:

  • Codex skill: ~/.agents/skills/session-bridge
  • Claude skill: ~/.claude/skills/session-bridge
  • Claude slash command: ~/.claude/commands/session-bridge.md

On first install, the CLI asks which terminal target should be used for fork-current and saves it here:

~/.session-bridge/config.json

You can skip the prompt and set it directly:

session-bridge install --terminal cmux --no-prompt

Supported terminal targets:

  • cmux
  • ghostty
  • iterm
  • terminal
  • command for printing the command only

Main Commands

1. List saved sessions

All recent sessions:

session-bridge list --source all --limit 20

Only Codex:

session-bridge list --source codex --limit 20

Only Claude:

session-bridge list --source claude --limit 20

Filter by keyword:

session-bridge list --source all --query handybus --limit 20

JSON output:

session-bridge list --source all --limit 20 --json

2. Preview a saved session

By list index:

session-bridge preview 3 --source all --messages 8

By session id prefix:

session-bridge preview 019d23c7 --source codex --messages 8

3. Build a snapshot packet from a saved session

session-bridge pack 3 --source all --messages 12

This writes a markdown packet under:

.omx/artifacts/session-bridge-<source>-<session>.md

Use this when you want to continue from an old session without attaching to its live runtime.

Fork The Current Live Session

fork-current supports both Codex and Claude.

Provider detection order:

  1. explicit --provider
  2. CODEX_THREAD_ID
  3. CLAUDE_SESSION_ID

Default usage:

session-bridge fork-current

With a first prompt:

session-bridge fork-current "continue from here, but focus only on release notes"

Force Codex:

session-bridge fork-current --provider codex

Force Claude:

session-bridge fork-current --provider claude

Print the exact command without launching:

session-bridge fork-current --terminal command

Codex behavior

Codex uses:

codex fork ...

This creates a branched Codex session with a new session ID.

Claude behavior

Claude uses:

claude --resume <session-id> --fork-session

This creates a branched Claude session from the current Claude conversation when CLAUDE_SESSION_ID is available.

Terminal Behavior

cmux

cmux opens a real new cmux window, creates a new workspace there, and selects that workspace so the forked session is actually visible.

Ghostty, iTerm, Terminal.app

These targets open a new app window and run the generated fork command inside it.

command

This target does not open anything. It prints the exact command you can run manually.

Typical Workflows

Continue from an old session snapshot

session-bridge list --source all --limit 10
session-bridge preview 2 --source all --messages 8
session-bridge pack 2 --source all --messages 12

Branch the current live Codex session into cmux

session-bridge fork-current --provider codex --terminal cmux

Branch the current live Claude session into the configured target

session-bridge fork-current --provider claude

CLI Help

session-bridge --help
session-bridge doctor

doctor shows:

  • configured terminal target
  • detected current provider
  • detected current Codex thread
  • detected current Claude session

Version Sync

The skill version is defined in:

skill/SKILL.md

Useful commands:

npm run version:check
npm run version:sync
npm test

npm pack and npm publish also run the sync step automatically through prepack.