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

@atheory-ai/skillex

v0.11.0

Published

Skill management for AI agents in Node.js projects

Readme

Skillex

Skill management for AI agents in polyglot projects.

Skillex helps agents load the right guidance for the code they are working on without dumping an entire repo's docs into context. It indexes repo skills, package skills, packs, scope rules, and installed package versions, then answers targeted queries in microseconds.

What Skillex does

  • Resolves the right skills for a file path, package, topic, or tag
  • Handles monorepos and multiple installed versions of the same package
  • Separates public consumer skills from private maintainer skills
  • Activates pack-shipped skills from project files, dependencies, and detectors
  • Lets packages and Go modules ship skillex/pack.yaml with their code
  • Exposes the index through both MCP and a CLI fallback
  • Can experimentally discover and invoke trusted downstream MCP capabilities without registering them individually with the host
  • Generates AGENTS.md instructions for agents that cannot use MCP directly

Recommended install

For cross-ecosystem use, install Skillex as a global platform utility. See the main project README for the universal installer.

Node dev dependency

Use this npm package when a Node.js project wants Skillex pinned as local dev tooling:

npm install --save-dev @atheory-ai/skillex
# or
pnpm add -D @atheory-ai/skillex
# or
yarn add -D @atheory-ai/skillex

GitHub Releases are the canonical signed binaries. This package contains only a wrapper, with no native payload or platform dependencies. Postinstall downloads and SHA-256-verifies the archive from v<package-version>; runtime retries if installation was offline or scripts were disabled, and verifies the cached archive before extracting and executing a fresh binary.

Requires Node.js 18+ and tar (ZIP-capable tar is included in Windows 10+). Supports macOS arm64/x64, Linux arm64/x64, and Windows x64. Downloads require HTTPS access to GitHub and its asset CDN. Checksum verification does not validate cosign signatures.

Set SKILLEX_CACHE_DIR to override the default $XDG_CACHE_HOME/skillex or ~/.cache/skillex archive cache. SKILLEX_SKIP_DOWNLOAD=1 skips postinstall only; first use still acquires the release. SKILLEX_OFFLINE=1 forbids downloads and requires a valid cache. Warm the cache online, or seed <cache>/<package-version>/<platform>-<arch>/ with the matching canonical archive and checksums.txt. Missing or corrupt offline archives fail clearly. Registry access alone is insufficient for a first run. Cached releases survive removal of node_modules; remove a version directory to evict it.

Experimental downstream MCP broker

Skillex 0.9.0 includes an explicitly opt-in downstream MCP capability broker. The host registers only Skillex; enabled projects can discover contextual MCP capabilities and have Skillex invoke the selected trusted server lazily. Existing skills-only projects are unchanged.

This broker and its authentication integrations are experimental. The protocol flows have automated conformance coverage, but interoperability is not certified for every MCP server, identity provider, or enterprise deployment. See the main project documentation for configuration, security boundaries, and the current support matrix.

Quick start

Initialize Skillex in your repository:

skillex init

Rebuild the local skill index:

skillex refresh

Query the skills that apply to a file:

skillex query --path packages/app-a/src/auth.ts

Query by topic, tag, or package:

skillex query --topic auth
skillex query --tags migration,breaking-change
skillex query --package @acme/foo

Use a selected result to read only the guidance needed:

skillex query --path packages/app-a/src/auth.ts --search "session handling"
skillex read --ref <ref-from-query> --section <optional-section-id>

query returns bounded discovery summaries. Narrow broad results before reading a selected skill or section. --format content is retained for backward compatibility, but is not the recommended agent workflow.

Example workflow

  1. Add repo skills in skills/ and configure scopes in skillex.json
  2. Run skillex refresh after changing skills/, configuration, packs, or installed dependencies. A running MCP server updates project skill directories already in the index, such as .cursor/skills, without another refresh
  3. Let your agent query, narrow, and read only the skills relevant to its current task

Packs

Packs are Skillex's ecosystem extension mechanism. A pack bundles skill files with activation rules and optional detectors:

skillex/
  pack.yaml
  usage.md
name: my-framework
version: 1.0.0
detectors:
  my-framework:
    matches:
      - dependency:
          source: npm-package
          name: my-framework
skills:
  - file: usage.md
    activate-when:
      detector: my-framework
    scope: boundary

Projects can commit packs locally, and libraries can ship packs with their package/module source. Go modules are supported through go.mod, local replace, and vendor module roots; Skillex does not download dependencies during refresh or query.

Why this exists

Without scoped skill retrieval, agents either get too little context or far too much of it. Skillex moves scope resolution into deterministic indexing so the model receives the small, correct slice of guidance for the current path and dependency boundary.

Repository

  • Source: https://github.com/atheory-ai/skillex
  • Documentation: https://github.com/atheory-ai/skillex/blob/main/README.md