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 🙏

© 2025 – Pkg Stats / Ryan Hefner

lmskills-cli

v0.1.0

Published

CLI tool to fetch and install Claude skills from GitHub

Readme

lmskills-cli

A command-line tool to easily fetch and install Claude skills from GitHub repositories.

Installation

Option 1: Use with npx (Recommended)

No installation required! Run directly:

npx lmskills-cli <command>

Option 2: Install Globally

npm install -g lmskills-cli

Then use the shorter command:

lmskills <command>

Usage

Install a Skill

Install a skill from a GitHub subdirectory URL:

# Install locally (project-specific .claude directory)
lmskills install https://github.com/owner/repo/tree/main/path/to/skill

# Install globally (user-wide .claude directory)
lmskills install https://github.com/owner/repo/tree/main/path/to/skill --global

The CLI will:

  • Parse the GitHub URL to identify the repository and subdirectory
  • Download all files from that subdirectory
  • Copy them to .claude/skills/<skill-name>/ (local or global)
  • Track the installation in metadata for easy management

List Installed Skills

View all installed skills:

# List local skills
lmskills list

# List global skills
lmskills list --global

Remove a Skill

Uninstall a skill:

# Remove local skill
lmskills remove <skill-name>

# Remove global skill
lmskills remove <skill-name> --global

Alias: lmskills rm <skill-name>

Examples

Using npx (no installation required)

# Install a skill locally
npx lmskills-cli install https://github.com/anthropics/claude-code/tree/main/skills/example-skill

# Install a skill globally
npx lmskills-cli install https://github.com/user/skills/tree/main/my-awesome-skill -g

# List all local skills
npx lmskills-cli list

# Remove a skill
npx lmskills-cli rm example-skill

Using global installation

# Install a skill locally
lmskills install https://github.com/anthropics/claude-code/tree/main/skills/example-skill

# Install a skill globally
lmskills install https://github.com/user/skills/tree/main/my-awesome-skill -g

# List all local skills
lmskills list

# Remove a skill
lmskills rm example-skill

Directory Structure

Local Installation

Skills are installed to .claude/skills/ in your current working directory:

your-project/
└── .claude/
    └── skills/
        ├── .lmskills-metadata.json
        ├── skill-one/
        │   ├── SKILL.md
        │   └── ...
        └── skill-two/
            ├── SKILL.md
            └── ...

Global Installation

Skills are installed to .claude/skills/ in your home directory:

~/.claude/
└── skills/
    ├── .lmskills-metadata.json
    └── skill-name/
        ├── SKILL.md
        └── ...

Metadata

The CLI maintains a .lmskills-metadata.json file in the skills directory to track:

  • Skill name
  • Source GitHub URL
  • Installation timestamp
  • Installation path
  • Whether it's a global or local installation

Requirements

  • Node.js 18.0.0 or higher
  • Git repository URL must be in the format: https://github.com/owner/repo/tree/branch/path/to/skill

GitHub API

The CLI uses the GitHub API without authentication, which has rate limits:

  • 60 requests per hour for unauthenticated requests
  • To increase the limit, you can set a GitHub personal access token as an environment variable (feature coming soon)

Development

To work on the CLI locally:

# Clone the repository
git clone https://github.com/your-org/lmskills.git
cd lmskills/cli

# Install dependencies
npm install

# Build the TypeScript code
npm run build

# Link for local testing
npm link

# Now you can use 'lmskills' command globally
lmskills --help

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.