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

repo-skills

v0.1.0

Published

Scaffold repo skills with canonical .agents/skills/ and provider symlinks

Readme

repo-skills

CLI to scaffold repository skills with a single canonical location and symlinks into each AI provider's skills directory.

Skills are created at .agents/skills/<skill-name>/ (the source of truth). For providers that use a different path, repo-skills creates relative symlinks so every tool sees the same skill content.

Supported providers

| Provider | ID | Skills directory | Symlink | | ------------ | ---------- | ------------------ | ------- | | Cursor | cursor | .cursor/skills | Yes | | Claude Code | claude | .claude/skills | Yes | | Codex | codex | .agents/skills | No | | Windsurf | windsurf | .windsurf/skills | Yes |

Codex reads .agents/skills/ directly, so no symlink is created for it.

Requirements

  • Node.js 18+
  • Git (optional — used to resolve the project root when run inside a repo)

Local setup

git clone <repo-url>
cd repo-skills-cli
npm install
npm run build

Run the CLI from the project directory:

node dist/index.js <skill-name>

Link it globally for local development:

npm link
repo-skills <skill-name>

CLI usage

repo-skills <skill-name> [options]

Arguments

  • <skill-name> — Skill name in kebab-case (e.g. my-skill, speckit-plan). Lowercase letters, numbers, and hyphens only.

Options

| Option | Description | | ------ | ----------- | | -a, --agent <agents...> | Target providers. Comma-separated and/or repeatable. | | -y, --yes | Replace broken symlinks without prompting. | | --cwd <path> | Use this directory as the project root instead of auto-detection. | | -h, --help | Show help. |

Interactive mode

Omit --agent to get a multiselect prompt for which providers to wire up:

repo-skills my-skill

Non-interactive examples

# Cursor and Claude only
repo-skills my-skill --agent cursor,claude

# All providers (repeatable flag)
repo-skills my-skill -a cursor -a claude -a codex -a windsurf

# Replace an existing broken symlink
repo-skills my-skill --agent cursor --yes

# Scaffold inside a specific directory
repo-skills my-skill --agent cursor --cwd ./examples

What gets created

Running repo-skills my-skill --agent cursor,claude produces:

.agents/skills/my-skill/SKILL.md   # canonical skill (created)
.cursor/skills/my-skill            # symlink → .agents/skills/my-skill
.claude/skills/my-skill            # symlink → .agents/skills/my-skill

SKILL.md is scaffolded with frontmatter:

---
name: my-skill
description: ""
---

Edit description and add the skill body after the frontmatter.

Project root

By default, repo-skills resolves the project root as:

  1. The git repository root (when cwd is inside a git repo), or
  2. The current working directory (when not in a git repo).

Use --cwd to override this — useful for monorepos or non-git layouts.

Errors

  • Skill already exists — The canonical path .agents/skills/<name>/ is present. Remove it or pick another name.
  • Invalid skill name — Use kebab-case only.
  • Unknown provider — Check the provider IDs in the table above.
  • Symlink already exists — A path exists but points elsewhere. Pass -y to replace it, or remove the path manually.
  • Windows symlinks — Enable Developer Mode or run the terminal as Administrator.

Development

npm install
npm run build    # compile to dist/
npm test         # vitest

The published binary is dist/index.js, exposed as the repo-skills command via package.json bin.