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

@aaplugin/platform-codex

v1.0.0-beta.4

Published

Codex Platform integration for AAPlugin.

Readme

@aaplugin/platform-codex

Codex Platform package for aaplugin.

pnpm add -D @aaplugin/kit @aaplugin/platform-codex
import { defineConfig } from '@aaplugin/kit';
import codex from '@aaplugin/platform-codex';

export default defineConfig({
  name: 'my-plugin',
  version: '1.0.0',
  description: 'Reusable AI workflows.',
  platforms: [codex()],
});

Commands become explicit Codex Skills named <plugin-name>-<command-id>. For Plugin my-plugin, Command bootstrap is delivered at skills/my-plugin-bootstrap/SKILL.md. Arbitrary templates and per-Command overrides are intentionally not supported.

The package also exports the named codex factory, its option types, PLATFORM_ID, and PLATFORM_API_VERSION.

Codex does not currently expose a Platform Component Contribution payload. A Contributor that submits a non-empty private component contribution for Codex fails during Package finalization; it is never converted to an agent-* Skill.

Runtime and installation

The complete Plugin root is dist/codex/plugin/. Enable the Platform's marketplace option to produce dist/codex/marketplace/, then publish that directory's contents at the root of a release branch. Keep hidden manifests, Runtime, and all auxiliary files.

codex plugin marketplace add ./dist/codex/marketplace
codex plugin add my-plugin@my-marketplace

For a Git branch containing the generated Marketplace:

codex plugin marketplace add OWNER/REPO --ref release-codex
codex plugin add my-plugin@my-marketplace
codex plugin list --json

These command names were checked against Codex CLI 0.163.0; it provides plugin add, not plugin install, and has no plugin validate command.

Runtime entries are at runtime/<id>/main.mjs. Use the loaded Skill's source path to resolve ../../runtime/<id>/main.mjs, then run node with the quoted absolute file path and the business repository as cwd. Generated Command Skills and Agent guidance Skills use the same relative relationship. A Hook configuration placeholder is not a promised environment variable in an agent shell.

Node must be on PATH. AAPlugin targets Node 20 ESM without supplying Node; a product may require a newer version. Framework validation and standalone Runtime execution are distinct from an actual Codex install/discovery/session check.

An Extension can continue to deliver its own private role Markdown as Assets for explicit inline use. The absence of a native Component payload does not prohibit that delivery, and does not imply native Agent isolation.

License

MIT