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

teambrain-cli

v0.2.0

Published

TeamBrain CLI — push and recall traces from any local project. Pairs with Claude Code via /save and /recall.

Readme

teambrain-cli

TeamBrain CLI — push and recall traces from any local project. Pairs with Claude Code (/save, /recall).

Install

npm install -g teambrain-cli
# 또는 pnpm add -g teambrain-cli

Quickstart

# 1. 로그인 (한 번만, 머신당)
tb login
# → 브라우저 열림 → [Approve] 1번 클릭 → 끝

# 2. Claude Code 슬래시 커맨드 글로벌 설치 (한 번만)
tb init
# → ~/.claude/skills/save · recall 자동 배치

# 3. 본인 로컬 프로젝트로 이동 → 워크스페이스에 묶기
cd ~/work/my-app
tb link
# → .teambrain.yml 생성. commit해서 팀 공유.

# 4. 그 디렉토리에서 trace push
echo '{"frontmatter":{"role":"eng","topic":"hello"},"body":"# hi"}' | tb save
# 또는 Claude Code에서 /save

# 5. 과거 trace 회수
tb pull --since 30d
# 또는 Claude Code에서 /recall <키워드>

tb save.teambrain.yml을 우선 읽어 워크스페이스를 결정하고, git remote/branch/commit_sha를 frontmatter.project에 자동 첨부합니다.

Commands

| 명령 | 설명 | |---|---| | tb login | device-flow 로그인 (브라우저 [Approve] 1번) | | tb login --paste | fallback — refresh_token devtools paste | | tb status | 로그인 상태 + 현재 디렉토리의 link 상태 | | tb workspace | 멤버 워크스페이스 목록 | | tb workspace use <id> | 글로벌 default ws 변경 | | tb link [<ws>] | 현재 디렉토리를 ws에 묶음 (.teambrain.yml) | | tb init [--force] | ~/.claude/skills//save·/recall 배치 | | tb pull [--since 7d] | ws의 trace를 .teambrain/cache/<id>.md로 가져옴 | | &nbsp;&nbsp;&nbsp;&nbsp;[--topic kw] | topic ilike 매치 | | &nbsp;&nbsp;&nbsp;&nbsp;[--role pm\|eng\|...] | 역할 필터 | | &nbsp;&nbsp;&nbsp;&nbsp;[--limit N] | 기본 100 | | tb save | stdin/-f payload → trace push (project context 자동) | | tb logout | 토큰 삭제 |

env override

TEAMBRAIN_API=https://...    # 기본 endpoint override
TEAMBRAIN_ANON=eyJ...        # 기본 anon key override

Workspace 선택 우선순위 (tb save)

  1. payload의 workspace_id
  2. ./.teambrain.ymlworkspace_id
  3. ~/.teambrain/auth.json의 default workspace_id