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

@aipper/aiws

v0.0.16

Published

AI Workspace CLI (init/update/validate) for Claude Code / OpenCode / Codex / iFlow.

Readme

@aipper/aiws

AI Workspace CLI:把 Claude Code / OpenCode / Codex / iFlow 对齐到同一套“真值文件 + 可审计工作流”,降低规则漂移。

核心能力:

  • 初始化/更新模板:aiws init / aiws update
  • 强门禁校验:aiws validate(可选证据落盘 --stamp
  • 回滚:aiws rollback(从 .aiws/backups/ 恢复)
  • 变更工件工作流(脱离 dotfiles):aiws change ...
  • Git hooks:aiws hooks install/status
  • Codex:repo skills(推荐)+ 可选全局 skills 安装

真值来源(SSOT):@aipper/aiws-spec(模板与契约)。

安装

二选一:

  • 全局安装(推荐,适合长期使用):npm i -g @aipper/aiws
  • 临时运行(不污染全局版本):npx @aipper/aiws <command>

快速开始

在任意 git 仓库根目录:

aiws init .
aiws hooks install .

# 建议:用 change 工作流生成可审计工件并切分支
aiws change start demo-change --no-design --hooks

# 提交前门禁(并落盘证据)
aiws validate . --stamp

CLI 速查

aiws init [path] [--template <id>]
aiws update [path]
aiws validate [path] [--stamp]
aiws rollback [path] <timestamp|latest>

aiws change <list|new|start|status|next|sync|validate|archive|templates>
aiws hooks <install|status>
aiws codex <install-skills|status-skills|uninstall-skills|install-prompts|status|uninstall-prompts>

Codex(repo skills 优先)

  • aiws init . 会生成 .agents/skills/(随仓库共享),在 Codex 中可显式调用(示例):$ws-preflight / $ws-plan / $ws-dev / $ws-review / $ws-commit
  • 交付收尾(submodules+superproject 分步提交 + 安全合并):$ws-deliver
  • 收尾(安全合并回目标分支):$ws-finish(底层调用 aiws change finish,默认 fast-forward)
  • 可选:安装全局 skills 到 ~/.codex/skills/(或 $CODEX_HOME/skills):
    • aiws codex install-skills
    • aiws codex status-skills
    • aiws codex uninstall-skills
  • legacy prompts(deprecated,仅兼容):aiws codex install-prompts

证据落盘与协作

  • aiws validate --stamp 会写入:.agentdocs/tmp/aiws-validate/*.json(默认被 .gitignore 忽略)
  • $ws-review 会落盘:.agentdocs/tmp/review/codex-review.md(默认被 .gitignore 忽略)
  • 建议把“可协作/可审计”的内容放进 changes/<change-id>/(proposal/tasks/design)并提交;.agentdocs/tmp/ 作为本地缓存更稳

运行要求

  • Node.js:>= 20
  • aiws validate:需要 python3(用于执行 tools/ws_change_check.pytools/requirements_contract.py