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

@kud/claude-sessions-cli

v1.0.3

Published

TUI session manager for Claude Code

Readme

claude-sessions

TL;DR: Run claude-sessions, pick a session, press enter. Claude Code opens right where you left off.


Table of Contents

Why

Claude Code stores sessions per directory but gives you no way to navigate them. This tool:

  • Lists all your sessions (chat + code) sorted by last activity
  • Lets you jump straight back into any session with enter
  • Separates chat sessions (~/.chats/) from code sessions (project dirs)
  • Keeps your session data clean with an interactive cleanup mode

Features

| Category | Highlights | | ---------- | ------------------------------------------------------------------- | | Navigation | Sorted by last activity, grouped by type (chat / code) | | Search | Fuzzy filter by name or path with / | | Filter | Toggle between all / chat / code views with tab | | New chat | Create a named chat session and open it immediately | | Delete | Remove a session's history and directory with confirmation | | Clean mode | Interactive cleanup of ghost entries, stale pointers, orphaned dirs |

Install

npm install -g @kud/claude-sessions-cli

Usage

claude-sessions         # open the TUI
claude-sessions clean   # clean up stale session data

TUI

/ search…

  + New chat

── chat ────────────────────────
▶ 󰭹  Hey         ~/.chats/hey           just now
  󰭹  Planning    ~/.chats/planning      2h

── code ────────────────────────
  󰏗  my-project  ~/Projects/my-project  yesterday
  󰏗  api         ~/Projects/api         3d

↑↓ nav  enter open  d remove  / search  tab filter  C clean  q quit   [all] chat code

Key Bindings

| Key | Action | | ----------- | ---------------------------------- | | | Navigate | | enter | Open session in Claude Code | | d | Remove session (with confirmation) | | / | Search by name or path | | tab | Cycle filter: all → chat → code | | C | Open clean mode | | q / esc | Quit |

Clean Mode

Scans ~/.claude.json and ~/.claude/projects/ for stale data. Issues are grouped by type — select which categories to clean before confirming. Nothing is deleted without confirmation.

| Type | Meaning | Action | | ---------------- | ------------------------------------------------------------------------ | ---------------------------- | | ghost | Entry in ~/.claude.json but the project directory no longer exists | Remove from ~/.claude.json | | no history | Entry in ~/.claude.json with no conversation history | Remove from ~/.claude.json | | orphaned history | History in ~/.claude/projects/ with no matching ~/.claude.json entry | Trash the history folder |

Available as both a TUI mode (C key) and a standalone subcommand (claude-sessions clean).

Requirements

  • Node.js ≥ 24
  • Claude Code installed (claude in PATH)
  • trash for safe deletes (npm install -g trash-cli)