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

codevator

v0.13.0

Published

Elevator music for your AI coding agent

Readme

codevator

Elevator music for your AI coding agent. Background sounds that play while your agent works and stop when it needs your attention.

Quick Start

npx codevator

This installs hooks into your AI coding agent that automatically:

  • Play music when the agent starts working
  • Stop when it finishes or needs your input

Sound Modes

15 sounds across 3 categories:

Focus & Ambient

| Mode | Description | |------|-------------| | elevator | Classic smooth jazz elevator music (default) | | typewriter | Rhythmic mechanical keystrokes | | minimal | Deep warm hum with slow breathing | | lofi-relax | Relaxing lo-fi beat | | lofi-chill | Smooth and mellow lo-fi flow | | lofi-cozy | Cozy lo-fi night vibes |

Nature

| Mode | Description | |------|-------------| | ambient | Soft textures and gentle drones | | rain | Steady rainfall on a window | | forest | Birds and rustling leaves | | ocean | Waves rolling onto shore |

Music & Retro

| Mode | Description | |------|-------------| | retro | Mellow 8-bit synthesized arpeggios | | classical-piano | Gentle classical piano | | ambient-guitar | Soft ambient guitar melodies | | epic-strings | Soaring strings and orchestral warmth |

Integration

| Mode | Description | |------|-------------| | spotify | Controls your Spotify volume (macOS only) |

Switch modes:

npx codevator mode ambient

Pick a random sound from a category:

npx codevator --random --category nature

Spotify Mode

Instead of playing bundled sounds, spotify mode controls the volume of your running Spotify desktop app — fading your music up when Claude is working and back down when it's idle.

npx codevator mode spotify

Requirements: macOS only. Requires the Spotify desktop app (not the web player) to be running with music already playing. Codevator saves your current Spotify volume on activation and restores it on exit. The volume setting is ignored in this mode — it uses your own Spotify volume as the target.

Custom Sounds

Import your own audio files (mp3, wav, ogg, m4a):

npx codevator import ./my-sound.mp3 --name chill
npx codevator mode chill

Remove a custom sound:

npx codevator remove chill

Preview any mode for 5 seconds without switching:

npx codevator preview retro

List all available sounds (built-in + custom + registry):

npx codevator list

Sound Profiles

Save your favorite configurations as named presets:

npx codevator profile create deep-work --mode retro --volume 80
npx codevator profile create chill-vibes --mode ambient --volume 40

Switch instantly between presets:

npx codevator profile use deep-work

Manage profiles:

npx codevator profile list
npx codevator profile delete deep-work

Multi-Agent Support

Codevator works with 7 AI coding agents:

| Agent | Setup | |-------|-------| | Claude Code | npx codevator (default) | | OpenAI Codex CLI | npx codevator setup --agent codex | | Gemini CLI | npx codevator setup --agent gemini | | Copilot CLI | npx codevator setup --agent copilot | | Cursor | npx codevator setup --agent cursor | | Windsurf | npx codevator setup --agent windsurf | | OpenCode | npx codevator setup --agent opencode |

Each agent adapter configures the appropriate hooks for that agent's lifecycle events.

Agent Skill

Install the codevator skill so your AI agent can control music for you:

npx skills add educlopez/codevator

This installs the skill across all supported agents (Claude Code, Cursor, Windsurf, Gemini CLI, and 30+ more). Once installed, just ask your agent to "play some lo-fi" or "switch to nature sounds".

Commands

npx codevator                          Install hooks (Claude Code by default)
npx codevator setup --agent <name>     Install hooks for a specific agent
npx codevator mode <name>              Set sound mode
npx codevator add [name]               Download a sound
npx codevator --random                 Pick a random sound mode
npx codevator --random --category <c>  Random sound from a category (focus, nature, music)
npx codevator on / off                 Enable or disable sounds
npx codevator volume <n>               Set volume (0-100)
npx codevator status                   Show current settings and active agent
npx codevator doctor                   Diagnose hooks, audio, config, and sounds
npx codevator stats                    Show duration, streaks, and milestones
npx codevator list                     List all available sounds by category
npx codevator preview <mode>           Preview a sound for 5 seconds
npx codevator import <file> --name <n> Import a custom sound file
npx codevator remove <name>            Remove a custom sound
npx codevator profile create <name>    Create a sound profile
npx codevator profile use <name>       Apply a sound profile
npx codevator profile list             List all profiles
npx codevator profile delete <name>    Delete a profile
npx codevator install-menubar          Install macOS menu bar app
npx codevator uninstall-menubar        Remove menu bar app
npx codevator uninstall                Remove hooks from agent

Menu Bar App

On macOS, you can install a menu bar companion that shows the current sound mode and lets you control playback without the terminal:

npx codevator install-menubar

The app launches automatically when a coding session starts. To remove it:

npx codevator uninstall-menubar

Troubleshooting

Run the built-in diagnostics:

npx codevator doctor

This checks hooks installation, audio player availability, sound files, config validity, and daemon status.

How It Works

Codevator registers hooks in your AI agent's configuration:

  • PreToolUse — starts playback when the agent begins working
  • Stop — stops playback when the session ends
  • Notification — stops on permission prompts and idle states

Music plays through your system's native audio player (afplay on macOS, paplay/aplay on Linux).

Config is stored at ~/.codevator/config.json. Custom sounds go in ~/.codevator/sounds/.

Claude Code Skill

Setup also installs a Claude Code skill that lets the agent control music directly. Ask Claude to "change the music to retro" or "turn off the elevator music" and it will run the right command.

Uninstall

npx codevator uninstall

License

MIT