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

@yanglet/claude-monitor

v1.0.8

Published

Claude Code agent monitoring dashboard

Readme

Claude Monitor

Claude Code 에이전트 세션을 실시간으로 모니터링하는 웹 대시보드.

기능

  • 에이전트 목록 — 실행 중인 Claude Code 에이전트 상태 실시간 표시
  • 세션 추적 — 세션별 작업(Task) 진행 현황
  • 훅 이벤트~/.claude 디렉터리의 변경 사항 실시간 감지
  • 트랜스크립트 뷰어 — 세션별 대화 타임라인, 툴 사용 내역, 토큰 통계
  • 히스토리history.jsonl 기반 최근 명령 이력
  • WebSocket으로 브라우저에 변경 사항 즉시 반영

설치 및 실행

방법 1: npx로 바로 실행 (설치 불필요)

npx @yanglet/claude-monitor

방법 2: 전역 설치 후 사용

npm install -g @yanglet/claude-monitor
claude-monitor

설치 후에는 어디서든 claude-monitor 명령어로 실행할 수 있어요.

포트 변경

기본 포트는 3000이에요. 변경하려면:

PORT=4000 npx @yanglet/claude-monitor
PORT=4000 claude-monitor

실행 시 자동으로 처리되는 것들

  • ~/.claude/monitor-hook.sh 설치
  • ~/.claude/settings.jsonPreToolUse / PostToolUse 훅 등록 (기존 설정 유지)
  • 브라우저에서 http://localhost:4242 자동 오픈

요구 사항

  • Node.js 18+
  • Claude Code CLI (claude 명령어)

구조

claude-monitor/
├── cli.js           # npx 진입점
├── server.js        # Express + WebSocket 서버
├── public/
│   └── index.html   # React 단일 페이지 앱
└── monitor-hook.sh  # Claude Code 훅 스크립트

API

| 엔드포인트 | 설명 | |---|---| | GET /api/state | 현재 전체 상태 스냅샷 | | GET /api/transcript/:sessionId | 세션 트랜스크립트 파싱 결과 | | GET /api/stats | 전체 세션 토큰 통계 | | POST /hook | Claude Code 훅 이벤트 수신 |