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/banchor

v0.2.0

Published

Prompt lookup tool. Agent names a task class from a fixed list; banchor returns the prompt for that task class. The prompt tells the agent how to check the task against a stated mission.

Downloads

544

Readme

banchor

For agents that drift mid-task. banchor reads the agent's working session against the mission rail (goals, values, anchors declared at session start) and emits UNANCHORED when the next step would drift away from the stated mission. The task taxonomy is closed (7 classes at v0.1); the prompt library that powers anchoring evolves continuously via empirical-lift evaluation, so the same banchor induct invocation gets stricter at catching mission drift as the corpus matures.

Prompt lookup tool. Agent names a task class from a fixed list; banchor returns the prompt for that task class. The prompt tells the agent how to check the task against a stated mission.

Anchors a task description against a named or filesystem-rooted mission, classifies the task into a typed TaskClass, writes the verdict on stdout, exits with a discriminating code so the calling agent can branch.

banchor induct <task>             classify a task + emit next-step directive; exit 0 / 1 / 2 / 64
banchor task-classes              list the 11 supported task-class identifiers
banchor init                      scaffold a mission alias file in the current directory
banchor update                    self-update to the latest published version
banchor tail                      stream recent next-step transcripts
banchor explain                   print taxonomy + exit-code reference

Exit code contract: 0 task anchored to mission, 1 task NOT anchored, 2 internal error, 64 malformed input.

Install

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

Use

banchor induct "rename HostContext::L2a to HostContext::CliL2a" \
    --mission ./missions/v0.1-stable.toml
# stdout: ANCHORED to mission "v0.1-stable"; task-class refactor
# exit: 0

banchor induct "rewrite onboarding copy in punchier tone" \
    --mission brand-voice
# stdout: ANCHORED to alias mission "brand-voice"; task-class rewrite
# exit: 0

The --mission <path-or-name> flag resolves a filesystem path (starts with /, ./, or ../) or a named alias. Supply evidence with repeatable --evidence <id>=<value> flags. Optional flags: --manifest <path>, --json, --quiet, --reason <text>.

Task taxonomy

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

| Category | Variants | |---|---| | Engineering | refactor, migration, feature, bug-fix, spike, research, scaffolding | | Editorial | draft, rewrite, localize, brand-conform |

banchor task-classes prints the full list.

Corpus

The v0 prompt corpus is hand-authored fixture material. It seeds the 11 task-class directives and will be replaced by an evolved corpus once the evaluation harness runs and produces entries meeting the empirical-lift threshold. Until then every banchor induct invocation returns a fixture directive and exits 1 (UNANCHORED), which is the correct signal at this tier.

Set BSUITE_UPDATE_BASE_URL to point banchor update at a manifest endpoint when one is available.

License

MIT.