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

@invariance/gps

v0.3.0

Published

gps CLI — codebase context for coding agents.

Downloads

87

Readme

@invariance/gps

A plug-in memory layer for your coding agents. One install gives Claude Code, Codex, and Cursor durable, automatic, symbol-anchored repo memory — notes, decisions, preferences, and invariants captured by lifecycle hooks and surfaced only when the relevant code is touched. Unlike ephemeral todos or manually maintained CLAUDE.md files, gps memory persists across sessions, is anchored to specific symbols, and works identically across all three agents.

Quickstart

cd your-repo
npx -y @invariance/gps setup --yes --with-claude      # or --with-codex / --with-cursor

That's it. setup initializes .gps/, builds the first symbol graph, lifts TODO/FIXME comments into notes, and wires the selected agent.

Full install with all options:

npx -y @invariance/gps setup --yes --with-claude
npx -y @invariance/gps setup --yes --with-codex
npx -y @invariance/gps setup --yes --with-cursor
npx -y @invariance/gps setup --yes --with-claude --with-codex --with-cursor

Governance flags:

gps install claude --capture=inbox         # review captured memory before it activates
gps install claude --promote=safe          # auto-promote recurring safe lessons
gps install claude --auto-suggest          # hook-safe authoring queue nudges; never writes memory

Happy path

gps setup --yes --with-claude                         # init + index + TODO lift + Claude wiring
gps next                                              # first useful commands and sample prepare targets
gps prepare <symbol> --intent "<one-liner>"           # decision-ready brief before edits
gps remember "<one sentence>"                         # save hard-won repo facts
gps save-this "<one sentence>"                        # preview a save command; add --yes to persist
gps done                                              # post-edit self-audit + memory nudges

Full reference

# Reading
gps prepare <symbol> --intent "what you'll change"   # decision-ready brief
gps context <symbol>                                  # multi-strand context
gps impact <symbol>                                   # blast radius
gps tests <symbol>                                    # tests that protect it
gps invariants <symbol>                               # rules that apply
gps find "<query>"                                    # fuzzy symbol search
gps trace <symbol>                                    # git provenance

# Writing — anchored memory
gps save-this "..."                                   # preview "save this?" capture
gps lessons record "..."                              # record a lesson; auto-classified global/scoped
gps notes <symbol>                                    # what previous edits left behind
gps learn-todos                                       # one-shot: lift TODO/FIXME into notes
gps decide <symbol> --decision "..." [--rejected "..."] [--rationale "..."]
gps decisions <symbol>                                # choices recorded, with rejected alternatives

# Server (MCP)
gps serve                                             # MCP stdio server
gps serve --observe                                   # opt-in: record per-symbol query counts only
gps suggest                                           # hot symbols, near-promotions, wasted-search memory nudges
gps suggest --auto                                    # no-op unless auto_suggest=true
gps review-memory --html                              # local visual memory review

All read commands accept --json (stable contract) or --markdown (LLM-optimal).

Requirements

Node >= 20. No native deps — tree-sitter runs as WASM.

Full documentation

github.com/invariance-ai/gps

License

MIT. Built by Invariance.