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

cc-skills

v0.1.0

Published

Thin wrapper around `npx skills add` that installs skills into one or more CC-MIRROR Claude Code instances by setting CLAUDE_CONFIG_DIR per instance.

Downloads

29

Readme

cc-skills

npm version License: MIT Node.js Version

A thin wrapper around npx skills add for CC-MIRROR Claude Code instances.

It discovers one or more CC-MIRROR variants, sets CLAUDE_CONFIG_DIR to the target instance's config/ directory, and then delegates the actual install to npx skills add.

中文文档

Features

  • Multi-instance support - Install skills to one or more CC-MIRROR instances
  • Automatic discovery - Detects CC-MIRROR instances automatically
  • Zero dependencies - Uses only Node.js built-in modules
  • Dry-run mode - Preview commands before execution
  • Graceful fallback - Works even without cc-mirror CLI

Why this exists

skills already knows how to install into a Claude Code config directory when CLAUDE_CONFIG_DIR is set.

What this package adds is only the instance orchestration layer:

  • Discover CC-MIRROR instances
  • Target one instance or all instances
  • Loop over targets
  • Set CLAUDE_CONFIG_DIR per instance
  • Forward the real install to npx skills add

Installation

Run directly with npx:

npx cc-skills instances
npx cc-skills add better-auth/skills --instance mclaude-auth --copy -y

Or install globally:

npm install -g cc-skills
cc-skills instances
cc-skills add better-auth/skills --all-instances --skill "*" --copy -y

Usage

instances - List CC-MIRROR instances

cc-skills instances
cc-skills instances --json
cc-skills instances --cc-root ~/.cc-mirror

add - Install skills to instances

cc-skills add <source> (--instance <name> | --all-instances) [options]

Examples:

# Single instance
cc-skills add better-auth/skills --instance mclaude-auth --copy -y

# Multiple named instances
cc-skills add better-auth/skills --instance mclaude-auth --instance mclaude-security --copy -y

# All instances
cc-skills add better-auth/skills --all-instances --skill "*" --copy -y

# Dry run (preview without executing)
cc-skills add better-auth/skills --instance mclaude-auth --dry-run --copy -y

Options

Wrapper options (handled by cc-skills)

| Option | Description | |--------|-------------| | -i, --instance <name> | Target a specific CC-MIRROR instance (repeatable) | | --all-instances | Target all discovered instances | | --cc-root <path> | Custom CC-MIRROR root directory | | --cc-bin-dir <path> | Forwarded to cc-mirror list | | --dry-run | Print commands without executing them | | --fail-fast | Stop after the first failed install | | --verbose | Print the underlying npx commands |

Forwarded options (passed to npx skills add)

| Option | Description | |--------|-------------| | --copy | Copy files instead of symlinking | | -y | Skip confirmation prompts | | --skill <name> | Install specific skill (use * for all) | | --list | List available skills in source |

Important Behavior

This wrapper always injects:

-g -a claude-code

This means every install is done in the target instance's global Claude Code scope.

Do not use skills --all

The skills --all flag means all skills to all agents, which is broader than this wrapper's scope.

If you want all skills from a repository, use:

cc-skills add owner/repo --all-instances --skill "*" --copy -y

How It Works

Discovery phase:

npx -y cc-mirror list --json

Installation phase (per instance):

CLAUDE_CONFIG_DIR="~/.cc-mirror/<instance>/config" \
npx -y skills add <source> -g -a claude-code ...

Fallback Behavior

If cc-mirror list --json is unavailable or fails, the wrapper falls back to scanning the CC-MIRROR root directory and reading variant.json / config/ directly.

Development

# Run tests
npm test

# Run CLI locally
node bin/cc-skills.js help

# Create local tarball
npm run pack:local

Publishing

npm publish

License

MIT