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

opencode-autoskills

v1.1.2

Published

OpenCode plugin + setup CLI for autoskills (midudev)

Readme

opencode-autoskills

OpenCode plugin by encode90 that saves setup time by detecting, selecting, and installing AI skills from a single command.

One setup. Type /autoskills. Pick what you want in plain language. Keep your project moving.


⚡ Why this project exists

opencode-autoskills turns a repetitive setup task into a fast OpenCode workflow:

  • detect the stack
  • show suggested skills
  • let you choose what stays
  • install everything into .agents/skills/

The result: less manual setup, less context switching, and faster onboarding for the current project.


🧠 How it works

/autoskills
  → OpenCode calls the autoskills tool
  → The tool runs a real dry-run detection
  → You choose what to keep
  → You can answer with natural language or list numbers
  → The tool installs and filters the final set
  → Skills installed to .agents/skills/
  → OpenCode discovers them automatically

Examples of valid replies after detection:

install 1, 3, 4
keep vitest, typescript-advanced-types, accessibility
all except 2

🚀 Installation

Quick path

1. Setup once

npx opencode-autoskills setup

This registers the /autoskills command globally (~/.config/opencode/commands/). It also adds opencode-autoskills to your global OpenCode plugin array (~/.config/opencode/opencode.json) so the custom tool is available.

For per-project setup:

npx opencode-autoskills setup --local

2. Use it

Open OpenCode in any project and type:

/autoskills

Or just tell the AI:

install skills for this project

When the tool shows the list, reply in either of these styles:

keep 1, 3, 4, 6
keep vitest, accessibility, seo

📦 Distribution

  • Landing page: https://encode90.github.io/opencode-autoskills/
  • npm: opencode-autoskills
  • GitHub: this repo

Requirements

  • Node.js >= 22.6.0
  • OpenCode with the @opencode-ai/plugin peer dependency

🛡️ Security

  • No postinstall scripts — setup is always explicit, never automatic
  • No runtime dependencies — only @opencode-ai/plugin as a peer dependency
  • No file system writes outside intended paths — path traversal prevention in setup CLI
  • Explicit OpenCode registration — setup writes the command file and adds the plugin to opencode.json, or a local plugin wrapper for project mode
  • Real execution flow — the custom tool performs detection and installation instead of returning a prompt-only instruction

📁 Project structure

opencode-autoskills/
├── src/
│   ├── index.ts          # Plugin entry → exports autoskills tool
│   ├── tool.ts           # Tool definition
│   ├── version.ts        # Node version validation
│   └── cli.ts            # Setup CLI logic
├── bin/
│   └── setup.mjs         # CLI entry point
├── tests/
│   ├── tool.test.ts
│   └── setup-cli.test.ts
└── .github/workflows/
    └── ci.yml            # CI matrix: Win + Mac + Linux

🙏 Credit

This project integrates autoskills into OpenCode. That upstream project provides the detection and installation engine; opencode-autoskills focuses on the OpenCode workflow, project-local setup, and time-saving selection flow.


📄 License

CC BY-NC 4.0 — same license as autoskills.