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

orchestrater-skill

v0.2.0

Published

Generic Orca multi-agent collaboration skill — a thin policy layer on top of Orca orchestration, installed via a one-shot scaffolder into any compatible skill directory.

Readme

orchestrater

orchestrater 是一个基于 Orca 的本地多智能体编排 skill。v0.2 将配置校验、terminal 选择和写任务验收收敛为无第三方依赖的 Node CLI;Claude Code 与 Codex 的 skill 仅负责用户确认、Orca task/gate 和结果汇总。

保证与边界

  • 写任务只能在干净的当前 worktree 中开始,并且同一时刻只允许一个已派发的写任务。
  • 每个写任务都必须声明非空 allowedPaths 和结构化 verification command/args。
  • dispatch 前保存 baseline 到 Orca task result;完成前校验 Git 可见的改动范围和 verification exit code。
  • duplicate、stale 或不可写 terminal 都是 blocker,绝不按 title 猜测选择。
  • 这是可审计 policy,不是 OS 文件沙箱。需要强制隔离时应使用独立 worktree 或容器。

安装

需要 Node.js >=18、Orca CLI,以及目标宿主的 skill 支持。

npx orchestrater-skill --host claude
npx orchestrater-skill --host codex

默认目标分别为 ~/.claude/skills/orchestrater~/.codex/skills/orchestrater。目标目录已存在时安装失败;确认替换时才使用:

npx orchestrater-skill --host codex --force

自定义目录必须同时提供 ORCHESTRATER_SKILL_DIR--allow-custom-destination。安装器拒绝 symlink 与未授权目录;--force 只会替换标准或已显式授权的目标。

配置

目标项目使用 .orchestrater/config.json 保存长期角色策略。v2 示例:

{
  "version": 2,
  "coordinator": { "mode": "current-session" },
  "defaults": { "worktree": "active", "strategy": "plan-first", "autoCreateTerminals": true, "onMissingRole": "ask", "maxConcurrentReadWorkers": 2 },
  "permissions": { "writeModel": "single-writer", "allowParallelWrites": false, "defaultWriteRole": "implementation" },
  "roles": [
    { "name": "implementation", "agent": "codex", "command": "codex", "terminalTitle": "orchestrater:implementation", "session": "dedicated", "writeAccess": true, "responsibilities": ["implement"] },
    { "name": "review", "agent": "claude", "command": "claude", "terminalTitle": "orchestrater:review", "session": "dedicated", "writeAccess": false, "responsibilities": ["review"] }
  ]
}

配置不存在时,先预览默认配置;确认角色与命令后才写入:

node ~/.claude/skills/orchestrater/src/cli.mjs config init
node ~/.claude/skills/orchestrater/src/cli.mjs config init --write

旧版 v1 不会自动改写。先检查:

node ~/.claude/skills/orchestrater/src/cli.mjs config validate
node ~/.claude/skills/orchestrater/src/cli.mjs config migrate

审阅迁移结果后,明确允许时才执行 config migrate --write。迁移会原子写入,并将旧配置保留为同目录 config.v1.bak

写任务流程

写入范围是每个任务的必填输入,而不是角色的默认权限:

{
  "allowedPaths": ["src/**", "test/**"],
  "verification": { "command": "npm", "args": ["test"] }
}

coordinator 先展示该范围并取得确认,然后创建带 scope hash 的 Orca task、运行 preflightevidence capture、重新解析 terminal 后才 dispatch。收到 worker_done 后运行 evidence verify;verification 前后任一越界文件、缺 baseline、hash 不匹配或非零验证退出码都必须创建 Orca conflict gate,不能 completed。

preflight 还会执行 Orca capability probe;当前 CLI 缺少 task result、dispatch 或 terminal 所需选项时,返回 E_RUNTIME_ORCA_INCOMPATIBLE,不会创建 task。

开发与验证

npm test
npm pack --dry-run
python3 /Users/sivan/.codex/skills/.system/skill-creator/scripts/quick_validate.py .

Codex 的插件源位于 hosts/orchestrater-codex/;Claude Code 的插件源位于 hosts/claude/。它们共享根目录 skill 与 Node runtime,不各自复制编排逻辑。