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

hiboss

v2026.2.6-rev.3

Published

Local-first daemon + CLI for routing durable envelopes between agents and chat channels (e.g., Telegram).

Downloads

1,045

Readme

Hi-Boss

Orchestrate Codex / Claude Code agents from Telegram — they don’t just work for you; they can collaborate with each other.

Highlights:

  • Run on top of real providers (Codex / Claude Code) for best-in-class execution quality
  • Durable “inbox/outbox” communication: agent↔human and agent↔agent (Telegram adapters ↔ local daemon ↔ agents)
  • Scheduled delivery and cron jobs (durable, auditable)

Providers: Claude Code + Codex

Hi-Boss runs agent turns through the Unified Agent SDK runtime with either provider:

  • Claude Code (--provider claude)
  • Codex (--provider codex)

When you run hiboss setup / hiboss agent register, Hi-Boss imports your provider auth/settings from ~/.claude/ or ~/.codex/.

You can also override the import source home:

  • Setup: via the interactive wizard, or hiboss setup --config-file <path>
  • Agents: hiboss agent register|set --provider-source-home <path>

Install

Via npm:

npm i -g hiboss

Upgrade:

hiboss daemon stop --token <boss-token>
npm i -g hiboss@latest

Tip: restart the daemon after upgrading:

hiboss daemon start --token <boss-token>

Dev/from source: see docs/index.md.

Setup

  1. Run the interactive setup wizard:
hiboss setup

Setup:

  • initializes local state (SQLite + per-agent homes)
  • prompts for your boss name and timezone
  • creates your first agent
  • configures a Telegram bot + boss Telegram username for that first agent
  • prints boss-token: and agent-token: once (save them somewhere safe)

State directory:

  • default: ~/hiboss/
  • internal daemon files: ~/hiboss/.daemon/ (db/socket/log/pid)
  • override the root with HIBOSS_DIR
  1. Start the daemon:
hiboss daemon start --token <boss-token>

Next: open Telegram and talk with your agent by messaging the bot (see the Telegram section below).

To stop the Hi-Boss service:

hiboss daemon stop --token <boss-token>

Tip: most commands accept --token <token> or read HIBOSS_TOKEN when --token is omitted.

Telegram

Hi-Boss connects an agent to Telegram via a bot.

  1. Create a Telegram bot token via @BotFather.

  2. Bind the bot to an agent (the first agent is bound during hiboss setup; use this for additional agents):

hiboss agent set --token <boss-token> --name <agent-name> --bind-adapter-type telegram --bind-adapter-token <telegram-bot-token>
  1. Talk to your agent by messaging the bot in Telegram.

Boss-only Telegram commands:

  • /status — show hiboss agent status for the bound agent
  • /new — request a session refresh for the bound agent

Agent

Manage agents via the CLI (create / update / remove), and optionally delegate admin to a trusted agent via permission-level.

Create/register a new agent:

hiboss agent register --token <boss-token> --name nex --provider codex --description "AI assistant" --workspace "$PWD"

Update an agent (manual configuration):

hiboss agent set --token <boss-token> --name nex --provider codex --auto-level medium --permission-level privileged

Remove an agent:

hiboss agent delete --token <boss-token> --name nex

List / status:

hiboss agent list --token <boss-token>
hiboss agent status --token <boss-token> --name nex

Permission levels

Hi-Boss separates:

  • Boss-marked messages (fromBoss / [boss] in prompts) — adapter identity (e.g., your Telegram username), and
  • Authorization (permission-level) — what a token is allowed to do via CLI/RPC.

Available levels: restricted, standard, privileged, boss.

Set permission level:

hiboss agent set --token <boss-token> --name <agent-name> --permission-level <level>

Boss-level agent (delegate admin)

If you want an agent to be able to do Hi-Boss admin operations just by chatting with it (register agents, remove agents, rebind adapters, etc.), grant it permission-level: boss:

hiboss agent set --token <boss-token> --name <agent-name> --permission-level boss

Then, as the boss/user, go to Telegram and ask that agent to perform admin tasks for you (e.g., “add an agent”, “remove an agent”, “update bindings”). If you prefer, you can always do the same operations manually with hiboss agent register|set|delete.

This is powerful: a boss-level agent token can perform any boss-privileged CLI operations. Only do this for an agent you fully trust.

Skills

Hi-Boss supports built-in, global, and provider-private skills that are synced on new sessions.

Built-in skills:

  • agent-browser: Browser automation helpers for capturing pages, form flows, authenticated sessions, and related browser workflows.

Add a global skill (shared across agents/providers):

mkdir -p ~/hiboss/skills/<skill-name>
# create ~/hiboss/skills/<skill-name>/SKILL.md (and optional assets/scripts)

Add a provider-private skill (for one agent + provider home):

# Codex provider home
mkdir -p ~/hiboss/agents/<agent-name>/codex_home/skills/<skill-name>
# Claude provider home
mkdir -p ~/hiboss/agents/<agent-name>/claude_home/skills/<skill-name>
# then create SKILL.md inside the skill folder

Skill precedence when names conflict:

  • provider-private > global > built-in

After adding or editing skills, refresh the session to apply updates (/new in Telegram, or hiboss agent refresh).

Memory

Each agent has a long-term memory file at:

  • ~/hiboss/agents/<agent-name>/internal_space/MEMORY.md (or {{HIBOSS_DIR}}/agents/<agent-name>/internal_space/MEMORY.md when overridden)

Docs

  • docs/index.md — docs hub (specs + user guides)
  • docs/guide/install.md — install + upgrade notes
  • docs/guide/telegram.md — Telegram setup and usage
  • docs/guide/overview.md — features overview (cron, deliver-at, etc.)
  • docs/guide/recipes.md — cron/scheduling recipes