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

skill-creator

v1.5.1

Published

Create claude-code-skills with documentation management

Readme

Skill Creator

A powerful composite tool for creating and managing Claude Code skills. It serves as both:

  1. CLI Tool - A TypeScript/Node.js command-line interface for skill management
  2. Claude Code Subagent - An intelligent agent that automates skill creation workflow

Features

Core Capabilities

  • 🚀 Automated Skill Creation: Generate skills with proper folder naming (package@version format)
  • 📚 Context7 Integration: Download and slice documentation from Context7 with automatic project ID detection
  • 🔍 Intelligent Search: ChromaDB-powered semantic search with automatic indexing
  • 💾 Dynamic Content Management: Add custom knowledge with deduplication

CLI & Subagent

  • 🛠️ Modern TypeScript: Full type safety with ESM modules
  • 🎯 Interactive CLI: Professional command-line interface with inquirer prompts
  • 🤖 Subagent Mode: Intelligent agent that handles the entire skill creation workflow
  • 📦 Flexible Storage: Store skills in project (.claude/skills/) or user directory (~/.claude/skills)

Installation

Install skill-creator

npm install -g skill-creator

Verify Installation

After installation, you can verify that the MCP servers are working:

# Check if Context7 MCP is accessible
skill-creator --help

# The help should show all commands if MCP servers are properly configured

Prerequisites

Before installing skill-creator, make sure you have the required MCP (Model Context Protocol) servers installed for full functionality:

# Install from npm
npm install -g @upstash/context7-mcp

# Or follow installation guide: https://github.com/upstash/context7?tab=readme-ov-file
# Install from npm
npm install -g @chromedevtools/chrome-devtools-mcp

# Or follow installation guide: https://github.com/ChromeDevTools/chrome-devtools-mcp?tab=readme-ov-file

After installing the MCP servers, you need to configure them in your Claude Code settings. Add the following to your Claude Code configuration:

{
  "mcpServers": {
    "context7": {
      "command": "npx",
      "args": ["-y", "@upstash/context7-mcp", "--api-key", "YOUR_CONTEXT7_API_KEY"]
    },
    "chrome-devtools": {
      "command": "npx",
      "args": ["-y", "chrome-devtools-mcp@latest"]
    }
  }
}

Note: The MCP servers are required for full functionality. Without them, some features like Context7 documentation downloading and web-based research may not work properly.

Quick Start

1. Install as CLI Tool

npm install -g skill-creator

2. Setup for Claude Code

# Interactive installation - installs skill-creator to Claude Code
skill-creator init

3. Choose Your Usage Mode

CLI Mode - Full Control

Use commands directly for complete control over the skill creation process.

Subagent Mode - Effortless

Simply describe what you want, and let the subagent handle everything automatically.

User: Use skill-creator subagent to help me create a vitest skill

User: Tell me about vitest testing patterns

The skill-creator subagent will handle the entire workflow automatically.

4. Create a Skill by cli

# Search for packages
skill-creator search "react query"

# Get package information (Options)
skill-creator get-info @tanstack/react-query

# Create skill with custom package name (recommended)
skill-creator create-cc-skill --scope user --name "@tanstack/react-query" --description "React Query for data fetching" @tanstack/react-query@5

# Create skill with interactive prompts
skill-creator create-cc-skill --interactive --description "React Query for data fetching" @tanstack/react-query@5

# Download documentation (automatically builds search index)
skill-creator download-context7 --package @tanstack/react-query /tanstack/react-query

# Search your skill knowledge base
skill-creator search-skill --package @tanstack/react-query "useQuery hook"

Commands

Installation & Setup

| Command | Description | | --------- | ----------------------------------------------------------- | | init | Install skill-creator as Claude Code subagent (interactive) | | init-cc | Install skill-creator as subagent in user directory |

Skill Creation (CLI Mode)

| Command | Description | | ------------------------ | -------------------------------- | | search <keywords> | Search npm packages | | get-info <package> | Get detailed package information | | create-cc-skill <name> | Create a new skill directory |

Content Management

| Command | Description | | -------------------------------- | ----------------------------------------- | | download-context7 <project_id> | Download and slice Context7 documentation | | search-skill <query> | Search in skill knowledge base | | add-skill | Add custom knowledge to skill |

Tip: When using the skill-creator as a subagent, you don't need to remember these commands. Just tell Claude what you want to create, and the subagent will handle the entire workflow automatically.

Options

  • --scope <user|current>: Storage location for skills (required)
  • --name <name>: Package name for the skill (recommended)
  • --pwd <path>: Working directory for skill operations
  • --package <name>: Use package name to find skill directory
  • --description <description>: Custom description for the skill
  • --force: Force overwrite existing files
  • --skip-chroma-indexing: Skip automatic ChromaDB index building
  • --interactive: Enable interactive prompts

Workflow

Complete Skill Creation Workflow

  1. Search Package: Find the right package for your skill

    skill-creator search "state management"
  2. Get Package Info: Retrieve detailed information

    skill-creator get-info zustand
  3. Create Skill: Set up skill directory (requires --scope, recommended to use --name)

    # With custom package name (recommended)
    skill-creator create-cc-skill --scope current --name zustand --description "Zustand state management"
    
    # With interactive prompts
    skill-creator create-cc-skill --scope current --interactive zustand
  4. Download Documentation: Get Context7 docs with automatic indexing

    skill-creator download-context7 --package zustand /zustand
  5. Add Custom Knowledge: Enhance with your own content

    skill-creator add-skill --package zustand --title "Best Practices" --content "Your custom notes"
  6. Search Knowledge Base: Query your skill

    skill-creator search-skill --package zustand "typescript patterns"

Directory Structure

.claude/skills/
└── package@version/
    ├── assets/
    │   └── references/
    │       ├── context7/     # Auto-sliced Context7 docs
    │       └── user/         # Custom knowledge files
    ├── config.json          # Skill configuration
    └── SKILL.md             # Skill documentation

Development

Prerequisites

Make sure you have the MCP servers installed and configured before development:

# Verify MCP servers are available
npm list -g @upstash/context7-mcp @chromedevtools/chrome-devtools-mcp

Development Setup

# Install dependencies
npm install

# Development mode with watch
npm run dev

# Build TypeScript
npm run build

# Run tests
npm test

# Run tests with coverage
npm run test:coverage

# Lint code
npm run lint

# Type check
npm run type-check

Testing MCP Integration

To test MCP server integration during development:

# Test Context7 integration
skill-creator get-info @upstash/context7

# Test Chrome DevTools integration
skill-creator download-context7 --help

Configuration

Skills are configured via config.json in the skill directory:

{
  "context7LibraryId": "/org/project",
  "searchEngine": {
    "type": "chroma",
    "chromaPath": "./chroma"
  }
}

Architecture

  • TypeScript + ESM: Modern JavaScript with full type safety
  • ChromaDB Integration: Vector search for intelligent document retrieval
  • Context7 API: Automated documentation downloading and slicing
  • CLI-first Design: Professional command-line interface
  • Modular Architecture: Clean separation of concerns

License

MIT


For detailed subagent usage, see templates/skill-creator.md