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

@brainbase-labs/cli

v0.6.1

Published

Pack, share, and install agent templates across harnesses (Claude Code, Codex, ...).

Downloads

2,016

Readme

brainbase

Pack, share, and install agent templates across harnesses (Claude Code, Codex, Kafka).

Install

npm install -g @brainbase-labs/cli

The package installs a brainbase command on your PATH. Requires Node.js 18+.

Quick start

brainbase login                 # connect this device to brainbase
brainbase template pack         # bundle the current agent into a template
brainbase template publish      # upload to the registry
brainbase template search       # find templates published by your team
brainbase template onboard <creator/slug>   # install or refresh a template

Run brainbase help to see every command.

Feature support by harness

Each component type is stored in the place that harness already reads from at runtime — the CLI doesn't impose its own layout. "Native" cells describe where the install lands; "—" means the harness does not support that component type.

| Component | Claude Code | Codex | Kafka | |---|---|---|---| | Skill | .claude/skills/<slug>/ (folder per skill, w/ provenance marker) | ~/.codex/skills/<slug>/ (global) or .agents/skills/<slug>/ (project) | .kafka/skills/<slug>/ | | MCP server | Project: .mcp.json. Global: ~/.claude.jsonmcpServers. Never settings.json (Claude ignores it there). | Embedded in ~/.codex/config.toml as [mcp_servers.<slug>] blocks | Embedded in .kafka/kafka.json (no sidecar — the Kafka SDK reads MCPs straight from settings) | | Command (slash command / prompt) | .claude/commands/<slug>.md | ~/.codex/prompts/<slug>.md (Codex has no documented project-scope prompts dir) | .kafka/commands/<slug>.md (the Kafka runtime calls these "playbooks" internally, but the CLI keeps the command type for cross-harness symmetry) | | Sub-agent | .claude/agents/<slug>.md | — (Codex uses a different agent schema) | .kafka/agents/<slug>.md | | Playbook | .claude/playbooks/<slug>.md + auto-managed table at the bottom of CLAUDE.md | .codex/playbooks/<slug>.md + auto-managed table at the bottom of AGENTS.md | .kafka/playbooks/<slug>.md + auto-managed table at the bottom of KAFKA.md | | Instruction | Block in CLAUDE.md between <!-- brainbase:start name=<template> --> / :end markers | Same block convention in AGENTS.md | Same block convention in KAFKA.md | | Hook | — (todo) | — | — | | File | Arbitrary copy: single file or directory to a target path relative to cwd | Same | Same |

Playbook files carry a small YAML frontmatter (title, description) — the CLI parses it to build the table injected into each harness's instructions file. The table is bracketed by <!-- brainbase:playbooks:start --> / :end markers and regenerated on every pull, so removed playbooks drop out of the table automatically.

Project root (harness-agnostic)

  • Auto-detected ONBOARDING.md and any extra files/folders you point --file <path> at — packed as file components and replayed at install time.

Configuration

| Variable | Purpose | |---|---| | BRAINBASE_REGISTRY_URL | Override the registry API host (default: https://kafka-llm-service.onrender.com) | | BRAINBASE_API_URL | Same as above; checked second | | BRAINBASE_TOKEN | Use a PAT instead of the stored login session | | BRAINBASE_HOME | Where local state lives (default: ~/.brainbase) |

Auth

Two ways to authenticate, in priority order:

  1. brainbase login — interactive Supabase OAuth, stored in ~/.brainbase/auth.json. Carries full scopes.
  2. brainbase token create --scope publish — long-lived PAT (bbpat_…) for CI / unattended use.

BRAINBASE_TOKEN env var overrides both.

License

MIT — see LICENSE.