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

@martin0309205/prism

v0.2.26

Published

Thin connector around Claude Code: Slack/HTTP/CLI surfaces that spawn `claude -p` and ship back the files Claude creates.

Readme

Prism

Mnemos remembers. Prism delivers.

Prism is a thin connector around Claude Code. It listens for a request (Slack mention, HTTP call, or CLI invocation), spawns claude -p "<prompt>" in a working directory that has the right skills available, lets Claude do its job (query the brain, look up brand tokens, generate the artifact), then ships the output files back to the caller.

That's the whole product. No custom LLM client. No custom skill format. No custom brain client.

Architecture

surfaces                runner
┌────────────┐         ┌──────────────────────┐
│ Slack bot  │────┐    │                      │
├────────────┤    │    │  spawn 'claude -p'   │
│ POST /api/ │────┼───▶│  in temp workdir     │
│  generate  │    │    │                      │
├────────────┤    │    │  capture new files   │
│ CLI        │────┘    │  in cwd after exit   │
└────────────┘         └──────────────────────┘
                              │
                              ▼
                     Claude Code (the LLM)
                              │
                     ~/.claude/skills/:
                       ├─ ask-mnemos-astry
                       ├─ astry-design-system
                       ├─ astry-pdf
                       └─ ...

Install

npm install -g prism
prism onboard

prism onboard walks through:

  • Picking an instance name
  • Slack Socket Mode tokens (optional)
  • HTTP API key (optional)
  • Brain endpoint + key (read by ask-mnemos-astry skill)
  • Verifying claude is on PATH and authenticated

Usage

CLI

prism generate "fais un PDF récap du meeting Endemol" --out ./

HTTP

curl -X POST http://localhost:18790/api/generate \
  -H "Authorization: Bearer prism_live_..." \
  -H "Content-Type: application/json" \
  -d '{"brief": "fais un récap du meeting Endemol kickoff du 6 mai"}'

Slack

Mention @prism in any channel the bot has access to:

@prism fais-moi un PDF du meeting Endemol de ce matin

Web dashboard

Prism ships a Next.js dashboard at http://127.0.0.1:18791 (configurable via web.port in config.yaml). It exposes the job log (<instance>/jobs/jobs.jsonl), instance config, system update flow, and a generate UI.

prism web                    # opens the local URL (or prints SSH-tunnel cmd if remote)
prism web status             # bind/port/token/service state
prism web --restart          # systemctl --user restart prism-web@<inst>.service
prism web upgrade            # refresh dashboard files from the bundled package
prism web upgrade --restart  # ...and bounce the service
prism web expose --domain prism.astry.agency   # Caddy reverse-proxy (Linux only)
prism web unexpose                              # remove the Caddy snippet

prism token --show           # print PRISM_DASHBOARD_TOKEN
prism token --rotate         # mint a new 32-byte token (also restarts the service)

The dashboard server reads two env files at boot (loaded by prism-web@<inst>.service):

  • <inst>/.env — secrets, including PRISM_DASHBOARD_TOKEN
  • <inst>/dashboard/.env — runtime params (PORT, HOSTNAME, PRISM_INSTANCE_DIR, PRISM_INSTANCE)

There are no default credentials. The first user is created via /setup on the dashboard (or by a separate SSO mode — see the systemd unit for the ASTRY_USERS_PATH / ASTRY_SSO_* env vars to uncomment).

Deploy a new instance

ssh root@<vps>
prism update                        # install/refresh the package
prism onboard -i default            # wizard creates ~/.prism/instances/default/
prism daemon install -i default     # registers [email protected] AND [email protected]
systemctl --user start prism-web@default
prism web expose --domain prism.astry.agency

Required skills (operator install)

Prism does not ship skills. The operator installs them under the user that runs Prism:

ls ~/.claude/skills/
# ask-mnemos-astry/
# astry-design-system/
# astry-pdf/

prism doctor reports which expected skills are missing.

License

UNLICENSED — internal Astry tooling.