codex-subagent-kit
v0.2.1
Published
Install and manage Codex subagent catalogs, templates, and TOML definitions.
Downloads
33
Maintainers
Readme
codex-subagent-kit
codex-subagent-kit is the npm CLI package for installing and managing Codex subagent definitions, catalogs, and templates.
The current TypeScript package covers the stable command surface:
catalogcatalog synccatalog importtemplate initinstalldoctorusagetui- bare command entrypoint for the install-first interactive flow
This package is the active source of truth for the product and the npm release target.
Quick Start
Run the published CLI directly:
npx codex-subagent-kitThat bare command opens the install-first TUI.
If you want one quick non-interactive npm check:
npx codex-subagent-kit install \
--scope project \
--project-root /tmp/codex-subagent-kit-demo \
--agents reviewer,code-mapper \
--validate
npx codex-subagent-kit usage \
--scope project \
--project-root /tmp/codex-subagent-kit-demo \
--task "Review the failing auth flow"From the repository root:
npm install
npm run build:ts
node packages/codex-subagent-kit/dist/cli.jsLocal Development
From the repository root:
npm install
npm run test:ts
npm run typecheck:ts
npm run build:ts
npm run smoke:ts:consumer
node packages/codex-subagent-kit/dist/cli.js --help
node packages/codex-subagent-kit/dist/cli.jsStable Commands
Browse the VoltAgent-backed built-in snapshot and any injected catalogs:
npx codex-subagent-kit catalogRefresh a project-local synced source root from a local clone or from VoltAgent upstream:
npx codex-subagent-kit catalog sync --scope project --project-root /tmp/example --source-root /tmp/awesome-codex-subagents
npx codex-subagent-kit catalog sync --scope project --project-root /tmp/exampleImport external awesome-style categories/ content into the project catalog:
npx codex-subagent-kit catalog import \
--scope project \
--project-root /tmp/example \
--catalog-root /tmp/categories \
--agents custom-helperInstall project-scoped agents and validate them immediately:
npx codex-subagent-kit install \
--scope project \
--project-root /tmp/example \
--agents reviewer,code-mapper \
--validateUse doctor if you want to re-check the generated files later:
npx codex-subagent-kit doctor --scope project --project-root /tmp/exampleRender a Codex starter prompt from the installed agents:
npx codex-subagent-kit usage \
--scope project \
--project-root /tmp/example \
--task "Review the failing auth flow"Common Codex-side prompts:
Use reviewer to review the current changes for bugs, regressions, and missing tests.Use code-mapper to map the auth flow before we change it.
Packaging
The repository includes a dry-run packaging command:
npm run pack:ts
npm run smoke:ts:consumerSee the repository-level notes in docs/TYPESCRIPT_PORT.md for the final migration summary and release readiness.
