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

rolecraft

v0.1.3

Published

Install AI agent skills as roles & behaviors directly from any source — zero-dependency CLI for opencode, claude-code, cursor, and more

Readme

RoleCraft — Simple Skill Installer for AI

Awesome npm GitHub Stars Changelog

Zero-dependency CLI to install AI agent skills as roles & behaviors from any source. No marketplace, no registry, no signup — just point it at a local folder or a GitHub repo and it works.

Works with opencode, claude-code, cursor, and all spec-compliant agents.

Why rolecraft?

| Feature | rolecraft | npx add-skill | @agentskill.sh/cli | | --------------------------------- | ---------------- | --------------- | -------------------- | | Zero dependencies | ✅ | ✅ | ❌ (2) | | Local path install | ✅ 1st class | ❌ GitHub only | ❌ marketplace only | | GitHub repo install | ✅ | ✅ | ❌ | | Offline capable | ✅ | ❌ | ❌ | | agentskill.sh lockfile compatible | ✅ | ✅ | ✅ | | Project-level install | ✅ | ✅ | ✅ | | File size | ~3 KB | ~500 KB+ | ~84 KB |

Install

npm install -g rolecraft
# or
npx rolecraft install <source>

Usage

rolecraft install ./path/to/my-skill          # install from local folder
rolecraft install sametcelikbicak/task-decomposer  # install from GitHub
rolecraft list                                 # list installed skills
rolecraft remove <slug>                        # remove a skill
rolecraft --version                            # show version

Install scope

When you run rolecraft install <source> without flags, it asks where to install:

Where do you want to install this skill?
  1) Global (~/.agents/skills/) [default]
  2) Project (./.agents/skills/)
  3) Both

Use flags to skip the prompt:

rolecraft install ./my-skill --global    # ~/.agents/skills/
rolecraft install ./my-skill --project   # ./.agents/skills/
rolecraft install ./my-skill --claude    # also ~/.claude/skills/
rolecraft install ./my-skill --all       # all locations

Source types

Local path — any directory containing SKILL.md:

rolecraft install ./my-skill
rolecraft install ~/projects/my-skill
rolecraft install /absolute/path/to/skill

GitHub repo — shorthand owner/repo:

rolecraft install sametcelikbicak/task-decomposer
rolecraft install sametcelikbicak/coverage-guard

The CLI clones with --depth 1, finds SKILL.md recursively, installs it, and cleans up.

What it does

  1. Reads SKILL.md from the source and parses metadata (slug, name, owner)
  2. Copies all files alongside SKILL.md (references, configs, assets) to the target directory
  3. Updates ~/.agents/.skill-lock.json so agents can discover the skill
  4. Compatible with skills installed by @agentskill.sh/cli, add-skill, or manual installs

How agents discover skills

| Agent | Directory | | ----------- | ------------------------------------------ | | opencode | ~/.agents/skills/ or ./.agents/skills/ | | claude-code | ~/.claude/skills/ or ./.claude/skills/ | | cursor | ~/.cursor/skills/ or ./.cursor/skills/ |

Commands

| Command | Description | | ---------------------------- | --------------------------------- | | rolecraft install <source> | Install a skill (local or GitHub) | | rolecraft list | Show all installed skills | | rolecraft remove <slug> | Uninstall a skill | | rolecraft help | Show this help | | rolecraft version | Show version (--version, -v) |

Project structure

rolecraft/
├── bin/rolecraft.js          # CLI entry point
├── src/
│   ├── commands/
│   │   ├── install.js        # install logic + interactive scope
│   │   ├── list.js           # list installed skills
│   │   └── remove.js         # remove skill + lockfile cleanup
│   └── utils/
│       ├── resolver.js       # source resolver (local / GitHub)
│       ├── installer.js      # copy files to target dirs
│       └── lockfile.js       # read/write .skill-lock.json
├── package.json
├── CHANGELOG.md               # Release history
└── README.md

License

MIT