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

bearings

v0.2.0

Published

Give your AI agents their bearings — scaffold an agent-friendly setup in any repository.

Readme

bearings

bearings is a small TypeScript CLI that helps you give your agents their bearings: it scaffolds an agent-friendly repository setup, exposes shared skills and commands to supported harnesses, records the generated files in a manifest, and leaves project-specific tailoring to your AI agent via /setup-repo.

Quick Start

npx bearings init
/setup-repo
bearings verify
  1. npx bearings init writes the generic scaffold and prints the next step.
  2. /setup-repo runs inside your AI agent to merge backups, fill placeholders, seed docs, and tailor skills.
  3. bearings verify checks the scaffold for drift, missing files, broken exposures, and unresolved setup warnings.

What Gets Generated

AGENTS.md
CLAUDE.md
docs/
  CURRENT_STATE.md
  conventions/
    current-state.md
    doc-lifecycle.md
  adr/
    0000-template.md
  deferred/
    INDEX.md
.agents/
  bearings.json
  commands/
    current-state.md
    setup-repo.md
  skills/
    repo-navigation/SKILL.md
    implementing-task/SKILL.md
    installing-dependencies/SKILL.md
    secrets-handling/SKILL.md
    enforcement-gates/SKILL.md
    commit-convention/SKILL.md
    defer-work/SKILL.md
    resurface-deferred-work/SKILL.md
.claude/
  commands/*
  skills/*
.opencode/
  commands/*
  skills/*

Existing scaffold targets are backed up as <path>.bkp before replacement. Re-running init skips unchanged managed files.

The Model

Agent-friendly context is routed, not dumped.

user task
  -> root agent seed
  -> current-state map
  -> situation-specific skills
  -> task/runbook/spec docs when needed
  -> executable guardrails before completion

Commands Reference

bearings init

Scaffold the agent-friendly setup in the current repository.

| Flag | Meaning | |---|---| | --harness <name...> | Expose to claude and/or opencode. Defaults to detected harness dirs, or both in a fresh repo. | | --copy | Copy exposures instead of symlinking them. verify checks copy drift. | | -y, --yes | Accept defaults and do not prompt. |

bearings verify

Check the manifest and harness exposures for mechanical breakage. Exit code 0 means no failures; exit code 1 means one or more failures.

| Code | Severity | Condition | |---|---|---| | no-manifest | fail | .agents/bearings.json missing | | missing-file | fail | manifest entry path doesn't exist | | missing-exposure | fail | a child of .agents/skills or .agents/commands absent from a configured harness dir | | broken-symlink | fail | harness entry is a symlink whose target doesn't resolve | | copy-drift | fail | copy mode: harness file content differs from .agents source content | | unfilled-placeholder | warn | a bearings-generated file still contains <agent: | | unreviewed-backup | warn | manifest backup path still exists on disk |