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

ai-skills-sync

v0.1.3

Published

AI skills that activate based on your project, so your agent's context goes to what matters

Readme

ai-skills-sync

AI skills that activate based on your project, so your agent's context goes to what matters.

npm version CI license

Every installed AI skill competes for your agent's limited context window. Install too many globally, and relevant skills get crowded out by irrelevant ones. As more companies ship skills to replace their APIs and docs, this only gets worse.

ai-skills-sync gives you one config file that controls which skills are active where:

  • Global - skills synced to every project (e.g., TDD, debugging)
  • Project-specific - skills that only appear in the repos that need them
  • Conditional - skills that auto-activate based on your files (React skills when .tsx exists, Terraform skills when .tf exists)

Quick Start

# Run in any project directory - creates config on first run
npx ai-skills-sync

CLI

Adding Skills

# Add a skill globally (synced to every project)
npx ai-skills-sync add anthropics/skills --skill frontend-design

# Add a local skill globally (will be synced to every project)
npx ai-skills-sync add ~/my-skills/code-review

# Add a local skill to the current project only
npx ai-skills-sync add "C:\my-local-skills\code-review" --project

# Add a conditional skill - activates only when matching files exist in a project
npx ai-skills-sync add expo/skills --when "**/*.tsx"
npx ai-skills-sync add cloudflare/skills --when "wrangler.toml"

# Add a skill to the current project only
npx ai-skills-sync add supabase/agent-skills --project

# Pin to a specific version
npx ai-skills-sync add anthropics/skills@main --skill frontend-design

Running npx ai-skills-sync resolves which skills apply to the current project and copies them into all detected agent directories (.claude/skills/, .cursor/skills/, etc.). Global skills are always synced, conditional skills activate only when their file patterns match, and project-specific skills appear only where assigned.

Managing Skills

Run npx ai-skills-sync in any project to fetch your configured skills and place them where your agents can use them:

# Sync skills for the current project
npx ai-skills-sync

# Preview what sync would do without writing files
npx ai-skills-sync --dry-run

# Show active skills for the current project
npx ai-skills-sync list

# Remove a skill from config
npx ai-skills-sync remove anthropics/skills

# Show config and state file locations
npx ai-skills-sync config

# Clean up stale cache entries
npx ai-skills-sync cache clean

Flags

| Flag | Description | |------|-------------| | --dry-run | Preview what sync would do without writing files | | --no-color | Disable color output (also respects NO_COLOR env var) |

See full CLI reference for detailed usage.

Configuration

Skills are managed via a single JSON config file at ~/.config/ai-skills-sync/config.json. The CLI handles this for you, but you can also edit it directly:

{
  "$schema": "https://cdn.jsdelivr.net/npm/ai-skills-sync@latest/schema.json",

  "global": [
    { "source": "anthropics/skills", "path": "frontend-design" }
  ],

  "projects": {
    "~/work/api-service": [
      { "source": "supabase/agent-skills" }
    ]
  },

  "conditional": [
    {
      "when": "**/*.tsx",
      "skills": [{ "source": "expo/skills" }]
    }
  ]
}

See configuration docs for the full reference.

Supported Agents

Skills are synced to all detected agent directories in your project:

| Agent | Directory | |-------|-----------| | Agent Skills standard | .agents/skills/ | | OpenCode | .opencode/skills/ | | Claude Code | .claude/skills/ | | GitHub Copilot | .github/skills/ | | Cursor | .cursor/skills/ |

Works with any agent that follows the Agent Skills open standard, including Goose, Amp, VS Code, and others.

How It Works

  1. Read your config file
  2. Find the project root (nearest .git)
  3. Resolve applicable skills (global + project-specific + conditional matches)
  4. Fetch from GitHub (cached locally) or resolve local paths
  5. Copy to all detected agent directories
  6. Clean up conditional skills that no longer match
  7. Save sync state for fast re-runs

See how it works for the full details.

Documentation

Requirements

  • Node.js >= 22
  • Git (for fetching skills from GitHub)

Contributing

See CONTRIBUTING.md for development setup and guidelines.

License

MIT