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.1.0

Published

gps CLI — codebase context for coding agents.

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 install claude      # or: install codex | install cursor
npx -y @invariance/gps index

That's it. Start a new agent session — the memory layer is active.

Full install with all options:

npx -y @invariance/gps init                # write .gps/config.yml + .gps/invariants.yml
npx -y @invariance/gps install claude      # wire CLAUDE.md + .claude skill/hooks + .mcp.json
npx -y @invariance/gps install codex       # wire AGENTS.md + .codex/config.toml (notify + MCP)
npx -y @invariance/gps install cursor      # write .cursor/rules/gps.mdc + .cursor/mcp.json
npx -y @invariance/gps index               # build the symbol graph
npx -y @invariance/gps learn-todos         # bootstrap notes from existing TODO/FIXME

Core 5 commands

gps init                                              # 1. write config files
gps install claude                                    # 2. wire agent integration (or: codex | cursor)
gps index                                             # 3. build the symbol graph
gps prepare <symbol> --intent "<one-liner>"           # 4. decision-ready brief before edits
gps lessons record "<one sentence>"                   # 5. record what an edit taught you

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 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                                           # surface symbols agents touch with no invariant

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.