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

subagent-insights

v0.2.1

Published

Review your Claude Code subagents from their local transcripts: work patterns, strengths, weaknesses, failure modes, and a suggested CLAUDE.md rule.

Downloads

59

Readme

Subagent Insights 🔍

Understand how your AI subagents actually work.

npm CI License: MIT

Review your Claude Code subagents from the transcripts they already leave behind: how they actually work, where they fall down, and one concrete rule to put in CLAUDE.md. Deterministic, no LLM involved.

🔒 100% Local, Offline & Zero API Cost: Subagent Insights runs purely on deterministic heuristics directly against your local transcripts. No API keys, no LLM calls, no network telemetry, and no private code leakage.


✨ Features

  • 🔍 Automatic Log Discovery: Scans ~/.claude/projects/ and groups every subagent transcript by agent — built-ins like general-purpose, Explore and Plan, plus any custom agents you have defined. No configuration.
  • 📊 6-Dimension Engineering Metrics: Evaluates Task Completion, Instruction Following, Quality, Verification, Efficiency, and Critical Thinking.
  • 🎭 16 Work Style Archetypes: Classifies each subagent from its observed behaviour — read/write balance, test-to-edit ratio, recovery rate, how often it pushes back.
  • ⚠️ Failure Mode & Recovery Analysis: Uncovers looping behaviors, hesitation, and tracks autonomous error recovery rates.
  • 🚀 CLAUDE.md Rule Suggestions: Picks the single highest-priority rule for the weakest observed area, with the rationale quoting your actual numbers.
  • 🔒 Shareable Without Leaking: Share output is plain text carrying scores, observed rates and your agent's name — no transcript content, file paths or repository names.
  • 🌐 Bilingual CLI & Export: Full English and Japanese support with terminal and Markdown reports.

🚀 Quick Start

Run directly via npx (no installation or API key required):

# Evaluate recent subagents across all local projects
npx subagent-insights

# Try with built-in sample demo data
npx subagent-insights --demo

# Japanese output
npx subagent-insights --lang ja

# Target a specific subagent
npx subagent-insights --agent implementer --lang ja

# Export evaluation as Markdown report
npx subagent-insights --markdown > agent-review.md

🎭 16 Work Style Archetypes

| Archetype | Key Engineering Characteristic | | :--- | :--- | | 🛡️ The Cautious Builder | Thinks deeply before acting, strong verification habits, double-checks diffs. | | ⚡ The Speedrunner | Blazing fast execution with minimal tool hops; edits code directly. | | 🔍 The Deep Explorer | Reads extensive files & explores architectural branches before touching code. | | ✨ The Quality Gatekeeper | Rigorous multi-stage verification (tests, diff, assertions) and clean outputs. | | 🧐 The Critical Analyst | Questions ambiguous requirements and proposes alternative patterns. | | 🔧 The Autonomous Troubleshooter | High recovery rate from test failures; relentless debugging instinct. | | 🫡 The Direct Implementer | Strictly executes user instructions to the letter without hesitation. | | ⚖️ The Balanced Generalist | Balanced generalist adapting to task complexity. | | 🏛️ The Systematic Architect | Emphasizes modular boundaries, clear interface contracts, and domain invariants. | | 🎯 The Minimalist Patcher | Localized, surgical edits with the absolute smallest diff footprint. | | 🔬 The Rigorous Verifier | Dedicated verification specialist running comprehensive assertions without edits. | | 🚀 The Pragmatic Shipper | Prioritizes rapid end-to-end working functionality over theoretical perfection. | | 🌿 The Defensive Gardener | Adds safety nets, intermediate diff checks, and preserves backwards compatibility. | | 🔄 The Iterative Prototyper | Discovers optimal solutions through rapid spikes, trial-and-error, and telemetry. | | 📈 The Proactive Optimizer | Relentlessly eliminates redundant queries and duplicate tool executions. | | 📋 The Thorough Auditor | Scrutinizes sandbox constraints, security boundaries, and edge-case contracts. |


🖼 Share Card

npx subagent-insights card          # SVG — no extra dependency, works everywhere
npx subagent-insights card --png    # PNG, for posting as an image

PNG needs the optional @resvg/resvg-js renderer. If it is not installed for your platform the command writes the SVG instead and tells you why — the CLI itself never depends on it.


📢 Sharing a Report

# A block ready to paste into Discord (renders as an aligned table there)
npx subagent-insights share

# The X (Twitter) intent link instead
npx subagent-insights share --x

Shared output carries scores, observed rates and the agent's name — never transcript text, file paths or repository names. The same holds for the terminal and Markdown reports.

Note: the agent name comes from your own configuration. If you have named a subagent after a client or an internal project, that name travels with the report — rename it or edit the text before posting.


📐 How Scoring Works

Scores come from a fixed, published rubric applied to observed rates — not from ranking you against other users. Nothing is uploaded, so there is no population to rank against, and a grade here is not a percentile.

Every dimension therefore reports the raw rate it was derived from, and that rate is the number worth comparing when two people put their reports side by side:

| Dimension | Observed rate | Scored on | | :--- | :--- | :--- | | Task Completion | sessions that ended while a tool call was still failing | stall rate + unrecovered failures | | Instruction Following | tool calls rejected for misuse or a blocked action | rejection rate | | Quality | failing calls and how many were recovered | recovery rate | | Verification | test runs per edit | test-to-edit ratio | | Efficiency | repeated calls and steps per session | redundancy rate | | Critical Thinking | clarifying questions per session | question rate |

A failing test suite counts as work failing, not the agent disobeying — only tool misuse, protocol violations (File has not been read yet), hook rejections and permission denials count against Instruction Following.

⚠️ The thresholds were calibrated on a single user's transcripts. They are a reasonable starting rubric, not a validated benchmark. Compare the observed rates rather than the letter grades.


📄 License

MIT License. Contributions and feedback are welcome!