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

@stail21/claudkun-rpg

v1.0.0

Published

Auto-shooting RPG that levels up as you use Claude Code. Idle game x Shmup x Clicker.

Downloads

74

Readme

Claude-kun RPG

Claude Codeを使えば使うほどクロード君がレベルアップする放置シューティングRPG

Idle Game x Vertical Shooter x Clicker


What is this?

Claude Codeでコードを書くたびに、裏で動いてるシューティングゲームのキャラクターが強くなります。

  • Write → 弾が飛んでボスにダメージ
  • Edit → 弾が飛んでボスにダメージ
  • Grep → ホーミングミサイル発射
  • MultiEdit → 全画面爆破(必殺技)
  • 大量のコードを書く → フィーバーゲージが溜まって弾幕が激化

Features

  • 20ステージ + エンドレスモード
  • フィーバーシステム(Lv.100まで無限スケール) - コード量に応じてゲージ蓄積、弾幕がSTG名作風に進化
  • 202個の実績(12カテゴリ)
  • 30段階のキャラ進化
  • 4系統の武器進化
  • コンボシステム - 隕石連続撃破でスコアボーナス
  • パワーアップドロップ - 弾速UP / シールド / 全方位弾幕 / XP2倍
  • レアメテオ - 金色の星型、大量XP
  • ツール必殺技 - Write 30行以上で画面ビーム、MultiEditで全画面爆破
  • プレステージシステム - Lv.100で周回、永続+10% DMGボーナス
  • ステージ別背景・ボス外見変化
  • ボス攻撃パターン(扇状弾 / 狙い撃ち / リング弾)
  • 統計パネル - ツール使用回数グラフ、総ダメージ等
  • リザルト画面 - ボス撃破後にSTAGE CLEAR演出

Install & Run

# Clone the repo
git clone https://github.com/YOUR_USERNAME/claude-kun-rpg.git
cd claude-kun-rpg

# Install dependencies
npm install

# Setup hooks (connects to Claude Code)
node src/setup.js

# Launch the game
node src/cli.js

How it works

Claude Code (hooks)
    |
    +-- PostToolUse --> hook.js --> events.jsonl
    +-- SessionStart --> hook.js --> events.jsonl
    |
    v
Electron App (game)
    +-- fs.watch(events.jsonl)
    +-- Canvas 2D game engine
    +-- Auto-play + fever system
  1. setup.js がClaude Codeの ~/.claude/settings.json にhookを登録
  2. Claude Codeでツールが使われるたび hook.js がイベントを ~/.claude-kun/events.jsonl に記録
  3. Electronアプリがファイル変更を検知し、ゲームに反映

Controls

ゲームは完全オート。放置してるだけでクロード君が戦います。

  • Claude Codeを使う → ダメージ増加 + フィーバーゲージ蓄積
  • 画面右上 → 実績パネル
  • 画面左下 STAT → 統計パネル
  • 画面左下 PIN → 最前面表示 ON/OFF
  • ESC → パネルを閉じる
  • Lv.100で画面下に PRESTIGE ボタン出現

Fever Levels (Bullet Patterns)

| Lv | Style | Pattern | |----|-------|---------| | 0 | Basic | Single shot | | 1-6 | Star Soldier | Twin / 3-WAY spread | | 7-14 | Xevious | Twin + wave / aimed | | 15-29 | TwinBee | Spread + homing missiles | | 30-49 | DoDonPachi | Focused laser stream / wide spread | | 50-69 | Touhou | Accel aimed + satellites + wave | | 70-89 | DoDonPachi Hyper | Spiral + ring burst + 6 satellites | | 90-100 | Final Form | Everything at once |

Tech Stack

  • Electron - Desktop app
  • Canvas 2D - Game rendering
  • Claude Code Hooks - Event integration
  • Node.js - Hook scripts

License

MIT