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

@anirudh242/contextbridge

v0.1.2

Published

Persistent, versioned AI project context for every coding tool you use.

Readme

ContextBridge

Git-style version control for your AI session context. Works across every coding tool you use.

npm version License: MIT

The Problem

Working with AI assistants involves constantly running into context limits or losing the thread when switching between tools. Every time you start a new conversation, you have to painstakingly rebuild the project's current state and goals.

The Solution

ContextBridge captures your exact working state (git diffs, active tasks, blockers) and compresses it into an LLM-generated summary. You can then instantly inject that context into any agent or browser-based AI tool.

cb init          # set up once per project
cb capture       # after any AI session — auto-reads your git diff
cb inject        # before starting a new session — injects context everywhere

Installation

Prerequisite: Node.js >= 18

npm install -g @anirudh242/contextbridge
# or run without installing:
npx @anirudh242/contextbridge init

Core Commands

  • cb capture - Analyzes your git diff and summarizes the current session context. Add -m "note" to manually steer the summary, or --paste to include clipboard content.
  • cb inject - Injects the latest trusted context into your AI tools.
  • cb log - View the version history of your project's captured sessions.
  • cb status - Show the current ContextBridge status and configuration for this project.

Provider Setup

ContextBridge works best with an LLM for summarisation. cb init will walk you through the initial setup.

| Provider | Model used | Note | | ----------- | --------------------------- | --------------------------------------------------- | | anthropic | claude-haiku-4-5-20251001 | Recommended. Fast and highly accurate. | | openai | gpt-4o-mini | Good alternative. | | gemini | gemini-2.0-flash | Google's high-speed option. | | ollama | qwen2.5-coder:7b | Free and completely private. Requires local Ollama. |

You can change your active provider at any time by running cb provider. If you are using Ollama, you can configure the timeout limit by running cb timeout <ms>.

Tool-Specific Injection

What happens when you run cb inject:

  • Antigravity: AGENTS.md is written automatically to your project root. Antigravity reads it on every agent task. Nothing else needed.
  • Codex: cb inject --codex | codex exec - pipes context directly into a new session.
  • Browser tools (Claude, ChatGPT, Gemini): Context is copied to your clipboard automatically. Paste it at the start of your conversation.

Privacy & Storage

All context and configuration are stored locally in ~/.contextbridge/ on your machine. When using a cloud provider, only the LLM summary request is sent — not your raw git diff or clipboard content. When using Ollama, no data leaves your machine.