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

@chime-io/plugin-claude

v1.2.1

Published

Claude Code plugin for Telegram notifications - mobile alerts for AI coding sessions

Readme

@chime-io/plugin-claude

🔔 Claude Code plugin for Chime IO — Mobile notifications for your AI coding assistant.

Get instant Telegram notifications when Claude Code finishes tasks, encounters errors, or needs your approval. Stay connected to your development workflow from anywhere.


Features

  • 🛑 Stop Notifications — Know when Claude finishes a session
  • Error Alerts — Get notified immediately on failures
  • Permission Requests — Never miss when Claude needs approval
  • 📊 Session Statistics — See token usage, duration, and cost
  • 🔗 Git Context — Branch, commit, and repository information
  • 🔧 Tool Filtering — Filter notifications by tool type (Bash, Edit, etc.)
  • 🔕 Silent Mode — Send without sound when you prefer quiet

Installation

Method 1: Copy to Plugins Directory

# 1. Build the plugin (from monorepo root)
pnpm rush:install
pnpm --filter @chime-io/plugin-claude build

# 2. Copy to Claude Code plugins
cp -r packages/claude ~/.claude/plugins/chime-io-notifier

# 3. Enable the plugin
claude config set enabledPlugins '["chime-io-notifier"]'

Method 2: Local Marketplace (Development)

# 1. Ensure running as non-root user
# 2. Add local marketplace
claude /plugin marketplace add /path/to/this/repo

# 3. Install from /plugin interface
# Look for "chime-io-notifier" from "telnotify-dev"

Verify Installation

# Check installed plugins
claude /plugin

# The plugin should appear in the list

Configuration

Environment Variables

| Variable | Required | Default | Description | |----------|----------|---------|-------------| | TELEGRAM_BOT_TOKEN | ✅ | - | Your bot token from @BotFather | | TELEGRAM_USER_ID | ✅ | - | Your user ID from @userinfobot | | TELEGRAM_PARSE_MODE | ❌ | HTML | Message format: HTML, Markdown, MarkdownV2 | | TELEGRAM_SILENT | ❌ | 0 | 1 for silent notifications | | CLAUDE_NOTIFY_DETAIL_LEVEL | ❌ | medium | Detail level: low, medium, high | | CLAUDE_NOTIFY_INCLUDE_STATS | ❌ | true | Include session statistics | | CLAUDE_NOTIFY_INCLUDE_GIT | ❌ | true | Include git context | | CLAUDE_NOTIFY_TOOL_FILTER | ❌ | - | Filter by tool (e.g., Bash\|Edit) |

Setup Example

# Add to ~/.bashrc, ~/.zshrc, or ~/.claude/settings.json env
export TELEGRAM_BOT_TOKEN="123456789:ABCdefGHIjklMNOpqrSTUvwxyz"
export TELEGRAM_USER_ID="123456789"
export CLAUDE_NOTIFY_DETAIL_LEVEL="medium"
export CLAUDE_NOTIFY_INCLUDE_STATS="true"
export CLAUDE_NOTIFY_INCLUDE_GIT="true"

Supported Hooks

This plugin registers the following Claude Code hooks:

| Hook | Event | Description | |------|-------|-------------| | Stop | ✅ Session complete | Notifies when Claude finishes successfully | | StopFailure | ❌ Session failed | Notifies on errors and failures | | PermissionRequest | ⚡ Needs approval | Alerts when user action required | | PostToolUseFailure | 🔧 Tool failed | Notifies when tool execution fails | | SubagentStart | 🤖 Subagent start | Registered, silent by default | | SubagentStop | ✅ Subagent done | Registered, silent by default |


Notification Examples

Session Complete

✅ Claude Session Complete

Duration: 5m 32s
Tokens: 2,450 input / 890 output
Git: main@a1b2c3d

Task completed successfully!

Error Alert

❌ Claude Session Error

Error: Tool execution failed
Tool: Bash
Duration: 2m 15s

Details: Command returned non-zero exit code

Permission Request

⚡ Permission Required

Claude needs approval to:
- Edit: src/config.ts

Waiting for your response...

Development

# Install dependencies
pnpm rush:install

# Build
pnpm --filter @chime-io/plugin-claude build

# Run tests
pnpm --filter @chime-io/plugin-claude test

# Type check
pnpm --filter @chime-io/plugin-claude typecheck

# Watch mode
pnpm --filter @chime-io/plugin-claude build:watch

Plugin Structure

packages/claude/
├── src/
│   ├── hooks/
│   │   ├── notify-stop.ts       # Stop event handler
│   │   ├── notify-error.ts      # Error event handler
│   │   ├── notify-permission.ts # Permission request handler
│   │   ├── notify-question.ts   # User question handler
│   │   └── notify-tool-failure.ts # Tool failure handler
│   ├── test/
│   │   └── *.test.ts           # Test files
│   └── index.ts                # Plugin entry
├── .claude-plugin/
│   └── manifest.json           # Plugin manifest
└── README.md

Troubleshooting

Plugin Not Appearing

  1. Ensure running claude CLI as non-root user
  2. Check ~/.claude/plugins/ for the plugin directory
  3. Verify claude config get enabledPlugins includes "chime-io-notifier"

Notifications Not Sending

  1. Verify TELEGRAM_BOT_TOKEN and TELEGRAM_USER_ID are set
  2. Ensure you've started the bot: https://t.me/your_bot_username
  3. Check Claude Code logs for errors

Build Issues

# Clean and rebuild
pnpm --filter @chime-io/plugin-claude clean
pnpm --filter @chime-io/plugin-claude build

Related Packages


Documentation

📖 Full Documentation


License

MIT — See LICENSE for details.