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

@openclaw-soul/cli

v0.0.10

Published

CLI for OpenClaw Soul — share and apply OpenClaw workspace packs (ocs)

Readme

@openclaw-soul/cli

CLI for OpenClaw Soul — register, publish, and apply OpenClaw workspace packs(全局命令 ocs)。

命令一览

| 层级 | 命令 | 用途 | |------|------|------| | 主流程 | login | 浏览器 device flow 登录,写入 OPENCLAW_SOUL_TOKEN | | | publish | 将本机 workspace 打成 zip 并上传到 registry | | | apply <handle>/<slug> | 从 registry 下载 zip、解压到 ~/.openclaw/workspace-<slug>,并写入 openclaw.jsonagents.defaults.workspace(已有目录/配置会先备份为 .bak.*) | | 备份 / 恢复 | archive-directory | 将目录 renamedir.bak.<时间戳>(不删除) | | | backup-openclaw-config | 复制 openclaw.jsonopenclaw.json.bak.<时间戳> | | | restore-openclaw-config | 从 .bak.* 恢复(--list / --latest / --from;恢复前会先备份当前文件) |

运行 ocs --help 可查看各子命令的选项(子命令已按字母排序)。

Install

Run npx @openclaw-soul/cli --help(全局安装后也可用 ocs --help)。常用:npx @openclaw-soul/cli loginnpx @openclaw-soul/cli publishnpx @openclaw-soul/cli apply <handle>/<slug>(全局安装时等价于 ocs login 等)。

Registry URL:在 loadCliEnv() 之后若仍无 OPENCLAW_SOUL_API,默认连线上 https://openclaw-soul.basilfield.comconstants.ts)。自建 registry 请设环境变量或 --api

在本仓库开发:将根目录 .env.cli.example 复制为 .env.cli,并设置 OPENCLAW_SOUL_API 指向本地站点(示例为 http://localhost:3000);未配置时 CLI 与 CI 一样默认连线上。

Docs

Development

From the repo root, use pnpm run ocs -- …(见 docs/DEVELOPMENT.md)。

测试:在 packages/cli 下执行 pnpm test。集成测试使用临时 HOME 与临时 cwd,不写入本机 ~/.openclawdownloadToFile / extractZip 在同进程内测,避免子进程加载 .env.cli 与代理环境导致不稳定。