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

@sidleo3/skill-scan

v0.1.3

Published

Configurable skill discovery provider for DeepSeek Harness (DSH): cwd / project / ancestors / global layers plus editable parent dirs, with an install wizard to replace or coexist with dsh-skill-filesystem. Hot-pluggable — install via `dsh plugin --profil

Readme

skill-scan

DeepSeek Harness(DSH)提供的可配置技能发现提供方,用于替代固定策略的 dsh-skill-filesystem

skill-scan 不写死扫描根,而是让你开关四个扫描层级,并自由编辑「skills 的上级目录名」(在这些目录的 <根>/<名称>/skills 下扫描技能),每层可设优先级。首次打开时提供安装向导:替换(停用内置提供方)或共存

功能

| 层级 | 优先级 | 扫描路径 | |---|---|---| | cwd(会话工作目录) | 最高 | <cwd>/<上级目录>/skills | | 项目目录(最近含 .git 的祖先) | 中 — 与「上级遍历」互斥 | <项目根>/<上级目录>/skills | | 上级遍历(从 cwd 向上逐级) | 中 — 与「项目目录」互斥 | 每个祖先的 <上级目录>/skills | | 全局(用户主目录 ~) | 最低 | ~/<上级目录>/skills |

  • 可编辑上级目录 — 默认 .dsh.agents;可增删改,并拖动排序调整优先级(越靠上越优先)。
  • 互斥二选一 — 项目目录扫描与上级遍历只能开一个(UI 与宿主双重校验)。
  • 技能格式 — 目录包(<名称>/SKILL.md)与平铺 Markdown 文件(<名称>.md);解析 frontmatter 的 namedescriptionwhenToUsedisable-model-invocationuser-invocable
  • 重名裁决 — 不同名技能全部加载;同名的只保留优先级最高(rank 最小)者。
  • 即时失效 — 模型 write/edit 命中 <…>/skills/ 路径时立即刷新技能目录。
  • 可折叠插件卡片 — 设置 → 插件 → 插件配置,与内置卡片视觉一致(同一套 --dsw-alias-* token 与箭头图标)。

安装

从 npm 在线安装

dsh plugin --profile <profile> add @sidleo3/skill-scan

dsh plugin 会把参数转发给 profile 目录里的 pnpm,并自动激活声明了 dsh.bundle 的包。装完刷新 Web GUI 即可。

从本地 checkout 以 link 方式安装

git clone https://github.com/sidleo/skill-scan.git
dsh plugin --profile <profile> add link:<仓库路径>

以 git 仓库方式安装(pnpm add github:user/repo)时,需在 profile 的 pnpm-workspace.yaml 里的 allowBuilds 中加入对应的包(pnpm 10+)。

首装向导:替换 vs 共存

首次打开插件卡片时二选一:

  • 替换 — 把当前预设复制为名为 skill-scan 的用户预设,并在副本里把 skill-filesystem 那一行设为 disabled: true。原预设不动;新建会话选择 skill-scan 预设即可,同名技能按你配置的优先级裁决。完全可逆(「恢复」会删掉该副本)。
  • 共存 — 不动预设;skill-scan 只追加额外的扫描根。

为什么推荐替换:DSH 对同名技能先按再按 rank 裁决。只要内置 skill-filesystem 仍挂在预设层,同名的就会被它赢走,与你配置的 rank 无关——所以要让「重名按优先级」真正生效,必须替换

配置

所有设置都在插件卡片里(设置 → 插件 → 插件配置 → 技能扫描):

  • 四个层级开关。
  • 上级目录列表:拖动排序优先级、逐行删除。
  • 当前会话 cwd 的扫描根实时预览。
  • 调试面板:列出实际发现到的技能。
  • 保存即写回并刷新技能目录。

开源说明

本仓库是正式包形态,代码先在 DSH 动态插件(skf-1)中实测通过后迁入。src/ 是正式包源码;skill-scan-blueprint/ 保留最初的动态插件形态,作参考(host / client / wizard)。

自行发布:

pnpm install
pnpm build      # tsdown → lib/index.js + lib/client.js
npm publish

宿主端依赖 DSH 私有包(@deepseek-ai/dsh-skill@deepseek-ai/dsh-agent-presets 等)。请在能解析到这些包(npm 上以 -rc 发布)的环境中构建;本包将其声明为 peerDependencies / devDependencies

License

MIT