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

kalami

v0.6.3

Published

Learning layer for AI coding — every session gets smarter

Readme

Kalami

CI npm License: MIT

AI keeps making the same mistakes. Kalami makes it stop.

You correct Claude once. Kalami records it. Next session, that mistake becomes a rule — Claude reads it before writing a single line. No more repeating yourself.

npx kalami

One command. Under 0.5 seconds. Detects your project, installs everything.

How It Works

 Session 1          Session 2          Session 3
 ─────────          ─────────          ─────────
 AI makes      ──→  Kalami turns  ──→  AI reads rules
 mistake             mistake into       before coding
                     a rule
 You correct   ──→  Rule added    ──→  Mistake never
 the AI              to memory          happens again

Kalami is a harness, not an agent. It observes Claude Code sessions through hooks, learns from three signals, and delivers rules at the start of every session:

  • Your corrections — "no, do it this way" (highest quality)
  • Error-fix pairs — command fails, AI fixes, command passes
  • AI self-recorded — AI voluntarily records a lesson

Rules that prove useful float to the top. Stale rules fade out. Contradicted rules are excluded immediately.

What You Get

Learning that compounds — Every session makes the next one better. EXP milestones track progress from "getting to know your project" to "deep project expertise."

17 safety defaults.env files, rm -rf, force-push, sudo, ~/.ssh — all blocked mechanically before they execute. Opt out with npx kalami allow <pattern>. Upgrade any rule to 100% enforcement with npx kalami harden.

Verify chain — Auto-detects your typecheck, lint, test, and build commands. Blocks commits and pushes that fail any check.

5 dev flow skills — commit, push, release, review, plan. Tell Claude what you want — skills handle the workflow with verification built in.

28+ frameworks, 10 languages — Next.js, React, Vue, FastAPI, Django, Gin, Rails, and more. Auto-detected, zero config.

Commands

npx kalami              Install kalami in the current project
npx kalami status       Show current rules, budget, and activity
npx kalami context      Show context budget breakdown
npx kalami doctor       Diagnose config issues (orphan paths, conflicts, etc.)
npx kalami doctor --fix Auto-fix what's fixable
npx kalami harden <p>   Upgrade prose rule to mechanical deny (100% enforcement)
npx kalami unharden <p> Remove a hardened deny rule
npx kalami profile      Show project identity and learned conventions
npx kalami debug        Print diagnostic info for bug reports
npx kalami allow <pat>  Remove safety deny patterns matching <pat>
npx kalami --force      Reinstall (re-detects project, regenerates rule files)
npx kalami --uninstall  Remove all kalami files and restore original CLAUDE.md

Documentation

Full docs at kalamiai.github.io/kalami — concepts, guides, CLI reference, troubleshooting.

Requirements

  • Node.js 22+
  • Git

License

MIT