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

@liustack/ctx-tax

v0.1.3

Published

Every skill you install charges rent in every session. ctx-tax shows your agent's context bill.

Downloads

542

Readme

ctx-tax

Every skill you install charges rent in every session. This shows your bill.

Agent skills, CLAUDE.md files, rules, and session hooks all load into your agent's context before you type your first word. That is paid attention: it shapes behavior, crowds out your actual work, and nobody itemizes it. ctx-tax does.

npx @liustack/ctx-tax
# or straight from the repo, no npm needed:
npx github:liustack/ctx-tax
Every session, before your first word:

  skill descriptions (20 skills)                  2k
  ~/.claude/CLAUDE.md                           1.9k
  ~/.codex/AGENTS.md                            2.6k
  ~/.claude/rules (2 files)                       1k
  ──────────────────────────────────────────────────
  always-on total                               7.6k  = 0.8% of Claude Code 1M · 2.9% of Codex ~258k effective

When a skill fires (top by max):

  skill                               on trigger   max w/ references
  ppt-master                                 19k                301k
  vercel-react-best-practices               1.8k                 56k
  claude-api                                4.5k                 44k
  ...

Two tiers, because that is how the cost actually lands:

  • Always-on: skill descriptions, memory files, and rules that every single session carries, whether they get used or not.
  • When a skill fires: what one invocation loads (the skill body), and the worst case with every reference file pulled in. A skill whose max rivals the window is a skill that crowds out the actual work.

Run it from a project directory to include that project's .claude/skills, CLAUDE.md, and AGENTS.md.

What it scans

./.claude/skills, ~/.claude/skills, ~/.agents/skills, ~/.codex/skills (one copy per skill name, priority in that order), CLAUDE.md and AGENTS.md (global and project, Claude Code and Codex), .claude/rules, and it flags SessionStart hooks in settings, which inject extra unmeasured context each session.

Percentages are shown against the windows the two harnesses actually run: Claude Code's 1M, and Codex's ~258k effective (the app caps GPT-5.5 and 5.6 at a 272k catalog entry with a 95% compaction threshold, whatever the model page advertises).

The ruler

Tokens are estimated as ascii characters / 4 plus one per CJK character. Rough (about ±15%), but identical for everything measured, so the comparisons hold even where the absolute numbers wobble. Locale twins (*.zh-CN.md and friends) are excluded from a skill's max, since a session never loads both languages.

--json gives you the raw numbers.

Why we built it

We ship liustack, a four-skill working loop that bets on staying light. This tool is how we measure that bet, published so you can audit anyone's claim, including ours.

MIT.