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

skills-center

v0.5.0

Published

CLI for discovering, installing and publishing skills through XAgent Marketplace.

Readme

skills-center

XAgent Marketplace 的 Skill 命令行工具,用于搜索、安装和私有发布以 SKILL.md 为入口的完整 Skill 包。

快速开始

npx skills-center search testing
npx skills-center install @alice/test-generator --client codex
npx skills-center install @alice/one @bob/two --client codex,claude,qoder,kiro

同一套功能也通过 agents-center 别名包提供:

npx agents-center search testing

默认 registry 是 https://agents.nihao.cool。本地开发或私有部署可通过参数或环境变量覆盖:

export SKILLS_CENTER_REGISTRY_URL=http://127.0.0.1:8080

登录与发布

skills-center login
skills-center whoami
skills-center publish ./my-skill

login 会创建一个 5 分钟有效的一次性请求,显示 Marketplace 确认地址,并在交互终端按回车后打开浏览器。网页使用当前登录态确认授权,CLI 轮询成功后把 registry token 保存到 ~/.skills-center/config.json;配置文件权限为 0600

CI 中可以直接使用 SKILLS_CENTER_TOKEN;需要密码模式时,同时设置 SKILLS_CENTER_USERNAMESKILLS_CENTER_PASSWORD,或传入 --username--password。不要把 token 或密码写入仓库。

上传目录必须在根目录同时包含 cpm.jsonSKILL.mdentry 必须是 SKILL.md

{
  "name": "@alice/test-generator",
  "displayName": "Test Generator",
  "version": "1.0.0",
  "summary": "Generate focused tests",
  "description": "Generate focused tests for an existing codebase.",
  "author": "Alice",
  "category": "Testing",
  "tags": ["test"],
  "entry": "SKILL.md"
}

publish 必须使用已登录账号,始终把完整 ZIP 私有保存到该账号的工作区,不修改为公开,也不会提交审核。同名包提升 SemVer 后再次执行 publish,会作为新的私有版本追加;相同版本不会覆盖已有制品。

安装目标

--client codex       ${CODEX_HOME:-~/.codex}/skills/<scope>--<name>
--client chatgpt     Codex 的别名
--client claude      ${CLAUDE_CONFIG_DIR:-~/.claude}/skills/<scope>--<name>
--client cluade      claude 的拼写兼容别名
--client qoder       ~/.qoder/skills/<scope>--<name>
--client qorder      qoder 的兼容别名
--client kiro        ~/.kiro/skills/<scope>--<name>
--client vscode      ~/.copilot/skills/<scope>--<name>
--client universal   ~/.config/agents/skills/<scope>--<name>
--client project     <cwd>/.agents/skills/<scope>--<name>

多个客户端用逗号分隔。未传目标时会检查 Codex、Claude Code、Qoder 和 Kiro 的配置目录,并安装到所有已检测到的客户端;没有检测到客户端时回退到当前项目的 .agents/skills--client auto 可显式触发同一逻辑,SKILLS_CENTER_CLIENT 可设置默认值,--target <dir> 可覆盖为自定义根目录。旧的 --tool--agent-a 已移除,CLI 会明确报错并提示使用 --client

当前 Marketplace 模型只有 Skill 包,没有单独的 Agent 包类型;所有包都安装到客户端的 skills/ 目录,并要求客户端可发现的根级 SKILL.md。安装会保留 ht-skills 这类 Skill 的整个目录,包括 scripts/lib/、配置模板和其他资源。每个路径、base64 内容、单文件大小和展开总大小都会先校验;替换已有安装时使用同目录临时目录完成写入,再原子切换,失败不会破坏当前版本。

完整目录结构参考 1044197988/ht-skills。默认安装位置依据各客户端的 Skill 约定: Qoder SkillsKiro Agent SkillsClaude Code Skills,以及 Codex 自带 Skill 创建器使用的 $CODEX_HOME/skills

命令

skills-center login [--registry <url>]
skills-center logout [--registry <url>]
skills-center whoami [--registry <url>] [--json]
skills-center search <query> [--limit <n>] [--json]
skills-center info <name[@version]>
skills-center install <name[@version]> [more-skills...] [--client <clients>|--target <dir>]
skills-center publish [skill-dir]

历史 cpm 命令仍作为兼容入口发布。