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

opencode-yaml-workflows

v0.1.20

Published

YAML workflow plugin for opencode child-session subagents

Readme

opencode-yaml-workflows

中文 | English

用 YAML 在 opencode 里运行可复用 workflow。/workflow 不只能执行已有 workflow,也可以让模型根据你的需求新建 workflow,适合把代码审查、安全审计、调研、迁移、发布检查这类多 agent 流程沉淀下来反复使用。

安装

在 opencode 配置里加入插件:

{
  "$schema": "https://opencode.ai/config.json",
  "plugin": ["opencode-yaml-workflows"]
}

修改配置后重启 opencode。

本地开发:

git clone https://github.com/dingyi222666/opencode-yaml-workflows
cd opencode-yaml-workflows
bun install
bun run build

然后在配置里引用本地路径:

{
  "$schema": "https://opencode.ai/config.json",
  "plugin": ["/absolute/path/to/opencode-yaml-workflows"]
}

使用

把 workflow 文件放到这些目录之一:

  • ~/.config/opencode/workflows/
  • .opencode/workflows/
  • .workflows/

执行已有 workflow:

/workflow review the current diff

或者让模型新建一个 workflow:

/workflow create a release-check workflow for this repo and save it

模型会自动匹配已有 workflow;如果没有合适的,也可以根据你的请求生成新的 YAML workflow。你要求保存时,它可以写入 .workflows/.opencode/workflows/,之后继续复用。

为什么是 YAML?

Claude Code Dynamic Workflows 会在运行时生成 JavaScript 编排脚本。这个插件使用 YAML,重点是让 workflow 更容易阅读、diff、提交到仓库,并和团队共享。

如果你想沉淀稳定的项目流程,比如 code review、安全审计、发布检查或反复执行的调研,用这个会更合适。

文档

开发

bun test
bun run check
bun run build
npm pack --dry-run

许可证

MIT