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

oh-my-codex-cli

v0.2.2

Published

Codex skill pack and workflow orchestration

Readme

简体中文 | English

oh-my-codex

License: MIT

面向 Codex CLI 的原生 subagent 工作流。

少调 prompt,多交付。

本项目参考 oh‑my‑claudecode,并结合 oh‑my‑opencodeeverything‑claude‑code 的经验, 但完全针对 Codex 架构重建


安装

通过 npm 全局安装

npm install -g oh-my-codex-cli
omcodex setup

通过 npm 一次性执行

npx oh-my-codex-cli setup

推荐(一键安装)

./scripts/install-codex.sh --all

强制覆盖安装:

./scripts/install-codex-force.sh --all

增量安装(跳过已存在文件):

./scripts/install-codex-incremental.sh --all

安装内容包括:

  • Skills~/.codex/skills/
  • 角色 Prompt~/.codex/prompts/
  • Rules~/.codex/rules/
  • MCP 配置 + Plan 模式~/.codex/config.toml

项目级安装

./scripts/install-codex.sh --all --project

AGENTS.md 模板(全局 + 项目)

omcodex setup(user scope)现在会自动安装全局 guidance:

  • templates/AGENTS.global.md -> ~/.codex/AGENTS.md

模板仍可用于手动覆盖或项目级配置:

  • 全局模板:templates/AGENTS.global.md -> 复制到 ~/.codex/AGENTS.md
  • 项目模板:templates/AGENTS.project.md -> 复制到 <repo>/AGENTS.md

示例:

cp templates/AGENTS.global.md ~/.codex/AGENTS.md
cp templates/AGENTS.project.md ./AGENTS.md

可选:在 ~/.codex/config.toml 增加发现配置:

project_doc_fallback_filenames = ["TEAM_GUIDE.md", ".agents.md"]
project_doc_max_bytes = 65536

安装后你能获得什么

  • 执行模式autopilot, ralph, ultrawork, ultraqa, ultrapilot, swarm, pipeline, ecomode
  • 规划与质量plan, review, analyze, tdd, code-review, security-review, build-fix, verify, eval
  • 角色 Prompt 目录architect, planner, executor(安装到 .codex/prompts/
  • 学习与上下文continuous-learning, strategic-compact, iterative-retrieval, verification-loop
  • 原生 subagent 编排:核心 skill 统一使用 spawn_agent + send_input + wait + close_agent
  • 自动技能路由omcodex route "<task>" 自动推荐最匹配的 skill(含置信度)
  • 事件驱动 team 自动推进omcodex team start "<task>" --auto 可按 notify 事件推进阶段
  • 通知扩展omcodex notify(事件驱动通知扩展,不是拦截执行)
  • 规则与守护:编码 / 安全 / 测试 / 性能 / Git 工作流
  • Plan 模式已开启(Codex 0.9+)

Codex vs Claude Code(高层对比)

| 能力 | Claude Code(oh‑my‑claudecode) | Codex(oh‑my‑codex) | |---|---|---| | Skills 工作流 | ✅ | ✅(主方式) | | 原生 subagent 执行 | ✅ | ✅ | | Plan 模式 | ⚠️ 插件驱动 | ✅ 原生(0.9+ 配置开启) | | MCP 支持 | ✅ | ✅(config.toml/CLI) |


典型使用场景

  • 快速交付功能autopilot: add OAuth login + tests
  • 持续完成模式ralph: refactor auth until tests pass
  • 高并行思考ultrawork: fix all lint + type errors
  • 质量闭环ultraqa: run tests and fix until green
  • 纯规划plan: design a scalable API for X

规则模板(Rules)

可选规则模板,复制到 .codex/rules/ 使用:

  • agents.md, coding-style.md, git-workflow.md, notify.md
  • patterns.md, performance.md, security.md, testing.md
  • dev.md, research.md, review.md

一键安装 rules:

./scripts/install-codex.sh --rules

Skill 治理

在发布或合并 skill 文档变更前,先运行治理门禁:

npm run governance:skills
npm run governance:skills:llm
npm run eval:skills

这个命令会阻断以下高风险残留:

  • 旧的 slash 命令写法(例如 Run: /verify
  • plugin 专用运行指令(例如 cc --plugin-dir
  • 旧式任务 API 示例(Task(...) 语法)

详细规则见 docs/SKILL_GOVERNANCE.md


快速开始

autopilot: build a REST API for managing tasks

文档

  • docs/CODEX.md
  • docs/ALIGNMENT.md
  • docs/NOTIFY.md

许可

MIT