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

@booga/bground

v0.2.0

Published

Prompt lookup tool. Agent names a claim type from a fixed list; bground returns the prompt for that claim type. The prompt tells the agent how to check the claim against supplied evidence.

Downloads

431

Readme

bground

For agents that make claims. Before your AI coding agent writes "the parser handles UTF-8" or "we cache for 5 minutes", bground verifies that claim against the evidence the agent cited: a function signature, a test case, a config row, a doc paragraph. If the evidence does not back the claim, bground emits an UNGROUNDED directive that tells the agent which evidence to cite or which claim to drop. The claim taxonomy is closed (16 types); the prompt library that powers grounding evolves continuously via empirical-lift evaluation, so the same bground verify invocation gets stricter at catching ungrounded claims as the corpus matures.

v0.2 note: the directive library shipped in this release is a hand-authored seed corpus -- fixture material that covers the full 16-variant claim taxonomy. An empirically evolved corpus ships in a later release.

Prompt lookup tool. Agent names a claim type from a fixed list; bground returns the prompt for that claim type. The prompt tells the agent how to check the claim against supplied evidence.

Built for agentic loops. Parses a typed claim, takes supplied evidence, writes a verdict on stdout, exits with a discriminating code so the calling agent can branch.

bground verify <claim>            check a claim against supplied evidence; exit 0 / 1 / 2 / 64
bground claim-types               list the 16 supported claim-type identifiers
bground init                      scaffold a manifest in the current directory
bground update                    self-update to the latest published version
bground tail                      stream recent verdict transcripts
bground explain                   print taxonomy + exit-code reference

Exit code contract: 0 claim grounded, 1 claim NOT grounded, 2 internal error, 64 malformed input.

Install

cargo install --git https://github.com/bvasilenko/bGround

Use

bground verify "file-exists:README.md:README must exist" \
    --evidence readme=$(test -f README.md && echo present || echo absent)
# stdout: GROUNDED
# exit: 0

bground verify "value-equals:VERSION:0.1.0" \
    --evidence VERSION=0.2.0
# stdout: UNGROUNDED
# exit: 1

The <claim> argument is parsed as <claim-type>:<target>:<assertion>. Supply evidence with repeatable --evidence <id>=<value> flags. Optional flags: --manifest <path>, --json, --quiet, --reason <text>.

Claim taxonomy

Closed 16-variant ClaimType enum. The taxonomy is fixed at this version; widening lands in a later version.

| Category | Variants | |---|---| | Existence | file-exists, fn-defined, dependency-installed | | Equality | value-equals, state-equals, fn-signature | | Runtime | fn-return-type, url-returns, cmd-output-matches, behavior | | Coherence | coherent-refactor, coherent-migration, coherent-spec-impl, coherent-contract, coherent-test-cover, coherent-dep-upgrade |

bground claim-types prints the full list.

Environment variables

| Variable | Purpose | Default | |---|---|---| | BSUITE_UPDATE_BASE_URL | Base URL for the bground update manifest endpoint | placeholder (update will fail without a real endpoint) | | BSUITE_TRANSCRIPT_DIR | Override the transcript directory path | platform XDG/AppSupport/LocalAppData default | | BSUITE_TRANSCRIPT_RETENTION_DAYS | Transcript retention window in days | 90 | | BSUITE_HOST_CONTEXT | CMS adapter host context tag (set by adapters; not for manual use) | l2a |

License

MIT.