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

skill-any-code

v1.0.1

Published

Skill Any Code: CLI tool for large codebase understanding and analysis

Readme

🛠️ Skill Any Code (sac)

Redefines codebase indexing by Agent Skills.

Skill Any Code is a high-performance CLI tool designed to transform complex code repositories into "Skill Maps" that Large Language Models (LLMs) and AI Agents can actually navigate. By generating natural language summaries and adhering to the standard Agent Skills protocol, it enables LLMs to explore code through Progressive Disclosure. No more context-window bloat; no more AI hallucinations caused by overwhelming raw source code.

✨ Why Skill Any Code?

  • 🗺️ Progressive Understanding, Zero Context Bloat: Traditional methods "dump" the entire codebase into the LLM, wasting tokens and causing confusion. sac generates hierarchical Markdown summaries, allowing the LLM to navigate layer-by-layer—only diving deep when necessary.
  • 🤖 Native Agent Skills Support: Automatically generates SKILL.md and routing scripts compatible with the Agent Skills specification. Works out-of-the-box with AI-native editors like Cursor, Claude Code, and GitHub Copilot.
  • 🧠 Natural Language Indexing: Translates dry code files into rich descriptions—including overviews, core purposes, key functions, and class definitions—dramatically increasing the LLM's reasoning accuracy.

📦 Quick Start

1. Install the CLI:

npm i -g skill-any-code

npm init
# Config your LLM API Key in ~/.config/skill-any-code/config.yaml

2. Generate Summaries:

cd <your_project_path>

# Start generating summaries
sac

🚀 How it Works

  1. Bottom-Up Recursive Analysis: The CLI starts from the deepest files in your project. It uses LLM power to extract classes, functions, and core logic from raw code. As it moves up, it aggregates these snippets into high-level directory summaries, ensuring every layer of your project has a concise "executive summary."
  2. Semantic Indexing: The process results in a structured Markdown knowledge base. This is not just a file list; it’s a Semantic Index where top-level folders explain "Why" and "What," while leaf-node files explain "How."
  3. Skill Injection: sac deploys a SKILL.md and a cross-platform routing script (get_summary.py) to your root. This grants any AI Agent the "Skill" to navigate your codebase intelligently without reading every line of code.
  4. Progressive Discovery: Instead of a "Big Bang" context dump, the AI explores your repo layer-by-layer:
    • Identify: Check the root summary to find the relevant module.
    • Drill-down: Use the Skill script to fetch sub-directory summaries.
    • Locate: Reach the target file summary with surgical precision.