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

ai-coach

v0.1.0

Published

Local-first AI coding-session coach for agent-invoked workflow improvement.

Downloads

140

Readme

ai-coach

ai-coach is a local-first skill set for people who use AI coding agents and want to get better at it.

It is not a transcript browser, dashboard, prompt optimizer, or workflow framework. The main path is simple: an agent invokes a skill, the scripts collect recent local sessions, and the agent coaches from evidence instead of vibes.

Use it when your AI sessions keep going sideways: vague prompts, scope churn, weak verification, false closure, overloaded instructions, or too much manual context-setting every time.

What ships

  • npm package/bin: ai-coach with awc alias, Node 24+
  • public skill family: coach:*
  • shipped skills:
    • coach:analyze: diagnose recent AI coding sessions from deterministic evidence
    • coach:own: challenge the user to understand and own project decisions
  • generated outputs: .ai-coach/sessions/, .ai-coach/evidence/, and .ai-coach/reports/
  • default deterministic substrate: collect-sessions
  • optional structured substrate: build-evidence
  • agent layer: reads deterministic evidence, then gives a grounded coaching narrative

v0 makes equal invocation claims where installed harnesses can discover the skill. It does not claim equal diagnostic parity across every adapter. v1 needs fixture-backed adapter parity for Codex, Claude Code, Copilot, and OpenCode before it can claim equal evidence-backed diagnosis.

Try it

Collect a metadata-only session index:

npx ai-coach collect-sessions --json --tool all --days 14 --out .ai-coach/sessions/index.json

Optionally build a structured evidence bundle:

npx ai-coach build-evidence --json --tool codex --since 2026-04-16 --out .ai-coach/evidence/latest.json

Preview a project install:

npx ai-coach install --dry-run

Install coach:analyze into the default project targets:

npx ai-coach install --yes

Discover and install other skills:

npx ai-coach list
npx ai-coach info coach:own
npx ai-coach add coach:own --yes
npx ai-coach status coach:own

Search the curated harness corpus:

node src/skills/coach-analyze/scripts/search-harness-kb.mjs --query "completion needs proof" --dimension closure_integrity --json

From this repo, use node bin/ai-coach.mjs ... while developing.

Rules

  • Always ask before reading local session logs.
  • Session logs may contain prompts, code, file paths, and tool output.
  • The collector owns session-file discovery and writes metadata only by default.
  • Structured mode owns parsing, recurrence, evidence spans, candidate patterns, install state, and validation.
  • The agent owns judgment, prioritization, teaching, and patch-ready advice.
  • Structured findings must bind to candidate_pattern_ids.
  • Structured recommendations must cite harness knowledge with knowledge_citations.
  • Diagnosis is read-only. After user approval, the same agent may edit approved docs, skills, checklists, or plan docs.

Important paths

  • src/core/contracts.ts: machine-readable evidence and report contract
  • src/core/session-collector.ts: metadata-only local session discovery
  • src/cli/main.ts: CLI entrypoint
  • src/skills/coach-analyze/: canonical public analysis skill package
  • src/skills/coach-own/: canonical public ownership skill package
  • docs/prompts/ownership-decision-coach.md: reusable ownership coaching prompt
  • docs/protocols/research-side-ideas.md: side-idea capture protocol
  • docs/versions/v0.md: v0 boundary
  • docs/versions/v1.md: v1 boundary