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

agent-cargo

v0.1.1

Published

Frontend-focused versioned tooling that ships coding-agent instructions (AGENTS.md, rules, skills, presets) into any repo as a syncable dev dependency

Readme

agent-cargo

Frontend-focused cargo for AI coding agents. Materializes universal JS/HTML/CSS agent instructions, agents, skills, rules, and tool adapters (Codex) into downstream projects from layered presets, and keeps them in sync without ever overwriting local changes.

Status: pre-release (0.1.0 in development).

Presets

agent-cargo is a frontend tool: every built-in preset targets a frontend stack. Enable them in order (core always first):

| Preset | Scope | | ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | core | Any JS/HTML/CSS frontend project — universal operating principles, generic specialist agents, code review / documentation / git workflow skills. | | react-next | React and Next.js projects — performance, composition, a11y, security, TypeScript conventions. | | component-library | A concrete monorepo harness modeled on the component-library repo: React 19.2 + Next.js 16 (App Router), Turborepo/npm workspaces, Sanity CMS (GraphQL/GROQ codegen), apps/web + apps/docs-web, packages/{ui,sections-ui,widgets-ui,lib,hooks}, design tokens, Figma rules, Husky, and the repomix snapshot capability. Paths are concrete, not templated. |

Why agent-cargo

Other tools in this space generate agent configs from a single source. agent-cargo instead gives agent instructions a package-manager lifecycle (init → diff → sync → check):

  • Committed, not gitignored. Managed files are committed to your repo by default, so agents see instructions in fresh clones, worktrees, and CI checkouts without running anything first.
  • Conflicts, not overwrites. Locally edited managed files are detected via per-file checksums and surfaced as conflicts you resolve — never silently overwritten, no .bak litter.
  • Pinned, not global. Installed as a dev dependency, so your team and CI run the same version of the instructions and upgrade deliberately, like any other dependency.
  • Verified adapters only. An adapter ships only after the tool's discovery contract is verified against official docs, and it writes only surfaces the tool natively reads.

Quick start

npm install -D agent-cargo
npm exec -- agent-cargo init --package-manager npm

For a project with repo-specific rules and repository snapshots:

npm exec -- agent-cargo init \
  --preset core --preset react-next --preset component-library \
  --package-manager npm --install

Space-separated values are also accepted: --preset core react-next component-library.

Commands

| Command | Purpose | | -------------------- | --------------------------------------------------------- | | agent-cargo init | Initialize the cargo in the current project. | | agent-cargo sync | Apply managed-file updates from the installed version. | | agent-cargo diff | Preview what sync would change (read-only). | | agent-cargo check | Validate config, manifest, and managed files. | | agent-cargo add | Enable a capability (repomix) and install its dependency. | | agent-cargo update | Update a capability dependency to the tested version. |

Options and details (common options, init flags, what init creates): docs/commands.md.

Configuration

.agent-cargo.json in the project root; presets, tools, and packageManager are required. Full reference: docs/configuration.md. JSON Schema: schemas/agent-cargo-config.schema.json.

Repomix snapshots

The component-library preset enables the repomix capability by default. For an existing project, enable presets, install the dependency and generate the first snapshot:

# 1. Add presets to .agent-cargo.json, then materialize their files
agent-cargo sync

# 2. Install the repomix dependency and its npm scripts
agent-cargo add repomix --install --yes

# 3. Generate a snapshot
npm run repomix:generate

# 4. Attach the pre-push hook (snapshot freshness check)
agent-cargo sync --enable-repomix-pre-push

Details (workspace discovery, generation modes, hooks, drift check): docs/repomix.md.

Documentation

Development

npm install
npm run verify   # lint + format + type-check + tests
npm pack --dry-run --json

Vendored Vercel skills under presets/react-next/skills/ are refreshed from vercel-labs/agent-skills:

npm run skills:check    # detect drift against upstream (network)
npm run skills:update   # re-sync snapshots and update the pinned commit

Minimum runtime: Node.js >= 24 (ESM only).

Platform: macOS only. agent-cargo is developed and tested on macOS. Windows and Linux are not supported.

License

MIT. See LICENSE.