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

@jennie-shawn/starwork

v0.1.0-alpha.11

Published

StarWork Core、CLI、Packs 和 Agent skills,用于构建 AI 工作台。

Readme

StarWork

StarWork 是一套面向 AI Agent 的工作台协议和工具集,用来帮助用户把长期工作、跨会话协作、多项目管理和 Agent 工作流组织清楚。

它包含四个核心部分:

  • Core:定义工作台应该长什么样,包括目录结构、角色边界、状态文件和健康检查规则。
  • CLI:提供 initdoctorspawnupgradeadaptpack installmultiagent 等命令,用来创建、检查、升级、协作和扩展工作台。
  • Packs:场景模板包。当前 A 测阶段默认使用通用 Pack。
  • Skills:给 Codex 等 Agent 使用的工作流说明,让 Agent 能更可靠地帮用户设计和生成 StarWork 工作台。

当前版本处于 A 测阶段,适合测试安装流程、基础命令、工作台结构和 Agent skill 使用体验。

安装 CLI

全局安装:

npm install -g @jennie-shawn/starwork
starwork --version
starwork --help

不全局安装,直接运行:

npx @jennie-shawn/starwork --version
npx @jennie-shawn/starwork --help

安装 Skills

StarWork skills 分两类管理:

  • 系统 Skill 通过 GitHub 仓库和 skills CLI 安装到 Agent 全局环境。
  • Kit 自带 Skill 跟着工作台走,例如 Hub Kit 自带 starworkSpawn,单项目 Kit 自带 neat-freak

给 Codex 安装 StarWork 系统 Skill:

npx skills add jennie-shawn/starwork --skill starworkInit -g -a codex -y
npx skills add jennie-shawn/starwork --skill starworkDoctor -g -a codex -y
npx skills add jennie-shawn/starwork --skill starworkMultiagent -g -a codex -y

如果你只想先安装初始化助手:

npx skills add jennie-shawn/starwork --skill starworkInit -g -a codex -y

当前 skills:

  • starworkInit:帮助 Agent 判断是创建 Project 还是 Hub,选择语言,并生成友好的 starwork init 初始化方案。
  • starworkDoctor:帮助 Agent 基于 starwork doctor --json 做用户能看懂的目录逻辑诊断;可识别历史模板和 Hub-like 旧主库,用户明确要求升级时,也负责生成 starwork upgrade --blueprint 升级蓝图。
  • starworkMultiagent:帮助 Agent 把“登记当前会话为常用智能体”“管理多 Agent 分工”“登记共享输出”等请求转换成 starwork multiagent 命令组合。
  • starworkSpawn:Hub Kit 自带 Skill,帮助已有 Hub 设计 starwork spawn --blueprint 工作台定制单。
  • starworkAudit:帮助 Agent 解读 starwork audit --json,判断 Hub 旗下 Project Satellite 的健康状况,并生成保守的 starwork repair --blueprint 修复蓝图。
  • neat-freak:单项目 Kit 自带 Skill,帮助项目收尾、整理和归档。

如果你希望让 Agent 帮你完成安装,可以把 Agent 安装指南 里的提示词发给你的 Agent。

快速开始

创建一个 Project 工作台:

starwork init \
  --type project \
  --pack general \
  --language zh \
  --name "StarWork A Test" \
  --target ~/Desktop/starwork-a-test \
  --yes

检查工作台:

starwork doctor --target ~/Desktop/starwork-a-test

创建一个多项目中枢:

starwork init \
  --type hub \
  --language zh \
  --name "StarWork Hub A Test" \
  --target ~/Desktop/starwork-hub-a-test \
  --yes

从 Hub 生成一个项目:

starwork spawn \
  --hub ~/Desktop/starwork-hub-a-test \
  --name "Alpha Project" \
  --target ~/Desktop/starwork-alpha-project \
  --language zh \
  --yes

检查生成的项目:

starwork doctor --target ~/Desktop/starwork-alpha-project

从 Hub 巡检项目:

starwork audit --hub ~/Desktop/starwork-hub-a-test

CLI 能力

starwork init
starwork doctor
starwork spawn
starwork upgrade
starwork adapt
starwork pack install
starwork multiagent

当前能力:

  • init:创建单事务项目、项目工作台或多项目 Hub;交互默认推荐单事务项目。
  • doctor:检查工作台健康状态、必需文件、Pack 落地结果和 blueprint 定制结果;也会为历史模板和 Hub-like 旧主库暴露 inventory / signals 事实,交给 starworkDoctor 判断。
  • spawn:从已有 Hub 创建并登记卫星项目,支持中文或英文卫星项目目录镜像。
  • upgrade:按 starworkDoctor skill 生成的升级蓝图,把历史模板或 Hub-like 旧主库安全接入 StarWork 工作台。
  • adapt:生成 Claude Code、Cursor 等 Agent 的适配文件。
  • pack install:向兼容工作台安装支持的 Pack。
  • multiagent:为同一项目建立自定义 Agent 职责位、绑定会话,并登记跨 lane 共享输出。

仓库结构

.
├── core/       # StarWork Core 协议、Kit、Profile、Preset
├── cli/        # CLI 实现和命令规格
├── packs/      # 场景 Pack
├── skills/     # Agent skills
├── schemas/    # 结构化 schema
├── adapters/   # Agent 适配规则
├── examples/   # 示例
└── docs/       # 产品文档和 A 测指南

A 测反馈重点

请优先反馈:

  • CLI 是否能顺利安装和运行。
  • init 创建的工作台结构是否容易理解。
  • doctor 的检查结果是否能指导修复问题。
  • Hub + Satellite 工作流是否自然。
  • 系统 Skill 是否能被 Agent 正确识别和调用。
  • Hub Kit 自带的 starworkSpawn、单项目 Kit 自带的 neat-freak 是否能在对应工作台内被正确发现。

更完整的测试脚本见 A 测安装指南

开发

运行测试:

npm test

预览 npm 包内容:

npm pack --dry-run