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

@rusintez/slack

v0.2.2

Published

Agent-friendly Slack CLI and library with local sync and triggers

Readme

@rusintez/slack

Agent-friendly Slack CLI with local sync. Markdown I/O by default.

Install

npm install -g @rusintez/slack

Or run directly with npx:

npx @rusintez/slack --help

Setup

Add your Slack workspace token (get from Slack App Settings > OAuth & Permissions):

slack config add work xoxb-your-bot-token
slack config default work

Required OAuth scopes:

  • channels:read, channels:history — read public channels
  • channels:join — join channels
  • groups:read, groups:history — read private channels
  • users:read, users:read.email — read user info
  • chat:write — send/edit/delete messages
  • reactions:write — add/remove reactions
  • search:read — search messages

Or use env var for one-off commands:

SLACK_TOKEN=xoxb-xxx slack me

Usage

Config Management

slack config list              # List all workspaces
slack config add <name> <key>  # Add/update workspace
slack config remove <name>     # Remove workspace
slack config default <name>    # Set default workspace

Reading

slack me                       # Current user
slack team                     # Workspace info
slack channels                 # List channels
slack channel #general         # Channel details
slack users                    # List users
slack user @john               # User details
slack messages #general        # Get messages
slack thread #general 1234.56  # Thread replies
slack search "deploy"          # Search messages
slack inbox                    # DMs, mentions, activity

Writing

slack send #general "Hello!"                    # Send message
slack reply #general 1234.5678 "Thanks!"        # Reply to thread
slack react #general 1234.5678 thumbsup         # Add reaction
slack unreact #general 1234.5678 thumbsup       # Remove reaction
slack edit #general 1234.5678 "Updated text"    # Edit message
slack delete #general 1234.5678                 # Delete message

Sync (Local Cache)

Data syncs to ~/.local/share/slack/{workspace}/ as flat JSON files (one file per entity).

slack sync                     # Sync channels, users
slack sync --full              # Full sync (remove deleted items)
slack sync --channels          # Sync only channels
slack status                   # Show sync stats

Output Formats

slack channels                 # Markdown table (default)
slack channels -f json         # JSON
slack channels -f minimal      # Tab-separated, one per line

Multi-workspace

slack -w work messages #general
slack -w personal channels

Human-Friendly Inputs

The CLI accepts readable names instead of IDs:

  • Channels: #general, general, or C1234567890
  • Users: @john, john, [email protected], or U1234567890
  • Special: me resolves to the current user

Config Location

~/.config/slack-cli/config.json

License

MIT