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

codex-arsenal

v0.4.0

Published

A practical arsenal of Codex plugins, skills, prompts, workflows, and configs.

Readme

Codex-Arsenal

Practical building blocks for working with OpenAI Codex.

Codex-Arsenal is not an awesome list. It is a small, installable collection of Codex guidelines, skills, prompts, workflows, configs, and plugin sketches that can be copied into real projects.

Install

Run the CLI without installing it globally:

npx codex-arsenal list

Install the default item set into the current project:

npx codex-arsenal init --yes

Install specific items:

npx codex-arsenal get codex-md skill-publishing-npm-packages

Install into another directory:

npx codex-arsenal get codex-md --dir ./my-project

On Windows or when running from a package directory with the same name, this form is the most reliable:

npm exec --yes --package=codex-arsenal -- codex-arsenal list

CLI

codex-arsenal init [--yes] [--force] [--dir <path>]
codex-arsenal list
codex-arsenal get <id...> [--force] [--dir <path>]
codex-obsidian-bridge sync [--dir <path>] [--force]
codex-obsidian-bridge draft --title <text> --summary <text> [options]
  • init opens a small selector. With --yes, it installs default items without prompting.
  • list prints all installable manifest entries grouped by category.
  • get installs one or more manifest entries by id.
  • Existing files are skipped by default. Add --force to overwrite them intentionally.
  • codex-obsidian-bridge sync mirrors the session bootstrap, code style, and meaningful-work notes into an Obsidian vault.
  • codex-obsidian-bridge draft writes an article draft into the configured Obsidian inbox when the meaningful-work threshold is met.

The package is published on npm as codex-arsenal.

What Is Included

Behavior Guidelines

| ID | Installs | Purpose | | --- | --- | --- | | codex-md | CODEX.md | Project-local behavioral guardrails for Codex-style agents. |

Configs

| ID | Installs | Purpose | | --- | --- | --- | | config-codex | .codex/config.json | Starter Codex config. | | config-session-bootstrap | .codex/session-config.json | Session bootstrap and Obsidian bridge settings. | | config-vscode | .vscode/settings.json | VS Code settings for agent-assisted development. |

Prompts

| ID | Installs | Purpose | | --- | --- | --- | | prompt-session-bootstrap | prompts/session-bootstrap.md | Session startup instructions for Codex. | | prompt-code-style | prompts/code-style.md | Obsidian-backed code style note template. | | prompt-meaningful-work | prompts/meaningful-work.md | Criteria and template for end-of-session articles. | | prompt-solo-dev | prompts/system-prompts/solo-dev.md | Solo developer system prompt template. |

Skills

| ID | Installs | Purpose | | --- | --- | --- | | skill-debug-workflow | skills/debug-workflow/ | Reproduce, diagnose, test, and fix bugs systematically. | | skill-test-gen | skills/test-gen/ | Generate focused tests from behavior notes and function signatures. | | skill-publishing-npm-packages | skills/publishing-npm-packages/SKILL.md | Prepare, troubleshoot, and automate npm releases with Trusted Publishing. | | skill-obsidian-session-loop | skills/obsidian-session-loop/SKILL.md | Session startup, Obsidian sync, and end-of-session article drafting. |

Plugins

| ID | Installs | Purpose | | --- | --- | --- | | plugin-context-window-compressor | plugins/context-window-compressor/ | Plugin sketch for compressing long agent context into concise handoff notes. | | plugin-obsidian-codex-bridge | plugins/obsidian-codex-bridge/ | Plugin sketch for syncing Codex notes and article drafts with Obsidian. |

Obsidian Bridge

The bridge is designed around two repeatable actions:

  1. sync the session initializer and style notes into a vault so the notes stay close to where they are read.
  2. draft a session article when the configured meaningful-work criteria are met.

The default config lives in .codex/session-config.json and can be customized per project. A minimal vault layout looks like this:

Codex/
  Session-Initializer.md
  Code-Style.md
  Meaningful-Work.md
Inbox/
  Codex/

Example commands:

codex-obsidian-bridge sync --dir .
codex-obsidian-bridge open --dir . --file "Codex/Session-Initializer.md"
codex-obsidian-bridge reveal --dir . --file "Inbox/Codex/2026-06-11-refined-session-bootstrap.md"
codex-obsidian-bridge draft --dir . --title "Refined session bootstrap" --summary "Added an Obsidian bridge and session-level startup guidance." --changes "added bridge CLI, added note templates" --decisions "kept config file-based" --verification "npm test" --signals "new integration boundary, README update"

If you have an Obsidian CLI or local launcher, add obsidian.launch.open and obsidian.launch.reveal templates to .codex/session-config.json. The bridge will use those templates first and fall back to an obsidian:// launch URI if no CLI template is configured.

Workflows

| ID | Installs | Purpose | | --- | --- | --- | | workflow-solo-dev-loop | workflows/solo-dev-loop/ | A plan, code, test, commit loop for solo developers using agents. |

Repository Layout

codex-arsenal/
  bin/                  CLI entrypoint
  lib/                  manifest, installer, and fetcher
  configs/              reusable editor and agent configs
  plugins/              plugin sketches
  prompts/              system prompt templates and session notes
  skills/               reusable agent skills
  workflows/            repeatable agentic workflows
  references/           curated references and notes
  examples/             before/after examples
  test/                 Node test suite

lib/manifest.js is the source of truth for installable items. Add new content there when you want it to appear in codex-arsenal list or be installable through codex-arsenal get.

Development

Run tests:

npm test

Preview the npm package contents:

npm pack --dry-run

Try the local CLI:

node bin/cli.js list
node bin/cli.js get codex-md --dir ./tmp-install

Publishing

This repository is configured for npm Trusted Publishing through GitHub Actions.

Release flow:

npm test
npm pack --dry-run
npm version patch
git push --follow-tags

Use minor instead of patch when adding new installable content or CLI behavior:

npm version minor
git push --follow-tags

The publish workflow runs on v* tags and publishes with OIDC, so it does not require a long-lived NPM_TOKEN.

Codex Plugin Distribution

The npm package is the current public distribution channel. Codex plugin library publishing is separate from npm and currently does not expose a general public submission flow in the public docs.

For now, use one of these paths:

  • publish reusable files through codex-arsenal on npm;
  • keep plugin sketches under plugins/;
  • create a local or team marketplace file at .agents/plugins/marketplace.json when you want Codex app users to install a repo plugin from a local marketplace;
  • track OpenAI's Codex plugin documentation for an official public marketplace submission path.

See docs/codex-plugin-distribution.md for the current assessment.

Contribution Guidelines

Good additions should be:

  • useful in real projects, not just demos;
  • small enough to understand quickly;
  • documented with setup and usage notes;
  • installable through the manifest when appropriate;
  • verified with tests or a concrete manual check.

When adding a new installable item:

  1. Add the files under the appropriate top-level directory.
  2. Add a manifest entry in lib/manifest.js.
  3. Run npm test.
  4. Run node bin/cli.js list and confirm the item appears.
  5. Run npm pack --dry-run and confirm the intended files are included.

License

MIT