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

@maito1201/hargen

v0.3.0

Published

Harness generator — analyze Claude Code conversation logs to improve your CLAUDE.md

Readme

hargen

Claude Codeの会話ログからフィードバックパターンを分析し、ハーネス(CLAUDE.md / hooks / skills / memory)の改善を提案するスキル。

解決する課題

Claudeに毎回同じダメ出しをしていませんか?

hargenはあなたの会話ログを分析し、繰り返し指摘しているパターンを発見します。既存のCLAUDE.mdでカバーされているか、ルールがあるのに守られていないか、新たに追加すべきかを判断し、Faceted Promptingの設計原則に基づいた具体的な改善案を提示します。

インストール

Claude Code プラグインとして(推奨)

claude plugins marketplace add maito1201/hargen
claude plugins install hargen

インストール後、Claude Codeのチャットで /hargen と入力するとスキルが起動します。

プラグインなしで利用する

Claude Codeのチャットで以下のように伝えてください:

https://github.com/maito1201/hargen/blob/main/skills/hargen/SKILL.md の内容を確認し、設定の改善提案を行なってください

仕組み

  1. ~/.claude/history.jsonl からユーザーのプロンプトを抽出し、フィードバックを含みそうなセッションを特定
  2. 既存のCLAUDE.md / hooks / skills / memory の構成を把握
  3. 特定したセッションのトランスクリプトをサブエージェントで並列分析(Workflowツール優先)。1セッション=1エージェントで文脈込みのフィードバックを構造化抽出
  4. フィードバックを根本原因でグルーピングし、既存ハーネス・memoryと突合
  5. memoryを診断(重複の統合 / 陳腐化の削除 / 頻出フィードバックのCLAUDE.mdへの昇格)
  6. Faceted Promptingの設計原則に基づいた改善案を、適用後のdiffとして提示
  7. ユーザーが承認した項目のみ反映

詳細は SKILL.md を参照。

CLI

スキルが内部で使う抽出コマンド。単体でも利用可能。

# ユーザープロンプトの抽出(history.jsonl)
npx --yes @maito1201/hargen@latest extract-prompts --days 30 --max-chars 200

# プロジェクトのセッショントランスクリプト一覧(パス・サイズ・更新日時)
npx --yes @maito1201/hargen@latest list-sessions --project myapp --days 30

# トランスクリプトから会話ダイジェストを抽出
# (tool_result / thinking / システム注入を除去し、数MB → 数十KBに圧縮)
npx --yes @maito1201/hargen@latest extract-session <sessionId|path> --project myapp