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

slack-axi

v1.0.5

Published

AXI-compliant Slack CLI — read, search, and draft Slack with token-efficient TOON output

Readme

slack-axi

An AXI (Agent eXperience Interface) CLI for Slack — built for agents to drive over the shell. Read, search, sweep, and safely draft Slack with token-efficient TOON output. It replaces the flaky Slack MCP with a stored long-lived user token (no logouts, works headless), human date ranges (no epoch math), threads inlined, and ready-to-cite permalinks.

Why

The Slack MCP it replaces failed in recurring ways; slack-axi fixes each at the root:

| Pain | Fix | | --- | --- | | Constant logouts / breaks headless | long-lived xoxp user token, resolvable from env — no session, no daemon | | Can't find private channels / group DMs | channels lists all conversation types you belong to by default | | Wrong-year timestamps | human dates in; the resolved range is echoed back with explicit year + tz | | Oldest-first / dropped messages | reads paginate to completion with a complete: marker; windows tile losslessly | | Threads are a second call | thread replies are inlined under their parent | | Hand-built permalinks | a compact ts handle per row + a stateless cite command | | name ↔ id friction | #name, bare name, or id accepted everywhere |

See specs/ for the full specification and specs/motivation.md for the evidence behind each fix.

Install

npm install -g slack-axi        # or: bun add -g slack-axi
slack-axi auth setup            # guided: create a Slack app from a manifest, then paste the token

auth setup generates an app manifest with all required user-token scopes pre-filled (and token rotation disabled), walks you through creating + installing the app, then auth login --token xoxp-…. Run slack-axi doctor to verify auth and scope coverage.

Commands

slack-axi                       # home: active workspace + channel count
slack-axi channels [--match q] [--type ...] [--all]   # discover (all conversation types)
slack-axi dms                   # DMs + group DMs
slack-axi members <channel>     # channel members
slack-axi read <channel> [--since 7d | --from <d> --to <d>] [--threads ...]  # the primary verb
slack-axi thread <channel> <ts> # one thread, fully
slack-axi reactions <channel> <ts>  # full reactor roster (read/thread show inline counts)
slack-axi search "<query>" [--in #c] [--from @u] [--with @u] [--after <d>]   # find a thing
slack-axi catchup [--since 1d] [--match q] [--in ...]   # scoped multi-channel sweep
slack-axi catchup --every 1w …  # plan a month+ catch-up as weekly batches
slack-axi cite <channel> <ts…>  # permalinks + the { channel, ts, permalink } citation shape
slack-axi react <channel> <ts> :emoji:                  # reactions:write
slack-axi draft <channel> "<text>" [--reply <ts>]       # prepare a message (does NOT send)
slack-axi draft send <id>       # the explicit, separate step that posts
slack-axi setup hooks           # install the SessionStart ambient-context hook

Every command supports --help. Channel args accept #name / name / id. Output is TOON with contextual help[] next steps; errors are structured with actionable suggestions.

Capabilities

Read + safe-draft: full read/search/sweep, plus reactions and message drafts you approve. Nothing posts without an explicit draft send.

Development

bun install
bun run build        # tsc → dist/
bun test             # vitest (time/window math is unit-tested)

The project is spec-driven — specs in specs/ are the source of truth; work is tracked as plans in plans/. Requires Node ≥ 20 (built/run with bun; published to run under node).

License

MIT © Jarvus Innovations