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

@mrclrchtr/supi-code-intelligence

v1.3.1

Published

SuPi Code Intelligence extension — architecture briefs, caller/callee analysis, impact assessment, and pattern search for pi

Readme

@mrclrchtr/supi-code-intelligence

Project understanding for PI — your agent knows your codebase before you ask.

The first thing an agent does in a new project is read files to figure out what's there. Code Intelligence skips that — it auto-injects a compact project map on turn one, so the agent is already oriented.

Beyond the overview, it gives the agent high-level analysis: architecture briefs, impact assessment, call tracing, and smart search that knows when to use LSP vs. tree-sitter vs. text search.

What you get

Instant orientation

Every session starts with a project map in the agent's context: what packages exist, how they depend on each other, which files matter. The agent walks in knowing your codebase instead of discovering it file by file.

Architecture-level questions

Ask "what's in this package?" or "what depends on this module?" The agent gets a structural answer, not a file listing.

Impact analysis

Before a change: "show me everything that would break." The agent sees direct callers, downstream dependents, and risk level — before touching code.

Smarter search

code_intel pattern is text search that knows about code structure. Search for definitions (not just any text match), group by directory, or filter by import/export. Falls back from LSP to tree-sitter to ripgrep automatically.

Install

pi install npm:@mrclrchtr/supi-code-intelligence

Quick look

| Action | What the agent can ask | |--------|----------------------| | brief | "Summarize this package / file / project" | | callers | "Who calls this function?" | | callees | "What does this function call?" | | affected | "What breaks if I change this?" | | pattern | "Find this text / pattern" | | index | "What's in this project?" | | implementations | "What implements this interface?" |

Every result includes a confidence label (semantic / structural / heuristic) so the agent knows how much to trust the answer.

Package surfaces

  • @mrclrchtr/supi-code-intelligence/api — reusable architecture/brief helpers
  • @mrclrchtr/supi-code-intelligence/extension — pi extension entrypoint

pi.extensions still points at the real file path ./src/extension.ts inside the package. The /api and /extension paths are consumer-facing package exports, not manifest aliases.

For extension developers

The architecture model and brief generator are exported for reuse:

import { buildArchitectureModel, generateOverview } from "@mrclrchtr/supi-code-intelligence/api";

const model = await buildArchitectureModel("/project");
const overview = generateOverview(model);