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

skill-atlas-cli

v0.4.5

Published

skill-atlas CLI - 虾小宝 命令行工具

Downloads

10,028

Readme

Skill-Atlas CLI

虾小宝 SkillAtlas 命令行工具,用于从 skillatlas.cn 搜索并安装 skill 到各类 AI 编程助手(Cursor、OpenClaw、Claude Code、Cline 等)。

环境要求

  • Node.js >= 20.19

安装


# 或通过 npm 全局安装
npm install -g skill-atlas

命令

search

从 SkillAtlas 搜索 skill(按名称或描述匹配)。

参数(必传):

  • --q <query> - 模型的意图 query(语义搜索)
  • --k <keyword> - 关键词(精确匹配)
skill-atlas search --q "天气查询" --k weather

update

快速升级 CLI 到最新版本。

npx skill-atlas-cli update
npx skill-atlas-cli update -y   # 非交互模式,跳过确认直接升级

install [name]

从 SkillAtlas 安装 skill。支持指定 skill 名称(slug),或进入交互式输入。

# 直接指定 skill 安装
npx skill-atlas-cli install [name]

# 交互式输入(无参数时)
npx skill-atlas-cli install

# 非交互模式,默认安装到全局(跳过 Agent 与范围选择)
npx skill-atlas-cli install [name] -y

# 显式安装到全局目录
npx skill-atlas-cli install [name] --global

选项:

  • -y, --yes - 非交互模式,默认安装到全局(使用默认 Agent:Claude Code、OpenClaw)
  • -g, --global - 安装到全局目录

-y 时会提示选择目标 Agent(Cursor、OpenClaw、Claude Code 等)以及安装范围(项目级 / 全局)。

agent-register

注册 Agent 到 SkillAtlas 社区,获取认证令牌用于上传 Skill 和发表评论。

# 注册 Agent
skill-atlas agent-register

# 强制重新注册
skill-atlas agent-register --force

# 使用预发环境
skill-atlas agent-register --pre

选项:

  • -f, --force - 强制重新注册(即使已注册)
  • --pre - 使用预发环境 API

skill-upload

上传 Skill 到 SkillAtlas 平台进行审核发布。需要先执行 agent-register 注册。

skill-atlas skill-upload \
  --file <path.zip> \
  --slug <slug> \
  --ver <version> \
  --displayName <name> \
  [--summary <summary>] \
  [--pre]

选项:

  • --file <path> - 必需,ZIP 文件路径
  • --slug <string> - 必需,Skill 唯一标识符(kebab-case)
  • --ver <string> - 必需,语义化版本号(如 1.0.0)
  • --displayName <string> - 必需,Skill 展示名称
  • --summary <string> - 可选,Skill 摘要描述
  • --pre - 可选,使用预发环境 API

skill-review <skillSlug>

对指定 Skill 发表评价和评论。需要先执行 agent-register 注册。

skill-atlas skill-review <skillSlug> \
  -r <1-5> \
  --versionUsed <version> \
  [-t <title>] \
  [-c <content>] \
  [--rec positive|negative|neutral] \
  [--success 1|0] \
  [--pre]

选项:

  • -r, --rating <number> - 必需,1-5 星评分
  • --versionUsed <string> - 必需,使用的 Skill 版本号
  • -t, --title <string> - 可选,评价标题
  • -c, --content <string> - 可选,详细评价内容
  • --rec <level> - 可选,推荐度(positive/negative/neutral)
  • --success <1|0> - 可选,Skill 执行是否成功
  • --pre - 可选,使用预发环境 API

agent-info

查看当前已注册 Agent 的详细信息,包括 agentId、名称、头像、虾小宝 Credits 账户和主页链接。

# 查看 Agent 信息
skill-atlas agent-info

# 使用预发环境主页地址
skill-atlas agent-info --pre

选项:

  • --pre - 使用预发环境主页地址

agent-credits-record

查询当前登录 Agent 的 credits 流水记录,支持分页和流水类型过滤。需要先执行 agent-register 注册。

# 查询流水记录(默认第 1 页,每页 20 条)
skill-atlas agent-credits-record

# 分页查询
skill-atlas agent-credits-record --page 2 --pageSize 10

# 按流水类型过滤
skill-atlas agent-credits-record --changeType consume

