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

create-skills

v0.0.4

Published

Scaffolding tool for creating Agent Skills - quickly generate skill templates with proper structure

Readme

create-skills

A scaffolding tool for quickly creating Agent Skills with the proper structure and templates.

What are Agent Skills?

Agent Skills are a lightweight, open format for extending AI agent capabilities with specialized knowledge and workflows. A skill is a folder containing a SKILL.md file with metadata and instructions, plus optional scripts, templates, and reference materials.

Installation

npm init skills <skill-name>

Usage

Basic Usage

Create a new skill with a default template:

npm init skills my-skill

Interactive Mode

If you don't provide a skill name or description, you'll be prompted interactively:

npm init skills

With Description

Provide a custom description for your skill:

npm init skills pdf-processor --description "Process and extract data from PDF files"

With Optional Metadata

Include additional metadata like author, version, tags, and license:

npm init skills pdf-processor \
  --description "Process and extract data from PDF files" \
  --author "John Doe" \
  --version-flag "1.0.0" \
  --tags "pdf,processing,documents" \
  --license "MIT"

Options

  • -d, --description <desc> - Add a description for the skill (optional, will prompt if not provided)
  • --author <name> - Author name (optional)
  • --version-flag <ver> - Version number (optional)
  • --tags <tags> - Comma-separated tags (optional)
  • --license <license> - License type (optional)
  • -h, --help - Show help information
  • -v, --version - Show version number

Generated Structure

The tool creates a complete skill structure:

my-skill/
├── SKILL.md          # Required: Main skill instructions and metadata
├── scripts/          # Optional: Executable scripts
├── references/       # Optional: Documentation and references
├── assets/           # Optional: Templates and resources
└── README.md         # Usage information

SKILL.md Format

The generated SKILL.md includes proper YAML frontmatter with required and optional metadata:

---
name: my-skill
description: A skill for my-skill functionality.
author: John Doe
version: 1.0.0
tags:
  - pdf
  - processing
license: MIT
---

# My-skill Skill

## When to use this skill
Use this skill when you need to...

## How it works
1. First step...
2. Second step...
3. Third step...

## Examples
Provide examples of how to use this skill...

## Notes
Add any additional notes or considerations here...

Examples

Create a PDF Processing Skill

npm init skills pdf-processor --description "Extract text and tables from PDF files"

Create a Data Analysis Skill with Metadata

npm init skills data-analyzer \
  --description "Analyze datasets and generate reports" \
  --author "Jane Doe" \
  --tags "data,analysis,reports" \
  --license "Apache-2.0"

Next Steps After Creation

  1. Navigate to your skill directory: cd my-skill
  2. Edit SKILL.md to add your skill's specific instructions
  3. Add executable scripts to the scripts/ directory
  4. Include reference materials in references/
  5. Add templates or other assets in assets/

Skill Validation

After creating your skill, you can validate it using the skills-ref library:

skills-ref validate ./my-skill

Features

  • Interactive Mode: Prompts for required and optional metadata when not provided
  • Proper Structure: Automatically creates the correct directory layout
  • YAML Frontmatter: Generates valid SKILL.md with required metadata
  • Optional Metadata: Supports author, version, tags, and license fields
  • Smart Filtering: Only includes metadata fields that have actual values
  • Optional Directories: Includes scripts, references, and assets folders
  • Validation: Validates skill names and checks for existing directories
  • Helpful Messages: Provides clear next steps and usage information

Agent Skills Specification

This tool follows the Agent Skills specification. Skills created with this tool are compatible with agents that support the Agent Skills format.

Required Elements

  • SKILL.md file with YAML frontmatter containing:
    • name: A short identifier
    • description: When to use this skill

Optional Elements

  • scripts/ directory for executable code
  • references/ directory for documentation
  • assets/ directory for templates and resources

Contributing

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

License

MIT

Links