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

@ctxr/agent-codebase-explorer

v1.0.2

Published

Read-only codebase search subagent. Given a brief, it locates files, symbols, and patterns and reports where-is-X / what-references-Y with exact references and a capped, structured report. Read-only; uses whatever capabilities the environment provides and

Readme

agent-codebase-explorer

A read-only codebase-search subagent for Claude Code, Codex, and OpenCode. Hand it a search brief; it returns a capped report of where things live.

What it does

Given a self-contained brief ("where is X", "what references Y", "how is Z wired"), it greps and globs the tree, follows the trail through definitions and call sites, and returns a tight report: what it found (with path:line), what it ruled out, and any open questions. It never edits, runs builds, or makes decisions.

Its instructions are tool-agnostic: it uses whatever capabilities the environment exposes (the built-in file, search, and shell tools, plus any servers the project provides) and treats them as best-effort. If a capability is missing, unhealthy, or errors, it notes that and falls back rather than halting, so it works across very different setups and never stalls a fan-out because one tool is down. It stays read-only by rule, even where write-capable tools are present.

When to use it

During the exploration phase of planning, or whenever the main agent needs to locate code without spending its own context on the search. Run two or three in parallel with disjoint scopes for fast, broad fan-out, then fold each report into the plan.

Install

npx @ctxr/kit@latest install @ctxr/agent-codebase-explorer

@ctxr/kit installs the bundle and mirrors it into the host's agent directory; the agent then appears as agent-codebase-explorer.

Releasing

Releases are PR-gated and the publish step is a manual dispatch; the CI workflows (ci, release, tag-on-main, publish) carry the details.

License

MIT