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-script

v2.0.2

Published

Interactive skills toolkit CLI

Downloads

1,528

Readme

skills-script

交互式技能工具 CLI。进入即是一块状态看板:Claude / Codex 当前用的是哪个端点、登录的是哪个账号,一眼看全。

运行

npx skills-script

状态看板(交互主界面)

无参数运行进入主看板,展示全局唯一的三项状态 + 当前目录:

skills-script                    v2.0.0
════════════════════════════════════════
 Claude 端点   ● 中转A · drhknode…com
 Codex  端点   ● 中转A · drhknode…com
 登录账号      [email protected]
 当前目录      ~/code/foo   ⚠ 本目录有项目级覆盖 → …
════════════════════════════════════════
❯ 启动 Claude       显示当前端点 → 确认/切换 → 进入
  切换端点          Claude / Codex · base URL+key 共用
  项目覆盖一览      校对各项目的 settings.local.json
  切换登录账号      官方登录账号备份/切换
  同步技能          软链 skills 到各平台
  退出

菜单支持多级返回:Esc / 或选择「← 返回」回上一层;主看板再返回即退出;动作完成后自动回到看板,可连续操作。带颜色高亮(NO_COLOR 可关闭)。

五个能力

  1. 启动 Claude(托管启动):先显示当前端点 → ✓ 就用它 / ⇄ 切换 / ○ 官方登录 → 选定后写入全局设置并拉起一个全新的 claude 进程。因为是新进程,天然规避「换端点要重启会话」的坑。也可命令行直用:skill-script claude [claude 的参数...]
  2. 切换端点(Claude + Codex):一份端点账本(base URL + key)两平台共用。每条端点标出在 全局 / Codex 是否生效,回车即对该端点操作:应用到 Claude·全局 / Claude·当前项目 / Codex / 应用并启动 / 修改(就地改名称·URL·key)/ 删除。支持同一 base URL 挂多把 key。
  3. 项目覆盖一览:扫描 Claude Code 记录过的所有项目,列出哪些目录用 settings.local.json 覆盖了端点,用于校对分散配置、一键清除回落全局。
  4. 切换登录账号:官方登录账号(Keychain + ~/.claude.json)的备份与切换,档案隔离在 ~/.claude/auth-accounts/
  5. 同步技能:把 .agents/skills 软链到 claude / codex / gemini 或自定义路径。

Codex 接入

同一条 base URL + key,除了写 Claude 的 ~/.claude/settings.json,也能写 Codex:

  • base_url 写入 ~/.codex/config.toml 当前 provider 块(其余内容原样保留);
  • key 写入 ~/.codex/auth.jsonOPENAI_API_KEY

非交互模式

# 托管启动 claude
npx skills-script claude

# 同步技能
npx skills-script sync claude,codex,.aaa

平台:all | claude | codex | gemini | 自定义路径

工具实现文档

  • docs/tools/skills-sync.md
  • docs/tools/endpoint-switch.md
  • docs/tools/claude-auth-switch.md

发布

pnpm publish --access public