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

cc-sidebar

v0.1.20

Published

Visual sidebar for managing todos, tasks, and context alongside Claude Code

Readme

cc-sidebar

A visual sidebar for managing tasks alongside Claude Code. Run it in a split pane next to your Claude Code session to queue tasks, track progress, and stay organized.

+-------------------------------+------------------+
|                               |   cc-sidebar     |
|        Claude Code            |------------------|
|                               | Claude           |
|                               |   Fixing bug...  |
|                               |                  |
|                               | Queue            |
|                               |   Add tests      |
|                               |   Update docs    |
+-------------------------------+------------------+

Features

  • Task Queue: Add tasks for Claude to work through
  • Auto-completion detection: Sidebar detects when Claude finishes a task
  • Keyboard-driven: Full keyboard navigation
  • iTerm2 + tmux support: Works with both (iTerm2 preferred)
  • Persistent: Data survives restarts

Installation

Tell Claude Code to install it:

Install cc-sidebar from https://github.com/thats2easyyy/claude-side-bar

Claude will install the package, configure hooks, and set up skills automatically.

Manual Installation

If you prefer to install manually:

bun add -g cc-sidebar

Then see Claude Code Setup below for hooks and skills.

Updating

Tell Claude Code:

Update cc-sidebar to the latest version

Or manually: bun update -g cc-sidebar

Shell Alias (Recommended)

Add to your ~/.zshrc or ~/.bashrc:

alias sidebar='cc-sidebar show'

Then just type sidebar from any project directory.

Quick Start

Option 1: iTerm2 (Recommended)

  1. Open iTerm2
  2. Start Claude Code: claude
  3. Run: cc-sidebar spawn

A split pane opens on the right with the sidebar.

Option 2: tmux

  1. Start tmux: tmux
  2. Start Claude Code: claude
  3. Run: cc-sidebar spawn --tmux

Usage

Keyboard Shortcuts

| Key | Action | |-----|--------| | a | Add new task | | Enter | Send task to Claude | | e | Edit selected task | | d | Delete selected task | | j/k or arrows | Navigate list | | Tab | Switch sections | | q or Esc | Quit sidebar |

How It Works

  1. Add tasks to the Queue using a
  2. Send a task to Claude by pressing Enter
  3. Task moves to Active while Claude works
  4. Auto-completes when Claude returns to prompt

Data Storage

Data is stored in ~/.claude-sidebar/:

| File | Purpose | |------|---------| | tasks.json | Task queue | | active.json | Current active task | | history.log | Completed tasks |

Claude Code Setup

Three optional integrations to make Claude aware of the sidebar:

1. TodoWrite Sync Hook (Recommended)

This hook syncs Claude's TodoWrite output to the sidebar, so you can see Claude's progress in real-time.

Add to your ~/.claude/settings.json:

{
  "hooks": {
    "PostToolUse": [
      {
        "matcher": "TodoWrite",
        "hooks": [
          {
            "type": "command",
            "command": "bun ~/.bun/install/global/node_modules/cc-sidebar/src/sync-todos.ts"
          }
        ]
      }
    ]
  }
}

If you already have other hooks, merge the PostToolUse array with your existing hooks.

2. Auto-completion (Optional)

Add this to your ~/.claude/CLAUDE.md so Claude automatically marks sidebar tasks as done when it finishes work:

## Sidebar Integration

When completing work, check if this project uses the sidebar task queue.

**Detection:**
- Compute project hash: `sha256(cwd).slice(0, 12)`
- Check if `~/.claude-sidebar/projects/<hash>/tasks.json` exists
- If not, skip this section

**On task completion:**
1. Read the tasks.json file for this project
2. Find any task that semantically matches what you just completed
3. Move the matching task to done.json (Review section) for user confirmation:
   - Remove from tasks.json array
   - Add to done.json array with `completedAt` timestamp
4. Write both files back

Keep it simple - if no clear match, don't move anything. User can manually mark tasks done.

**done.json format:**
```json
[{"id": "...", "content": "task content", "completedAt": "ISO timestamp"}]

### 3. Install Skills

cc-sidebar includes skills that integrate with Claude Code:

| Skill | Trigger | What it does |
|-------|---------|--------------|
| `/clarify` | `/clarify` | Interview to clarify tasks, creates plan + todos (works for new or existing tasks) |
| `/prioritize` | `/prioritize` | Re-prioritize all sidebar tasks as a staff engineer |
| `sidebar-awareness` | (always on) | Gives Claude context about sidebar data files |

Install all skills:

```bash
mkdir -p ~/.claude/skills
cp -r ~/.bun/install/global/node_modules/cc-sidebar/skills/* ~/.claude/skills/

Or install individually:

cp -r ~/.bun/install/global/node_modules/cc-sidebar/skills/clarify ~/.claude/skills/
cp -r ~/.bun/install/global/node_modules/cc-sidebar/skills/prioritize ~/.claude/skills/

Commands

cc-sidebar show             # Render in current terminal
cc-sidebar show --dir /path # Show tasks for a specific project
cc-sidebar spawn            # Launch in split pane (auto-detects iTerm2 vs tmux)
cc-sidebar spawn --tmux     # Force tmux mode
cc-sidebar env              # Show environment info

Working with Multiple Projects

The sidebar stores tasks per-project based on the working directory. Use --dir to show tasks for any project without changing directories:

# Show sidebar for a specific project
cc-sidebar show --dir ~/projects/my-app

# Create an alias for a frequent project
alias sidebar-app="cc-sidebar show --dir ~/projects/my-app"

Requirements

  • Bun >= 1.0.0
  • iTerm2 or tmux
  • macOS (iTerm2 support) or Linux (tmux)

License

MIT