codex-arsenal
v0.4.0
Published
A practical arsenal of Codex plugins, skills, prompts, workflows, and configs.
Maintainers
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 listInstall the default item set into the current project:
npx codex-arsenal init --yesInstall specific items:
npx codex-arsenal get codex-md skill-publishing-npm-packagesInstall into another directory:
npx codex-arsenal get codex-md --dir ./my-projectOn 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 listCLI
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]initopens a small selector. With--yes, it installs default items without prompting.listprints all installable manifest entries grouped by category.getinstalls one or more manifest entries by id.- Existing files are skipped by default. Add
--forceto overwrite them intentionally. codex-obsidian-bridge syncmirrors the session bootstrap, code style, and meaningful-work notes into an Obsidian vault.codex-obsidian-bridge draftwrites 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:
syncthe session initializer and style notes into a vault so the notes stay close to where they are read.drafta 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 suitelib/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 testPreview the npm package contents:
npm pack --dry-runTry the local CLI:
node bin/cli.js list
node bin/cli.js get codex-md --dir ./tmp-installPublishing
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-tagsUse minor instead of patch when adding new installable content or CLI behavior:
npm version minor
git push --follow-tagsThe 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-arsenalon npm; - keep plugin sketches under
plugins/; - create a local or team marketplace file at
.agents/plugins/marketplace.jsonwhen 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:
- Add the files under the appropriate top-level directory.
- Add a manifest entry in
lib/manifest.js. - Run
npm test. - Run
node bin/cli.js listand confirm the item appears. - Run
npm pack --dry-runand confirm the intended files are included.
License
MIT
