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-skill-search

v0.1.4

Published

BM25-powered skill search plugin for OpenCode — discover and load agent skills by keyword

Readme

English

opencode-skill-search

基於 BM25 排序的 OpenCode skill 搜尋 plugin — 用關鍵字快速找到並載入 agent skills。

為什麼需要?

OpenCode 內建的 skill tool 會把所有已安裝的 skill 清單塞進 tool description,每次請求都消耗大量 token。這個 plugin 用按需搜尋的 skill_search tool 取代它,透過 BM25 排序只在需要時找出相關的 skills。

功能

  • skill_search tool — 用關鍵字搜尋已安裝的 skills,以 BM25 相關性排序
  • System prompt 注入 — 提醒 agent 在處理非簡單任務前先搜尋可用的 skills
  • Skill tool 精簡 — 將 skill tool 描述中冗長的 skill 清單替換為指向 skill_search 的提示

安裝

opencode.json 中加入:

{
  "plugin": ["opencode-skill-search"]
}

OpenCode 下次啟動時會自動安裝。

掃描目錄

Plugin 會在以下目錄中尋找 SKILL.md 檔案:

| 目錄 | 來源 | |------|------| | <專案>/.opencode/skills/ | 專案 OpenCode | | ~/.config/opencode/skills/ | 全域 OpenCode | | <專案>/.claude/skills/ | 專案 Claude 相容 | | ~/.claude/skills/ | 全域 Claude 相容 | | <專案>/.agents/skills/ | 專案 Agent 相容 | | ~/.agents/skills/ | 全域 Agent 相容 | | ~/.cache/opencode/node_modules/superpowers/skills/ | 已安裝的 skill 套件 |

使用方式

安裝後,agent 會在執行任務前自動呼叫 skill_search。也可以直接使用:

skill_search({query: "testing"})
skill_search({query: "docker deployment", max_results: 3})

授權

MIT