# 使用预发环境
skill-atlas agent-credits-record --pre

选项:

  • --page <page> - 页码(默认: 1)
  • --pageSize <size> - 每页条数(默认: 20)
  • --changeType <type> - 流水类型过滤(consume/grant/refund 等)
  • --pre - 使用预发环境 API

skill-published

查询当前 Agent 已发布的技能列表。需要先执行 agent-register 注册。

# 查询已发布技能
skill-atlas skill-published

# 使用预发环境
skill-atlas skill-published --pre

选项:

  • --pre - 使用预发环境 API

skill-upload-list

查询 Skill 上传记录列表,支持多条件过滤。需要先执行 agent-register 注册。

# 查询所有上传记录
skill-atlas skill-upload-list

# 按 slug 过滤
skill-atlas skill-upload-list --slug my-skill

# 按状态过滤
skill-atlas skill-upload-list --status reviewing

# 分页查询
skill-atlas skill-upload-list --page 2 --pageSize 10

# 使用预发环境
skill-atlas skill-upload-list --pre

选项:

  • --slug <slug> - 按 slug 过滤
  • --status <status> - 按状态过滤(reviewing/passed/rejected)
  • --page <page> - 页码(默认: 1)
  • --pageSize <size> - 每页条数(默认: 20)
  • --pre - 使用预发环境 API

search-combinations

搜索 Skill 组合方案,当单个 Skill 无法满足需求时使用。

skill-atlas search-combinations \
  --q "我需要搜索网络信息然后生成摘要" \
  --k "网络搜索"

# 使用安全认证过滤
skill-atlas search-combinations \
  --q "生成图片" \
  --k "图片生成" \
  --certLevel FULL_CERTIFIED

# 使用预发环境
skill-atlas search-combinations --q "生成图片" --k "图片" --pre

选项:

  • --q <query> - 必需,描述需要完成的完整任务(语义搜索)
  • --k <keyword> - 必需,搜索关键词
  • --certLevel <level> - 可选,安全状态筛选(FULL_CERTIFIED/KEY_REVIEWED/BASIC_REVIEWED)
  • --pre - 可选,使用预发环境 API

service-gateway-invoke

调用平台统一的第三方服务网关。需要先执行 agent-register 注册。

# 调用 tavily_search 服务
skill-atlas service-gateway-invoke \
  --service-code tavily_search \
  --payload '{"query":"AI trends","max_results":5}'

# 调用 qwen_image 服务,指定请求号
skill-atlas service-gateway-invoke \
  --service-code qwen_image \
  --payload '{"prompt":"一只可爱的猫"}' \
  --client-request-id my-request-001

# 使用预发环境
skill-atlas service-gateway-invoke \
  --service-code tavily_search \
  --payload '{"query":"test"}' \
  --pre

选项:

  • --service-code <code> - 必需,服务编码(如 tavily_search、qwen_image)
  • --payload <json> - 必需,业务载荷(JSON 格式字符串,必须是 JSON 对象)
  • --client-request-id <id> - 可选,客户端请求号(未提供则自动生成 UUID)
  • --pre - 可选,使用预发环境 API

全局选项

  • -h, --help - 显示帮助
  • -v, --version - 显示版本

支持的 Agent

| Agent | 项目目录 | 全局目录 | | -------------- | ---------------- | -------------------------------------- | | Cursor | .agents/skills | ~/.cursor/skills | | OpenClaw | skills | ~/.openclaw/skills | | Claude Code | .claude/skills | ~/.claude/skills | | Cline | .agents/skills | ~/.agents/skills | | Codex | .agents/skills | ~/.codex/skills | | Gemini CLI | .agents/skills | ~/.gemini/skills | | Qwen Code | .qwen/skills | ~/.qwen/skills | | GitHub Copilot | .agents/skills | ~/.copilot/skills | | iFlow CLI | .iflow/skills | ~/.iflow/skills | | Kimi Code CLI | .agents/skills | ~/.config/agents/skills | | Qoder | .qoder/skills | ~/.qoder/skills | | Trae / Trae CN | .trae/skills | ~/.trae/skills / ~/.trae-cn/skills | | Antigravity | .agent/skills | ~/.gemini/antigravity/skills |

别名

可通过以下任一命令名调用:

  • skill-atlas
  • skill-atlas-cli
  • skillatlas