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

@dotsisdev/condiments

v0.1.5

Published

Portable token-efficiency controls for Codex CLI, Claude Code, Cursor, and OpenClaw.

Readme


🚀 Grab a bottle

Install for Codex in the current project:

npx --yes @dotsisdev/condiments@latest --host codex-cli --target .

Restart Codex, then choose a strength:

/cond full

That is it. Condiments checks the model and task, adds only proven controls, and keeps mystery combinations on baseline.

| Where | Command | | --- | --- | | Claude Code | npx --yes @dotsisdev/condiments@latest --host claude-code --target . | | Cursor | npx --yes @dotsisdev/condiments@latest --host cursor --target . | | OpenClaw | npx --yes @dotsisdev/condiments@latest --host openclaw --target . | | Codex everywhere (PowerShell) | npx --yes @dotsisdev/condiments@latest --host codex-cli --target "$env:USERPROFILE" | | Codex everywhere (Bash) | npx --yes @dotsisdev/condiments@latest --host codex-cli --target "$HOME" |

Add --force to update or repair an installation.


🍟 Meet the bottles

| Bottle | Nickname | Job | Full squeeze | | :---: | --- | --- | --- | | 🥚 | Mayo | Trims replies | Smallest complete answer | | 🟡 | Mustard | Picks context | Loads exact files, symbols, and evidence | | 🍅 | Ketchup | Remembers | Retrieves exact local memory before summarizing | | 🌿 | Ranch | Handles tools | Batches, deduplicates, and bounds noisy output | | 🌶️ | Hot Sauce | Controls thinking | Starts cheap and turns up effort only when needed |

Use none to put every bottle away, some for a light squeeze, or full for the strongest validated recipe.


📊 The scoreboard

Official measured claim: Condiments produced 5.1–32.2% fewer total tokens in its validated Luna workloads with no quality loss. This is a measured range, not a promise for every task.

| What happened | Decision | | --- | --- | | Zero-token memory: 32.2% less, 8/8 exact recalls | ✅ Ship for validated Luna recall | | Progressive skill disclosure: 5.1% less, 8/8 checks | ✅ Use on active routes | | Prompt-only tool state: model reran tools in 6/8 pairs | 🛑 Require native blocking | | Unknown model or workload | 🧊 Stay on baseline |

The complete numbers live in the 48-run paired evaluation.

  • Luna debugging and noisy-command workloads saved 20.4–23.2% logical tokens, but cache-cost savings remain unproven.
  • General Luna tasks, Sol exact edits, and Astra exact edits showed regressions, so the router keeps them on baseline.
  • Context and tool-schema experiments showed large byte reductions, but Condiments does not label those as provider-token savings.
  • Reasoning savings are still estimates until authenticated provider A/B runs finish.

Open every evaluation and methodology note.


🧭 How the sauce gets picked

Condiments treats /cond full as a ceiling, not an order to optimize everything. If a combination has not passed paired testing, it receives no extra policy.

known winner  → tiny active recipe
unknown combo → baseline
quality drop  → reject and recover

🧪 From research to recipe

Four ideas became working controls

| Recipe | What Condiments built | Current label | | --- | --- | :---: | | 🧩 Progressive disclosure | Stable core + current host + active bottles only | ✅ Validated | | 🧠 Zero-token memory | Local exact-evidence index with zero model calls | ✅ Validated | | 🧰 Compact tool state | Hash-addressed results, facts, gaps, and retry blocking | 🛡️ Native guard only | | ✂️ Workflow pruning | 8-pair quality, confidence, and break-even gate | ✅ Active gate |

Read the source reviews:


🎮 Command menu

| Command | Effect | | --- | --- | | /cond | Show the current sauce | | /cond full | Strongest validated recipe | | /cond some | Lighter quality-first recipe | | /cond none | Plain baseline | | /cond ranch full | Change one bottle | | /cond status | Show levels and host abilities | | /cond v | Show the installed release |

/condiments accepts the same commands. Codex also accepts $cond and $condiments.


🤖 Where it works

| Agent or API | Skill commands | Native extras | | --- | :---: | --- | | Codex | ✅ | Compaction, large-read guard, routing, cache/reasoning telemetry | | Claude Code | ✅ | Tool-result replacement, checkpoints, cache telemetry | | Cursor | ✅ | MCP result replacement, compaction, cache fields | | OpenClaw | ✅ | Tokenjuice, pruning, compaction, cache retention | | OpenAI / Anthropic APIs | Helpers | Reasoning, output caps, cache controls, state reuse | | Qwen / DeepSeek | Helpers | Capability-gated thinking and reasoning controls |

Run /cond status to see what the current installation can control. Missing telemetry is shown as unavailable—never as zero.


🔬 Proof locker

  1. Count input, output, reasoning, cache traffic, retries, helpers, and failures.
  2. Compare the same model, effort, task, and starting state.
  3. Keep exact files, tests, facts, errors, and citations correct.
  4. Require at least eight paired samples before workflow pruning.
  5. Publish failures too. A shorter answer is not a saving if the task needs another turn.

🛠️ Builder corner

git clone https://github.com/DotsIsDev/condiments.git
cd condiments
npm install
npm test
node scripts/install-adapter.mjs --host codex-cli --target /path/to/project

| Pantry shelf | What is inside | | --- | --- | | SKILL.md | Portable skill contract | | src/ | Policies, routing, memory, telemetry, compression | | scripts/ | Installer, hooks, helpers, evaluations | | references/ | Runtime and platform notes | | research/ | Full paper reviews | | evals/ | Workloads, fixtures, and results | | test/ | Deterministic test suite |

Contributions are welcome. Bring reproducible workloads, sanitized traces, provider adapters, or a clever new sauce. Start with CONTRIBUTING.md.