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

cavewoman

v0.1.9

Published

cavewoman - a lightweight CLI to reduce token spends with coding agents and save real money

Readme

Documentation: cavewoman

Installation

As a prerequisite, you need to have Node.js installed on your machine to use npm commands.

Option 1: Install globally (recommended)

npm install -g cavewoman

Then run:

cavewoman

Follow on-screen prompts to configure it.

Option 2: Run without installation

npx cavewoman

Runs instantly — no install needed.

Common commands

Switch mode

Change the mode for the last agent that you configured. Available modes are - balanced, structured, or ultra

Note: You can either specify the mode directly in the command or run cavewoman switch without specifying any mode. It will show the available modes where you can choose one and hit enter to install.

cavewoman switch ultra

Configure another agent (change target)

Run cavewoman or npx cavewoman and follow on-screen prompts to select a different coding agent.

Supported coding agents:

  • Cursor (cursor)
  • Claude Code (claude-code)
  • ChatGPT (chatgpt)
  • Gemini CLI (gemini)
  • Codex CLI (codex)
  • Windsurf (windsurf)
  • Other (generic) — fallback when your tool is not in the list above

Check status

cavewoman status

Get the status of configured coding agent, target, scope and mode.

Uninstall

cavewoman uninstall
cavewoman uninstall -t cursor
cavewoman uninstall -t chatgpt -s global

If you don't provide -t or target, it will uninstall the cavewoman CLI from the last installed coding agent.

How to use in each agent

| Target | Outputs (typical) | Invoke | | ------ | ----------------- | ------ | | cursor | SKILL.md~/.agents/skills/cavewoman or ./.agents/skills/cavewoman | /cavewoman per chat | | claude-code | .claude-plugin/plugin.json, skills/cavewoman/SKILL.md under ~/.cavewoman/claude-code-plugin or ./.cavewoman/claude-code-plugin | claude --plugin-dir <plugin-root> (or marketplace install of same tree) | | chatgpt | ~/.cavewoman/chatgpt-sticky-prompt.txt (+ clipboard on install) | Paste → Custom instructions / project rules / system prompt (persistent until replaced) | | gemini | ~/.gemini/extensions/cavewoman/ (gemini-extension.json, GEMINI.md) or ./.gemini/extensions/cavewoman/ | Restart CLI; enable extension; /extensions or gemini extensions list | | codex | ~/.cavewoman/codex-prefix.txt, ~/.cavewoman/bin/cavewoman-codex | export PATH="$HOME/.cavewoman/bin:$PATH"; cavewoman-codex "<prompt>" → prefixes, calls codex -p; or prepend file if calling codex yourself | | windsurf | ~/.cavewoman/windsurf-prefix.txt | Paste into Cascade persistent instructions | | generic | ~/.cavewoman/generic-prefix.txt | Manual prepend to prompts |

Configuration

~/.cavewomanrc (JSON):

  • defaultTarget: default agent id
  • defaultMode: balanced | structured | ultra
  • lastInstalledTarget: used by switch refresh + uninstall default
  • lastScope: global (this computer) | project (this repo)
  • preferences.cursorSkillsDir: optional absolute override for Cursor skill root

Environment override:

  • CAVEWOMAN_CURSOR_SKILLS_DIR: override Cursor skills base directory

Modes

  • balanced: concise, natural response with minimal fluff - best for readable answers
  • structured: organized sections for clarity and quick action - best for debugging
  • ultra: maximum compression guidance - best for frequently coders - it saves more money

Before vs after (illustrative)

Before:

Sure! I'd be happy to help you with that. The issue you're experiencing is likely caused by a subtle mismatch between...

After (cavewoman-guided):

Root cause: stale build artifact in dist/. Fix: delete dist, rerun npm run build, restart dev server. Verify: curl localhost:3000/health returns 200.

Extending agents

Add a new injector under src/injectors/, export it from src/injectors/index.ts, and document the target in this README.

Development

npm install
npm run build
npx cavewoman

License

MIT