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

openclaw-skill-boilerplate

v1.0.0

Published

Production-ready boilerplate for building OpenClaw skills. Scaffold, develop, and publish skills to ClaWHub.

Readme

openclaw-skill-boilerplate

CI License: MIT OpenClaw

Production-ready boilerplate for building OpenClaw skills. Scaffold, develop, and publish skills to ClaWHub in minutes.

Quick Start

Scaffold a new skill

npx openclaw-skill-boilerplate my-awesome-skill
cd my-awesome-skill
npm run build

This generates a complete skill project with TypeScript, SKILL.md, and all the boilerplate you need.

Install as a dependency

npm install -g openclaw-skill-boilerplate
openclaw-skill-boilerplate my-skill

What is an OpenClaw Skill?

A skill is a directory with a SKILL.md file and supporting code that extends an AI agent's capabilities. Skills are distributed via ClaWHub and installed with:

npx clawhub@latest install <skill-name>

Project Structure

openclaw-skill-boilerplate/
├── SKILL.md                        # Skill entrypoint (OpenClaw reads this)
├── README.md                       # Documentation
├── package.json                    # npm package config
├── tsconfig.json                   # TypeScript strict mode
├── src/
│   ├── index.ts                    # Main skill logic & exports
│   ├── tools.ts                    # Tool definitions
│   └── types.ts                    # Shared TypeScript types
├── scripts/
│   └── scaffold.ts                 # CLI scaffolding script
├── templates/
│   └── skill/                      # Template files for scaffolding
│       ├── SKILL.md.template
│       ├── src/index.ts.template
│       ├── package.json.template
│       ├── tsconfig.json
│       └── .gitignore
├── examples/
│   └── hello-world/                # Minimal working example
│       ├── SKILL.md
│       └── src/index.ts
└── .github/
    └── workflows/
        └── ci.yml                  # CI: build & type check

SKILL.md Spec

Every OpenClaw skill needs a SKILL.md with YAML frontmatter:

---
name: my-skill
description: What your skill does
version: 0.1.0
author: your-name
tags:
  - category
triggers:
  - natural language trigger phrase
---

The body contains documentation that the AI agent reads to understand how to use the skill, including tool descriptions, parameters, and examples.

Developing Your Skill

1. Define your tools

Edit src/tools.ts (or the generated src/index.ts) to define the tools your skill provides:

const myTool: SkillTool = {
  name: "my-tool",
  description: "What this tool does",
  parameters: [
    {
      name: "input",
      type: "string",
      description: "The input to process",
      required: true,
    },
  ],
  execute: async (args) => {
    const input = args.input as string;
    return { success: true, data: `Result: ${input}` };
  },
};

2. Document in SKILL.md

Add your tool to the ## Tools section of SKILL.md so the AI agent knows how to use it.

3. Build

npm run build        # Compile TypeScript
npm run typecheck    # Type check only
npm run dev          # Watch mode

Publishing to ClaWHub

Once your skill is ready:

# 1. Make sure it builds
npm run build

# 2. Publish to ClaWHub
npx clawhub@latest publish

# 3. Others can install it with
npx clawhub@latest install your-skill-name

Scripts

| Script | Description | |--------|-------------| | npm run build | Compile TypeScript to dist/ | | npm run dev | Watch mode compilation | | npm run typecheck | Type check without emitting | | npm run scaffold | Scaffold a new skill (dev mode) |

Example

See examples/hello-world/ for a minimal working skill that demonstrates the pattern.

License

MIT