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

prototype-tools-v2

v1.0.6

Published

CLI (prototool) to sync bundled Cursor/Claude rules and skills from assets into any repo — init --cursor or init --claude

Readme

prototype-tools

CLI to deep copy the bundled assets/ tree into a target repo as .cursor/ or .claude/. Publish to npm; run from any project root.

Install

npm install prototype-tools
# or
pnpm add -D prototype-tools

Usage

Run from the project root where you want .cursor/ or .claude/ created.

npx proto init --cursor
npx proto init --claude

(proto is the package bin; npx prototool works if the package name resolves that way.)

Behavior

  • Npm install / repo khác: CLI chạy từ node_modules/prototype-tools/dist/cli.js. assets/ được resolve từ root của package đã cài (có cả package.json + thư mục assets/ — nằm trong tarball nhờ package.json"files": ["dist", "assets", ...]). Đích ghi luôn là process.cwd() — phải cd vào root project rồi chạy (npx proto init --cursor → tạo ./.cursor trong project đó).
  • Deep copy: Everything under assets/ is copied recursively into .cursor/ or .claude/ with the same relative paths.
  • Cursor: assets/rules/....cursor/rules/..., assets/skills/....cursor/skills/... (and any other top-level folders under assets/).
  • Claude: Deep copy vào .claude/ rồi format tương thích Claude:
    • Rules: mọi file .mdc trong .claude/rules/ → đổi thành .md, frontmatter Cursor (globs, alwaysApply) map sang Claude (paths; alwaysApply: truepaths: **/*). File .mdc gốc bị xóa sau khi ghi .md.
    • Skills: thư mục con trực tiếp của skills/ mà chỉ có đúng một file .md và chưa có SKILL.md thì được copy thành SKILL.md để Claude discovery (vd. momos-be/momos-be.md → thêm SKILL.md).

Output structure (example)

| Source (package) | After init --cursor | |------------------|------------------------| | assets/rules/momos-fe/tailwind.mdc | .cursor/rules/momos-fe/tailwind.mdc | | assets/skills/momos-ui/SKILL.md | .cursor/skills/momos-ui/SKILL.md | | assets/skills/momos-ui/references/... | .cursor/skills/momos-ui/references/... |

After init --claude, rules are .md only under .claude/rules/; skills tree giữ nguyên, thêm SKILL.md chỉ khi đủ điều kiện như trên.

Develop

npm run build
node dist/cli.js init --cursor

License

ISC