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

@yangjingo/skill-adapter

v0.1.3-patch.1

Published

Making Skills Evolve within your Workspace - A evolution management layer for Claude Code and OpenClaw

Readme

Skill-Adapter

Evolve or Die (Adaptāre aut Morī)

Skill-Adapter is an evolution management layer designed for Claude Code and OpenClaw. It handles skill localization, self-iteration, performance evaluation, security scanning, and skill sharing.

中文文档 | User Guide | API Docs | Registry Integration


Philosophy

  • Context-Aware: Eliminates the "information gap" between public Skills and private Workspaces.
  • Session-Driven: Automatically captures user corrections and solidifies them as local Patches.
  • Evaluation-Based: All improvements prove their value through quantifiable metrics.
  • Security-First: Built-in security scanning for safe skill usage and sharing.
  • Share-Ready: Export, import, and publish skills to registries easily.

Quick Start

Installation

npm install -g @yangjingo/skill-adapter

npm install will now auto-check GitHub CLI (gh) and try to install it by default, because sa share auto-PR needs gh.

  • Disable auto install: SA_AUTO_INSTALL_GH=0 npm install -g @yangjingo/skill-adapter
  • Manual install: npm run setup:gh
  • Then authenticate: gh auth login
  • Note: system package manager install may require admin/sudo permission.

Initialize

# Initialize configuration
sa init

# Show current configuration
sa init --show

Core Commands

# Discover hot skills
sa import

# Import a skill
sa import docker-env
sa import ~/.openclaw/skills/docker-env
sa import ./my-skill.zip

# View all available skills (OpenClaw, Claude Code, imported)
sa info

# View specific skill details
sa info docker-env

# View only Claude Code skills
sa info -p claudecode

# Run evolution analysis
sa evolve docker-env
sa evolve docker-env --apply

# View evolution metrics
sa summary docker-env

# Export skill
sa share docker-env -o docker-env.zip

# Create Pull Request
sa share docker-env --pr

# Export from platforms
sa export                    # Export all
sa export docker-env         # Export specific skill

CLI Commands

| Command | Description | |---------|-------------| | sa init | Initialize configuration | | sa import [source] | Import or discover skills | | sa info [skill] | View skill info (default: all platforms) | | sa evolve <skill> | Run evolution analysis | | sa share [skill] | Export or publish skill | | sa export [skill] | Export from platforms | | sa scan [file] | Security scan | | sa summary <skill> | View evolution metrics | | sa config | Manage preferences |


Version Tags

Skill-Adapter automatically generates semantic version tags based on evolution metrics:

| Tag Format | Meaning | |------------|---------| | v1.2.0-cost-15p | Cost reduced by 15% | | v1.2.1-security-2 | Fixed 2 security issues | | v1.3.0-feature-xxx | Added new feature xxx | | v2.0.0-breaking-1 | 1 breaking change |


Configuration

Environment Variables

export SKILL_ADAPTER_REPO="https://github.com/user/skills"
export SKILL_ADAPTER_REGISTRY="http://localhost:3000"
export SKILL_ADAPTER_PLATFORM="skills-sh"

Config File

Config stored at ~/.skill-adapter.json:

{
  "skillsRepo": "https://github.com/user/skills",
  "registryUrl": "http://localhost:3000",
  "defaultPlatform": "skills-sh"
}

Security Scanning

Skill-Adapter includes built-in security scanning to detect potentially malicious patterns in skills before execution or sharing. This feature is inspired by skill-vetter.

Security Patterns Detected

| Category | Patterns | |----------|----------| | Dangerous Commands | rm -rf, sudo rm, mkfs, dd if= | | Network Operations | curl ... sh, wget ... | bash, reverse shells | | Privilege Escalation | chmod 777, chown root, sudo su | | Data Exfiltration | curl -F, wget --post-file, base64 uploads | | Persistence | cron jobs, startup scripts, service installation |

Usage

# Scan a skill file
sa scan ./my-skill.md

# Scan with verbose output
sa scan ./my-skill.md --verbose

# Scan during import (automatic)
sa import ./suspicious-skill.md  # Will warn if issues found

Integration with Evolution

Security scanning is automatically integrated into the evolution workflow:

  • Skills with security issues get flagged before export
  • Evolution suggestions include security improvements
  • Version tags reflect security fixes (v1.2.1-security-2)

Registry Integration

Skill-Adapter can work with any compliant registry. See Registry Integration Guide for building your own registry.

API Endpoints

| Endpoint | Method | Description | |----------|--------|-------------| | /api/skills | GET | List/search skills | | /api/skills/:name | GET | Get skill details | | /api/skills/:name/download | GET | Download as ZIP | | /api/skills | POST | Publish skill | | /api/leaderboard | GET | Get hot skills |


Project Structure

skill-adapter/
├── src/
│   ├── cli.ts              # CLI entry point
│   ├── index.ts            # Module exports
│   ├── core/
│   │   ├── security/       # Security evaluation
│   │   ├── sharing/        # Export/import and registry
│   │   ├── discovery/      # Skill discovery
│   │   ├── versioning/     # Semantic versioning
│   │   ├── config/         # Agent detection
│   │   ├── analyzer.ts     # Session analysis
│   │   ├── patcher.ts      # Skill injection
│   │   ├── workspace.ts    # Workspace rules
│   │   ├── evaluator.ts    # Evolution evaluation
│   │   ├── telemetry.ts    # Data collection
│   │   └── database.ts     # Evolution storage
│   └── types/              # TypeScript definitions
├── docs/
│   ├── USER_GUIDE.md
│   ├── API.md
│   └── REGISTRY_INTEGRATION.md
├── package.json
└── tsconfig.json

Development

# Install dependencies
npm install

# Build
npm run build

# Run CLI
node dist/cli.js --help

# Test commands
node dist/cli.js info
node dist/cli.js import
node dist/cli.js evolve docker-env

Documentation


Acknowledgments

This project references and appreciates the following open-source ecosystems:

  • skills.sh - Open skill ecosystem by Vercel Labs
    • Used as a discovery/recommendation source in sa import
    • Skill-Adapter no longer depends on the skills package at runtime
  • ClawHub - Community skill hub
    • Referenced as part of the community ecosystem and sharing context

Feature Comparison

| Feature | skill-adapter | skills CLI | |---------|--------------|------------| | Skill Discovery | ✅ sa import | ✅ skills find | | Skill Installation | ? manual recommendation (npx skills add ...) | ? skills add | | Security Scanning | ✅ sa scan | ❌ | | Evolution Tracking | ✅ sa evolve | ❌ | | Performance Metrics | ✅ sa summary | ❌ |


License

MIT